0.057 svc.orchestrator_name

This commit is contained in:
msyu
2025-02-24 12:32:38 +03:00
parent 5ca34baa35
commit a7aaf7ae9e
3 changed files with 10 additions and 1 deletions
+1 -1
View File
@@ -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";
+3
View File
@@ -25,8 +25,11 @@
<m:field>s.svc</m:field>
<m:field>s.svc_short</m:field>
<m:field>s.code</m:field>
<m:field>s.version</m:field>
<m:field>s.orchestrator_name</m:field>
<m:field>(select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url</m:field>
<m:field formatter=#request.castToBool#>s.is_production_ready</m:field>
<m:field>s.resource_realm_type_id</m:field>
<m:field>s.descr</m:field>
<m:field>s.man</m:field>
</m:field_set>
+6
View File
@@ -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 @@
<m:field title="ID" cfSqlType="CF_SQL_INTEGER">s.svc_id</m:field>
<m:field title="Сервис">s.svc</m:field>
<m:field title="Сокращение">s.svc_short</m:field>
<m:field>s.orchestrator_name</m:field>
<m:field title="Код">s.code</m:field>
<m:field title="URL создания">(select url from svc_operation so where so.operation='create' AND so.svc_id=s.svc_id limit 1) as create_url</m:field>
<m:field formatter=#function(x){return x NEQ 0}#>s.is_production_ready</m:field>
<m:field>s.resource_realm_type_id</m:field>
<m:field>s.version</m:field>
<m:field>s.descr</m:field>
<m:field>s.man</m:field>
<m:field>to_char(s.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created</m:field>