From a7aaf7ae9e3bce8ba8477b1843010942b7e0f579 Mon Sep 17 00:00:00 2001 From: msyu Date: Mon, 24 Feb 2025 12:32:38 +0300 Subject: [PATCH] 0.057 svc.orchestrator_name --- v1/Application.cfc | 2 +- v1/resources/svc.cfc | 3 +++ v1/resources/svc_ls.cfc | 6 ++++++ 3 files changed, 10 insertions(+), 1 deletion(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index e9a1e5f..1e80368 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -51,7 +51,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="Deck API"; - variables.framework.docs.APIVersion="0.056"; + variables.framework.docs.APIVersion="0.057"; variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/resources/svc.cfc b/v1/resources/svc.cfc index 586e7bc..16875db 100644 --- a/v1/resources/svc.cfc +++ b/v1/resources/svc.cfc @@ -25,8 +25,11 @@ s.svc s.svc_short s.code + s.version + s.orchestrator_name (select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url s.is_production_ready + s.resource_realm_type_id s.descr s.man diff --git a/v1/resources/svc_ls.cfc b/v1/resources/svc_ls.cfc index 854c0ac..36eda2c 100644 --- a/v1/resources/svc_ls.cfc +++ b/v1/resources/svc_ls.cfc @@ -10,10 +10,13 @@ dt_created={prefix="s", type="date"}, dt_updated={prefix="s", type="date"}, svc_id={prefix="s", type="integer"}, + resource_realm_type_id={prefix="s", type="integer"}, is_production_ready={prefix="s", type="boolean"}, svc={prefix="s", type="string"}, svc_short={prefix="s", type="string"}, + orchestrator_name={prefix="s", type="string"}, code={prefix="s", type="string"}, + version={prefix="s", type="string"}, descr={prefix="s", type="string"}, man={prefix="s", type="string"} } @@ -58,9 +61,12 @@ s.svc_id s.svc s.svc_short + s.orchestrator_name s.code (select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url s.is_production_ready + s.resource_realm_type_id + s.version s.descr s.man to_char(s.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created