20#ifndef ORES_COMPUTE_MESSAGING_APP_VERSION_PROTOCOL_HPP
21#define ORES_COMPUTE_MESSAGING_APP_VERSION_PROTOCOL_HPP
26#include "ores.compute.api/domain/app_version.hpp"
28namespace ores::compute::messaging {
30struct list_app_versions_request {
31 using response_type =
struct list_app_versions_response;
32 static constexpr std::string_view nats_subject =
33 "compute.v1.app-versions.list";
38struct list_app_versions_response {
39 std::vector<ores::compute::domain::app_version> app_versions;
40 int total_available_count = 0;
43struct save_app_version_request {
44 using response_type =
struct save_app_version_response;
45 static constexpr std::string_view nats_subject =
46 "compute.v1.app-versions.save";
48 std::string change_reason_code;
49 std::string change_commentary;
52struct save_app_version_response {
57struct get_app_version_history_request {
58 using response_type =
struct get_app_version_history_response;
59 static constexpr std::string_view nats_subject =
60 "compute.v1.app-versions.history";
64struct get_app_version_history_response {
67 std::vector<ores::compute::domain::app_version> versions;
A versioned wrapper+engine bundle for a compute grid application.
Definition app_version.hpp:37