svc.isProductionReady

This commit is contained in:
msyu
2024-11-13 13:13:43 +03:00
parent 178a984e4a
commit 57913077ef
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -71,7 +71,7 @@
//variables.framework.docs={}; //variables.framework.docs={};
variables.framework.docs.APIName="Deck API"; variables.framework.docs.APIName="Deck API";
variables.framework.docs.APIVersion="0.016"; variables.framework.docs.APIVersion="0.018";
variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders = structNew();
variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location";
-1
View File
@@ -1 +0,0 @@
<cfquery>select *</cfquery>
+1 -1
View File
@@ -104,7 +104,7 @@
<m:field>sop.svc_operation_cfs_param</m:field> <m:field>sop.svc_operation_cfs_param</m:field>
<m:field>sop.label</m:field> <m:field>sop.label</m:field>
<m:field>sop.data_type</m:field> <m:field>sop.data_type</m:field>
<m:field>sop.value_list</m:field> <m:field formatter=#function(x){return listToArray(x);}#>sop.value_list</m:field>
<m:field>sop.ref_svc_id</m:field> <m:field>sop.ref_svc_id</m:field>
<m:field>sop.is_required</m:field> <m:field>sop.is_required</m:field>
<m:field>sop.default_value</m:field> <m:field>sop.default_value</m:field>
+1
View File
@@ -24,6 +24,7 @@
<m:field title="ID" cfSqlType="CF_SQL_INTEGER">s.svc_id</m:field> <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</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 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>s.is_production_ready</m:field>
<m:field title="Описание">s.descr</m:field> <m:field title="Описание">s.descr</m:field>
</m:field_set> </m:field_set>
from svc s from svc s
+3 -1
View File
@@ -10,6 +10,7 @@
dt_created={prefix="s", type="date"}, dt_created={prefix="s", type="date"},
dt_updated={prefix="s", type="date"}, dt_updated={prefix="s", type="date"},
svc_id={prefix="s", type="integer"}, svc_id={prefix="s", type="integer"},
is_production_ready={prefix="s", type="boolean"},
svc={prefix="s", type="string"} svc={prefix="s", type="string"}
} }
/> />
@@ -119,7 +120,8 @@
<m:field title="ID" cfSqlType="CF_SQL_INTEGER">s.svc_id</m:field> <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</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 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 title="Описание">s.descr</m:field> <m:field>s.is_production_ready</m:field>
<m:field>s.descr</m:field>
<m:field>to_char(s.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created</m:field> <m:field>to_char(s.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created</m:field>
<m:field>to_char(s.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated</m:field> <m:field>to_char(s.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated</m:field>
</m:field_set> </m:field_set>
+1 -1
View File
@@ -35,7 +35,7 @@
<m:field>p.svc_operation_cfs_param</m:field> <m:field>p.svc_operation_cfs_param</m:field>
<m:field>p.label</m:field> <m:field>p.label</m:field>
<m:field>p.data_type</m:field> <m:field>p.data_type</m:field>
<m:field>p.value_list</m:field> <m:field formatter=#function(x){return listToArray(x);}#>p.value_list</m:field>
<m:field cfSqlType="CF_SQL_INTEGER">p.ref_svc_id</m:field> <m:field cfSqlType="CF_SQL_INTEGER">p.ref_svc_id</m:field>
<m:field cfSqlType="CF_SQL_BIT">p.is_required</m:field> <m:field cfSqlType="CF_SQL_BIT">p.is_required</m:field>
<m:field>p.default_value</m:field> <m:field>p.default_value</m:field>