diff --git a/results/source-bundle.md b/results/source-bundle.md index 854fb5d..e7ead44 100644 --- a/results/source-bundle.md +++ b/results/source-bundle.md @@ -1,16 +1,13 @@ # Исходники svc-api-x -Дата сборки: 2026-04-30 +Дата сборки: 2026-05-19 -В bundle включен только прикладной слой после cleanup: корневые CFML-файлы, v1/Application.cfc, v1/lib/* и v1/resources/* без vendor Taffy и без backup-каталогов. +Прикладной слой после cleanup: v1/ без taffy и без backup-каталогов. -## health.cfm - -```cfml -``` ## v1/Application.cfc + ```cfml @@ -250,10 +247,18 @@ } return true; + + + } + + + + + @@ -758,14 +763,18 @@ ``` + ## v1/index.cfm + ```cfml this file index.cfm is a placeholder for Tomcat, it's content doesn't matter ``` + ## v1/lib/JsonSerializer.cfc + ```cfml component output = false @@ -1283,8 +1292,10 @@ component } ``` + ## v1/lib/TokenGenerator.cfc + ```cfml component output = false @@ -1345,8 +1356,10 @@ component } ``` + ## v1/lib/encodingUtils.cfc + ```cfml component { @@ -1633,8 +1646,10 @@ component { } ``` + ## v1/lib/expression_parser.cfc + ```cfml @@ -1792,8 +1807,10 @@ component { ``` + ## v1/lib/field.cfm + ```cfml  ``` + ## v1/lib/field_set.cfm + ```cfml  @@ -1926,8 +1945,10 @@ component { ``` + ## v1/lib/filter_build.cfm + ```cfml @@ -1993,14 +2014,18 @@ component { ``` + ## v1/lib/index.cfm + ```cfml index *** ``` + ## v1/lib/jwt.cfc + ```cfml component { @@ -2266,8 +2291,10 @@ component { } ``` + ## v1/lib/notifier.cfc + ```cfml ``` + ## v1/lib/order_build.cfm + ```cfml @@ -2350,8 +2379,10 @@ component { ``` + ## v1/lib/rest_api_helper.cfc + ```cfml ``` + ## v1/resources/available_resource_realms.cfc + ```cfml @@ -2907,8 +2940,10 @@ component { ``` + ## v1/resources/bookmark.cfc + ```cfml @@ -3018,8 +3053,10 @@ component { ``` + ## v1/resources/bookmark_ls.cfc + ```cfml @@ -3202,8 +3239,10 @@ component { ``` + ## v1/resources/catalog_service_ls.cfc + ```cfml @@ -3375,8 +3414,10 @@ component { ``` + ## v1/resources/catalog_service_param_ls.cfc + ```cfml @@ -3571,8 +3612,10 @@ component { ``` + ## v1/resources/err.cfc + ```cfml @@ -3586,17 +3629,16 @@ component { ``` + ## v1/resources/instance.cfc + ```cfml - - - @@ -3605,9 +3647,7 @@ component { - - select @@ -3627,7 +3667,6 @@ component { v.svc v.code v.man - e.updater_id u.login as updater_login @@ -3662,7 +3701,6 @@ component { AND a.is_enabled) where r.resource_realm_type_id=v.resource_realm_type_id) as resource_realm_cnt - from instance e left outer join specification_item i on (e.specification_item_id=i.specification_item_id) @@ -3685,16 +3723,13 @@ component { where e.instance_uid= AND s.specification_id= - - - select @@ -3704,7 +3739,6 @@ component { to_char(st.dt_state, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_state st.is_test st.instance_operation_uid::text as instance_operation_uid - st.instance_data->>'out' as out st.instance_data->>'params' as params st.instance_data->>'vault' as vault @@ -3716,13 +3750,8 @@ component { order by st.version desc limit 1 - - - - - @@ -3762,11 +3791,7 @@ component { - - (select io.operation from instance_operation io where io.instance_uid=e.instance_uid order by dt_submit desc limit 1) as current_operation ---> - select @@ -3795,17 +3820,12 @@ component { order by so.svc_operation_id - - - - - select @@ -3831,7 +3851,6 @@ component { left outer join svc_operation so on (o.operation=so.operation AND e.service_id=so.svc_id) left outer join svc_operation_cfs_param sop on (so.svc_operation_id=sop.svc_operation_id AND p.param=sop.svc_operation_cfs_param) left outer join svc s on (sop.ref_svc_id=s.svc_id) - join instance r on (p.param_value=r.instance_uid::text) left outer join specification_item si on (r.specification_item_id=si.specification_item_id) left outer join specification sp on (si.specification_id=sp.specification_id) @@ -3841,7 +3860,6 @@ component { AND sop.ref_svc_id > 0 order by sop.sort, p.param - @@ -3880,14 +3898,10 @@ component { where i.instance_uid= ) - - - - select p.svc_operation_cfs_param @@ -3911,7 +3925,6 @@ component { where svc.svc_id= AND o.operation='create' - @@ -3924,7 +3937,7 @@ component { - + @@ -3932,70 +3945,42 @@ component { - - + - - - - - - - - - - - - - - - - - - - - - - @@ -4007,42 +3992,28 @@ component { ,display_name= - ,descr= where instance_uid=; --select @@rowcount as cnt; - - - - - - - - - select count(*) as cnt from instance e @@ -4056,7 +4027,6 @@ component { "Instance is not accessible for the current user (possibly does not belong to the default specification)") ).withStatus(404)/> - select count(*) as cnt @@ -4070,7 +4040,6 @@ component { "Operation already started", "Instance deletion disabled when operation is started") ).withStatus(422)/> - select count(*) as cnt from instance_state st @@ -4082,7 +4051,6 @@ component { "Instance has a state", "Instance deletion disabled when having state") ).withStatus(422)/> - delete from instance_state @@ -4092,33 +4060,27 @@ component { delete from instance where instance_uid=; - - - - - - - - ``` + ## v1/resources/instance_default.cfc + ```cfml @@ -4173,16 +4135,16 @@ component { ``` + ## v1/resources/instance_ls.cfc + ```cfml - - } /> - - @@ -4235,21 +4195,17 @@ component { - - - - + - - - - @@ -4298,12 +4251,10 @@ component { - - - v.svc v.code v.resource_realm_type_id - e.updater_id u.login as updater_login u.shortname as updater_shortname io.operation as last_operation io.instance_operation_uid::text as last_operation_uid io.submit_result as submit_result - coalesce((io.dt_start IS NOT NULL AND io.dt_finish IS NULL AND io.submit_result='201'),false) as operation_is_in_progress coalesce((io.dt_start IS NULL AND io.submit_result='201'),false) as operation_is_pending - to_char(io.dt_start, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as operation_dt_start to_char(io.dt_finish, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as operation_dt_finish round(extract('epoch' from coalesce(io.dt_finish,CURRENT_TIMESTAMP)- io.dt_start),1) as duration - case when io.operation IN ('delete', 'suspend') AND io.is_successful then 0 /*null*/ when io.is_successful then extract('epoch' from CURRENT_TIMESTAMP - coalesce(io.dt_finish,CURRENT_TIMESTAMP)) else 0 end as uptime - to_char(io.dt_finish, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_deploy - + st.instance_state_uid::text as instance_state_uid st.is_test as is_test coalesce(st.instance_data->>'isDeleted','false') as is_deleted @@ -4363,8 +4308,6 @@ component { st.instance_data->'out'->'monitoring'->>'resourceMetrics' as monitoring_url st.instance_data->'params'->>'resourceRealm' as resource_realm to_char(st.dt_state, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_state - (case when st.instance_uid IS NULL then 'not created' when job_is_pending = 'true' then 'pending' @@ -4376,8 +4319,6 @@ component { ) as explained_status st.version - - select count(*) as cnt from ( @@ -4420,10 +4361,6 @@ component { ) inr where 1=1 - - - - select #local.fieldsToOutput#* @@ -4451,23 +4388,19 @@ component { on (e.instance_uid=io.instance_uid) where s.specification_id= - AND ( (e.display_name) ilike () OR ((coalesce(v.svc,'') ||' '|| coalesce(v.svc_short,'') ||' '|| coalesce(v.synonyms,''))) ilike () ) - ) inr where 1=1 - + order by limit #arguments.pageSize# offset #arguments.pageSize*(arguments.page-1)# - - select count(*) as cnt from instance e @@ -4476,7 +4409,6 @@ component { join contract d on (s.contract_id=d.contract_id) join contragent k on (d.contragent_id=k.contragent_id) join svc v on (e.service_id=v.svc_id) - left outer join (select ist.instance_state_uid, ist.instance_uid, ist.version, ist.dt_state, ist.is_test ,(ist.instance_data->>'isSuspended') as is_suspended ,(ist.instance_data->>'isDeleted') as is_deleted @@ -4488,52 +4420,37 @@ component { from instance_operation o join (select instance_uid, max(dt_submit) as dt_submit from instance_operation group by 1) lastv on (o.instance_uid=lastv.instance_uid AND o.dt_submit=lastv.dt_submit) ) io on (e.instance_uid=io.instance_uid) - where s.specification_id= - - - - > - - - - - - - - @@ -4543,16 +4460,11 @@ component { - - - - - insert into specification_item @@ -4570,7 +4482,6 @@ component { , ) returning specification_item_id; - insert into instance (instance_uid, display_name, service_id, specification_item_id, descr, dt_created, creator_id, dt_updated, updater_id) @@ -4587,28 +4498,21 @@ component { , ); - - - - - - - @@ -4632,20 +4536,16 @@ component { - - - select coalesce(svc_short,svc) as svc_short from svc where svc_id= - select display_name from instance e @@ -4658,7 +4558,6 @@ component { AND lower(e.display_name) like lower() AND service_id= - @@ -4669,61 +4568,15 @@ component { - - - - ``` + ## v1/resources/instance_operation.cfc + ```cfml @@ -5023,8 +4876,10 @@ offset 100 ``` + ## v1/resources/instance_operation_cfs_param.cfc + ```cfml - - - @@ -5062,7 +4913,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - @@ -5094,20 +4944,15 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - @@ -5116,7 +4961,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - @@ -5131,7 +4975,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - @@ -5139,11 +4982,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - + select p.param_value from svc_operation_cfs_param s @@ -5151,7 +4993,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where s.svc_operation_cfs_param = 'resourceRealm' AND p.instance_operation_uid = - @@ -5164,7 +5005,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In и инстанс-операцию-параметр (регулярная реляционная иерархия) хотя инстанс и операция есть в параметрах (некоторое дублирование, потому что оркестратору все передается через параметры) ---> - @@ -5177,7 +5017,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where p.svc_operation_cfs_param_id = AND r.ref_svc_id > 0 - @@ -5191,7 +5030,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In Можно сделать дополнительную фильтрацию по типу справочника (resourceRealm) ---> - @@ -5211,9 +5049,7 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In LEFT JOIN instance_cfs_param rp on (e.instance_uid=rp.instance_uid ) LEFT JOIN instance ri on (rp.instance_uid=ri.instance_uid) WHERE e.instance_uid= - UNION - SELECT i+1 AS i ,e.display_name @@ -5230,7 +5066,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In select param, param_value from r order by r.i desc - @@ -5251,9 +5086,7 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In --LEFT JOIN instance_cfs_param rp on (e.instance_uid=rp.instance_uid ) --LEFT JOIN instance ri on (rp.instance_uid=ri.instance_uid) WHERE e.instance_uid= - UNION - SELECT i+1 AS i ,e.display_name @@ -5271,17 +5104,14 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In order by r.i desc - - - @@ -5292,12 +5122,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In при этом мы ожидаем в параметрах структуру paramName:{subparamName:subparamValue} но почему не находим в сохраненных? возможно такое совпадение, что в сценарии у нас как раз надо выбрать svcId а они не ---> - - this.params[arguments.param] + this.params[arguments.param] @@ -5309,7 +5137,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where p.instance_operation_uid = AND s.svc_operation_cfs_param = - @@ -5321,24 +5148,13 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - ---> - - @@ -5347,24 +5163,18 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - @@ -5374,12 +5184,9 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - @@ -5389,39 +5196,11 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - select g.instance_state_uid, g.version, g.dt_state, g.instance_data, g.is_test, g.instance_uid @@ -5430,7 +5209,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In order by g.version desc limit 1 - @@ -5442,19 +5220,14 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - select r.resource_realm_id, r.properties from resource_realm r where r.resource_realm= - @@ -5467,17 +5240,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - @@ -5486,16 +5252,13 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select iop.instance_operation_cfs_param_uid::text as instance_operation_cfs_param_uid iop.instance_operation_uid::text as instance_operation_uid iop.svc_operation_cfs_param_id - case when sop.is_sensitive then '********' else iop.param_value end as param_value iop.note to_char(iop.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created @@ -5510,14 +5273,11 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In sop.is_hidden sop.is_disabled sop.man - sop.func sop.expression sop.nested_ref sop.state_path sop.depends_on_cfs_params - - sop.config::text as config e.service_id e.instance_uid::text as instance_uid @@ -5531,11 +5291,9 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where iop.instance_operation_cfs_param_uid= AND si.specification_id= - - - @@ -5566,43 +5323,32 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - - - - select io.dt_submit, io.submit_result @@ -5613,19 +5359,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select count(*) as cnt from instance_operation_cfs_param iop @@ -5638,26 +5371,20 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - delete from instance_operation_cfs_param where instance_operation_cfs_param_uid= - - - - - @@ -5665,7 +5392,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - update instance_operation_cfs_param set dt_created= @@ -5677,14 +5403,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - select svc_operation_cfs_param_id @@ -5694,11 +5416,8 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - @@ -5706,7 +5425,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - сформировать дескриптор - замаскировать секреты ---> - @@ -5721,7 +5439,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select sp.svc_operation_cfs_param_id @@ -5750,8 +5467,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where sp.svc_operation_cfs_param_id= order by sp.sort - - select sp.instance_operation_cfs_param_uid::text as instance_operation_cfs_param_uid @@ -5763,11 +5478,9 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where sp.instance_operation_cfs_param_uid= order by sp.sort - - - @@ -5846,21 +5556,16 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - @@ -5876,14 +5581,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - select distinct r.resource_realm, r.sort from resource_realm r @@ -5895,21 +5596,16 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In join svc s on r.resource_realm_type_id=s.resource_realm_type_id where s.svc_id= order by r.sort, r.resource_realm - + - - - - - select iop.param_value @@ -5918,15 +5614,13 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where iop.instance_operation_uid= AND sop.svc_operation_cfs_param='resourceRealm' order by 1 - + - - @@ -5944,19 +5638,15 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select properties::text from resource_realm where resource_realm='ngcloud.ru' - - - + @@ -5968,12 +5658,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - @@ -5982,27 +5670,14 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - - - - - - - - ``` + ## v1/resources/instance_operation_cfs_param_ls.cfc + ```cfml @@ -6446,18 +6121,16 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/instance_operation_cfs_subparam.cfc + ```cfml - - - - @@ -6467,9 +6140,7 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select @@ -6477,7 +6148,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ios.instance_operation_cfs_subparam ios.is_sensitive ios.note - to_char(ios.dt_created, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_created from instance_operation_cfs_subparam ios @@ -6489,45 +6159,31 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In AND ios.instance_operation_cfs_subparam= AND si.specification_id= /*tenant isolation, из конфиденциального тут заметки... может быть, имена переменных окружения*/ - - - - - - - - - - - - select count(*) as cnt from instance_operation_cfs_subparam ios @@ -6537,7 +6193,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select count(*) as cnt from instance_operation_cfs_param iop @@ -6550,40 +6205,31 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - delete from instance_operation_cfs_subparam where instance_operation_cfs_param_uid= AND instance_operation_cfs_subparam= - - - - - - - - select count(*) as cnt from instance_operation_cfs_param iop @@ -6596,7 +6242,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select count(*) as cnt from instance_operation_cfs_subparam iop @@ -6606,7 +6251,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - update instance_operation_cfs_subparam set dt_updated= @@ -6619,35 +6263,26 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - ``` + ## v1/resources/instance_operation_cfs_subparam_ls.cfc + ```cfml - - - - - - - @@ -6655,9 +6290,7 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select count(*) as cnt from instance_operation_cfs_param iop @@ -6670,7 +6303,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select count(*) as cnt from instance_operation_cfs_subparam ios @@ -6680,7 +6312,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - insert into instance_operation_cfs_subparam (instance_operation_cfs_param_uid, instance_operation_cfs_subparam, is_sensitive, note, dt_created, creator_id, dt_updated, updater_id) @@ -6696,47 +6327,36 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In , ); - - - - - - ``` + ## v1/resources/instance_operation_default.cfc + ```cfml - - - - - - - select @@ -6750,11 +6370,9 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In from svc_operation o where o.svc_operation_id= - - @@ -6776,13 +6394,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select p.svc_operation_cfs_param_id - p.svc_operation_cfs_param p.label p.data_type @@ -6806,7 +6421,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In p.man p.sort p.nested_ref - p.config::text null as nested_ref_data p.state_path @@ -6828,8 +6442,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In AND p.is_actual order by p.sort, p.svc_operation_cfs_param_id - - - @@ -6861,12 +6472,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In returnVariable="local.qCfsParam.value_list" /> - - @@ -6898,43 +6507,31 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where sp.svc_operation_cfs_param_id= order by sp.sort - - - - - - - - - ---> - - - - - - - - - - - @@ -6994,16 +6581,11 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - @@ -7011,7 +6593,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - @@ -7030,22 +6611,20 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - ``` + ## v1/resources/instance_operation_ls.cfc + ```cfml - - - - - - - - - - - @@ -7100,8 +6670,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - select @@ -7153,7 +6721,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In offset #arguments.pageSize*(arguments.page-1)# - select count(*) as cnt #local.fromClause# @@ -7161,60 +6728,43 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In s.specification_id= - select count(*) as cnt #local.fromClause# - where s.specification_id= - - - - - - - - - - - - + - select count(*) as cnt from svc_operation so @@ -7226,7 +6776,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select count(*) as cnt from instance e @@ -7240,19 +6789,12 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - insert into instance_operation @@ -7269,30 +6811,24 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In , ); - - - - - - select c.contract_id from instance e @@ -7301,7 +6837,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In join contract c on (s.contract_id=c.contract_id) where e.instance_uid= - select r.resource_realm_type_id from resource_realm r @@ -7314,7 +6849,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select r.resource_realm_id from resource_realm r @@ -7324,7 +6858,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In OR a.contract_id=0) AND a.is_enabled - @@ -7338,12 +6871,13 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ---> - ``` + ## v1/resources/instance_operation_run.cfc + ```cfml @@ -7788,37 +7322,32 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/instance_operation_validate.cfc + ```cfml - - - - - - - - - ``` + ## v1/resources/notification_ls.cfc + ```cfml @@ -7925,8 +7454,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/param_value_list.cfc + ```cfml @@ -7955,8 +7486,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/resource_realm.cfc + ```cfml @@ -8035,8 +7568,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/resource_realm_ls.cfc + ```cfml @@ -8145,8 +7680,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/resource_realm_type_ls.cfc + ```cfml @@ -8236,17 +7773,16 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/svc.cfc + ```cfml - - - @@ -8255,10 +7791,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - select @@ -8278,7 +7810,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In from svc s where svc_id= - select @@ -8291,36 +7822,28 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In from svc_operation j where j.svc_id= - - - - - - - - ``` + ## v1/resources/svc_default.cfc + ```cfml @@ -8364,18 +7887,17 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/svc_grouped_ls.cfc + ```cfml - - - - - - - - - - - + - - - select s.svc_id s.svc s.svc_short - 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 @@ -8467,87 +7974,56 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ) where 1=1 order by g.sort, g.svc_group_id - length limit---> + length limit---> - - - - - - - - - > - - - почему-то здесь работает без structCopy - - - + - - - - - - ``` + ## v1/resources/svc_ls.cfc + ```cfml - - - @@ -8578,24 +8053,17 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - - - @@ -8624,8 +8089,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - @@ -8644,21 +8107,16 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - + - - - - to_char(s.dt_updated, 'YYYY-MM-DD"T"HH24:MI:SS.FF3TZHTZM') as dt_updated (coalesce(s.svc,'') ||' '|| coalesce(s.svc_short,'') ||' '|| coalesce(s.synonyms,'')) as svc_extended_name - - - select #local.definedRecordFields#* from @@ -8727,8 +8177,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In where 1=1 order by - - select count(*) as cnt @@ -8739,45 +8187,36 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - ``` + ## v1/resources/svc_operation.cfc + ```cfml - - - @@ -8786,7 +8225,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - select @@ -8799,12 +8237,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In from svc_operation o where o.svc_operation_id= - select p.svc_operation_cfs_param_id - p.svc_operation_cfs_param p.label p.data_type @@ -8845,18 +8281,14 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In AND p.is_actual order by p.sort, p.svc_operation_cfs_param_id - - - - - - - @@ -8882,14 +8311,14 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - ``` + ## v1/resources/svc_operation_cfs_param_compute.cfc + ```cfml @@ -8965,8 +8394,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/svc_operation_cfs_subparam_compute.cfc + ```cfml @@ -9042,50 +8473,29 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In ``` + ## v1/resources/user.cfc + ```cfml - - - - - - - - - - - - select s.specification_id - c.contract_id c.contragent_id - from specification s join contract c on (s.contract_id=c.contract_id) @@ -9094,90 +8504,54 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In order by specification_id desc limit 1; - - select u.usr_id - k.contragent_id - - - from usr u left outer join contragent k on u.contragent_id=k.contragent_id where u.usr_id= - - - - - - - - - - ``` + ## v1/resources/vault_record.cfc + ```cfml - - - - - - - - - @@ -9201,16 +8575,12 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In order by st.version desc limit 1 - - - - @@ -9224,7 +8594,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - - - @@ -9300,7 +8660,6 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - @@ -9313,25 +8672,10 @@ arguments.requestArguments.specificationId=usrCustomerInfo.specificationId; //In - - - - - - - - - - ``` diff --git a/results/source-toc.md b/results/source-toc.md index eed21b9..1eb42b2 100644 --- a/results/source-toc.md +++ b/results/source-toc.md @@ -1,68 +1,55 @@ # Оглавление исходников svc-api-x -Дата сборки: 2026-04-30 +Дата сборки: 2026-05-19 + ## Прикладной слой ```text -health.cfm ........................................ 7 -v1/Application.cfc ................................ 12 -v1/index.cfm ...................................... 761 -v1/lib/JsonSerializer.cfc .......................... 767 -v1/lib/TokenGenerator.cfc .......................... 1286 -v1/lib/encodingUtils.cfc ........................... 1348 -v1/lib/expression_parser.cfc ....................... 1636 -v1/lib/field.cfm ................................... 1795 -v1/lib/field_set.cfm .............................. 1860 -v1/lib/filter_build.cfm ........................... 1929 -v1/lib/index.cfm .................................. 1996 -v1/lib/jwt.cfc .................................... 2002 -v1/lib/notifier.cfc ................................ 2269 -v1/lib/order_build.cfm ............................ 2307 -v1/lib/rest_api_helper.cfc ........................ 2353 -v1/resources/available_resource_realms.cfc .......... 2816 -v1/resources/bookmark.cfc .......................... 2910 -v1/resources/bookmark_ls.cfc ....................... 3021 -v1/resources/catalog_service_ls.cfc ................ 3205 -v1/resources/catalog_service_param_ls.cfc .......... 3378 -v1/resources/err.cfc ............................... 3574 -v1/resources/instance.cfc .......................... 3589 -v1/resources/instance_default.cfc .................. 4120 -v1/resources/instance_ls.cfc ....................... 4176 -v1/resources/instance_operation.cfc ............... 4725 -v1/resources/instance_operation_cfs_param.cfc ...... 5026 -v1/resources/instance_operation_cfs_param_ls.cfc ... 6004 -v1/resources/instance_operation_cfs_subparam.cfc ... 6449 -v1/resources/instance_operation_cfs_subparam_ls.cfc . 6626 -v1/resources/instance_operation_default.cfc ........ 6712 -v1/resources/instance_operation_ls.cfc ............. 7039 -v1/resources/instance_operation_run.cfc ............ 7345 -v1/resources/instance_operation_validate.cfc ....... 7791 -v1/resources/notification_ls.cfc ................... 7820 -v1/resources/param_value_list.cfc .................. 7928 -v1/resources/resource_realm.cfc .................... 7958 -v1/resources/resource_realm_ls.cfc ................. 8038 -v1/resources/resource_realm_type_ls.cfc ............ 8148 -v1/resources/svc.cfc ................................ 8239 -v1/resources/svc_default.cfc ........................ 8322 -v1/resources/svc_grouped_ls.cfc .................... 8367 -v1/resources/svc_ls.cfc ............................ 8541 -v1/resources/svc_operation.cfc ..................... 8770 -v1/resources/svc_operation_cfs_param_compute.cfc ... 8891 -v1/resources/svc_operation_cfs_subparam_compute.cfc . 8968 -v1/resources/user.cfc .............................. 9045 -v1/resources/vault_record.cfc ...................... 9140 -``` - -## Backup-слой, исключенный из основного bundle - -```text -отсутствует -``` - -## Исключено из bundle - -```text -v1/resources/bk/* .......................... удаленные backup-сериализаторы -v1/taffy/* ................................ vendor framework, примеры и тесты +v1/Application.cfc .................................... 8 +v1/index.cfm ........................................ 767 +v1/lib/JsonSerializer.cfc ........................... 775 +v1/lib/TokenGenerator.cfc .......................... 1296 +v1/lib/encodingUtils.cfc ........................... 1360 +v1/lib/expression_parser.cfc ....................... 1650 +v1/lib/field.cfm ................................... 1811 +v1/lib/field_set.cfm ............................... 1878 +v1/lib/filter_build.cfm ............................ 1949 +v1/lib/index.cfm ................................... 2018 +v1/lib/jwt.cfc ..................................... 2026 +v1/lib/notifier.cfc ................................ 2295 +v1/lib/order_build.cfm ............................. 2335 +v1/lib/rest_api_helper.cfc ......................... 2383 +v1/resources/available_resource_realms.cfc ......... 2848 +v1/resources/bookmark.cfc .......................... 2944 +v1/resources/bookmark_ls.cfc ....................... 3057 +v1/resources/catalog_service_ls.cfc ................ 3243 +v1/resources/catalog_service_param_ls.cfc .......... 3418 +v1/resources/err.cfc ............................... 3616 +v1/resources/instance.cfc .......................... 3633 +v1/resources/instance_default.cfc .................. 4081 +v1/resources/instance_ls.cfc ....................... 4139 +v1/resources/instance_operation.cfc ................ 4577 +v1/resources/instance_operation_cfs_param.cfc ...... 4880 +v1/resources/instance_operation_cfs_param_ls.cfc ... 5678 +v1/resources/instance_operation_cfs_subparam.cfc ... 6125 +v1/resources/instance_operation_cfs_subparam_ls.cfc . 6270 +v1/resources/instance_operation_default.cfc ........ 6338 +v1/resources/instance_operation_ls.cfc ............. 6619 +v1/resources/instance_operation_run.cfc ............ 6878 +v1/resources/instance_operation_validate.cfc ....... 7326 +v1/resources/notification_ls.cfc ................... 7348 +v1/resources/param_value_list.cfc .................. 7458 +v1/resources/resource_realm.cfc .................... 7490 +v1/resources/resource_realm_ls.cfc ................. 7572 +v1/resources/resource_realm_type_ls.cfc ............ 7684 +v1/resources/svc.cfc ............................... 7777 +v1/resources/svc_default.cfc ....................... 7844 +v1/resources/svc_grouped_ls.cfc .................... 7891 +v1/resources/svc_ls.cfc ............................ 8018 +v1/resources/svc_operation.cfc ..................... 8211 +v1/resources/svc_operation_cfs_param_compute.cfc ... 8319 +v1/resources/svc_operation_cfs_subparam_compute.cfc . 8398 +v1/resources/user.cfc .............................. 8477 +v1/resources/vault_record.cfc ...................... 8533 ```