20#ifndef ORES_COMPUTE_REPOSITORY_APP_VERSION_MAPPER_HPP
21#define ORES_COMPUTE_REPOSITORY_APP_VERSION_MAPPER_HPP
23#include "ores.compute.api/domain/app_version.hpp"
24#include "ores.compute.core/repository/app_version_entity.hpp"
25#include "ores.logging/make_logger.hpp"
27namespace ores::compute::repository {
34 inline static std::string_view logger_name =
35 "ores.compute.repository.app_version_mapper";
37 [[nodiscard]]
static auto& lg() {
39 static auto instance = make_logger(logger_name);
46 static std::vector<domain::app_version>
47 map(
const std::vector<app_version_entity>& v);
48 static std::vector<app_version_entity>
49 map(
const std::vector<domain::app_version>& v);
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
Represents a app version in the database.
Definition app_version_entity.hpp:34
Maps app_version domain entities to data storage layer and vice-versa.
Definition app_version_mapper.hpp:32