diff --git a/v1/Application.cfc b/v1/Application.cfc index 7124b1b..765b7f7 100644 --- a/v1/Application.cfc +++ b/v1/Application.cfc @@ -71,7 +71,7 @@ //variables.framework.docs={}; variables.framework.docs.APIName="Deck API"; - variables.framework.docs.APIVersion="0.027"; + variables.framework.docs.APIVersion="0.028"; variables.framework.globalHeaders = structNew(); variables.framework.globalHeaders["Access-Control-Expose-Headers"] = "Location"; diff --git a/v1/lib/rest_api_helper.cfc b/v1/lib/rest_api_helper.cfc index 3a37616..0ef242a 100644 --- a/v1/lib/rest_api_helper.cfc +++ b/v1/lib/rest_api_helper.cfc @@ -3,6 +3,7 @@ output="true" hint="Static helper methods for ReST API"> + - + diff --git a/v1/resources/instance_operation_run.cfc b/v1/resources/instance_operation_run.cfc index 1ed2db3..6136bdd 100644 --- a/v1/resources/instance_operation_run.cfc +++ b/v1/resources/instance_operation_run.cfc @@ -10,33 +10,50 @@ - + + (валидируем CFS параметры при создании, а не сейчас) + Проверить, что операция уже не выполняется + ---> - + + + + select io.dt_submit, io.dt_finish, io.submit_result + from instance_operation io + where io.instance_operation_uid= + + + + + + + + + + + - - + + + + @@ -129,21 +146,36 @@ where instance_operation_uid= - - - - - - - - + + + + + + + + + + + + + + + + + + + + + + update instance_operation