20#ifndef ORES_COMPUTE_SERVICE_APP_VERSION_SERVICE_HPP
21#define ORES_COMPUTE_SERVICE_APP_VERSION_SERVICE_HPP
26#include "ores.logging/make_logger.hpp"
27#include "ores.database/domain/context.hpp"
28#include "ores.compute.api/domain/app_version.hpp"
29#include "ores.compute.core/repository/app_version_repository.hpp"
31namespace ores::compute::service {
38 inline static std::string_view logger_name =
39 "ores.compute.service.app_version_service";
41 [[nodiscard]]
static auto& lg() {
43 static auto instance = make_logger(logger_name);
52 std::vector<domain::app_version> list();
54 std::optional<domain::app_version> find(
const std::string&
id);
58 std::vector<domain::app_version> history(
const std::string&
id);
Implements logging infrastructure for ORE Studio.
Definition boost_severity.hpp:28
A versioned wrapper+engine bundle for a compute grid application.
Definition app_version.hpp:37
Reads and writes app versions to data storage.
Definition app_version_repository.hpp:35
Service for managing compute application versions.
Definition app_version_service.hpp:36
Context for the operations on a postgres database.
Definition context.hpp:47