From f3954bfd7a8a932790221848a84491466e1df9d7 Mon Sep 17 00:00:00 2001 From: msyu Date: Wed, 27 Aug 2025 12:25:54 +0300 Subject: [PATCH] 129 user-agent --- v1/Application.cfc | 10 ++++++---- v1/resources/bk/test.cfc | 1 + v1/resources/instance.cfc | 3 +++ v1/resources/instance_operation_run.cfc | 1 + 4 files changed, 11 insertions(+), 4 deletions(-) diff --git a/v1/Application.cfc b/v1/Application.cfc index ff39b6c..faea56c 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.128"; /*$ git config --global --unset user.password*/ + variables.framework.docs.APIVersion="0.129"; /*$ git config --global --unset user.password*/ variables.framework.globalHeaders = structNew(); @@ -62,7 +62,8 @@ request.UNDEFINED_USR_ID=-1; request.ANONYMOUS_USR_ID=2; - request.GUEST_USR_ID=3 + request.GUEST_USR_ID=3; + request.USER_AGENT="#variables.framework.docs.APIName# #variables.framework.docs.APIVersion# stand:#this.getStand()#"; //////////////////////////////////////////////////////// request.ORCHESTRATOR_AUTH = createObject("java", "java.lang.System").getEnv("ORCHESTRATOR_AUTH"); @@ -108,7 +109,7 @@ - + @@ -142,6 +143,7 @@ + select value as stand from config diff --git a/v1/resources/bk/test.cfc b/v1/resources/bk/test.cfc index 8f361fb..f30cfae 100644 --- a/v1/resources/bk/test.cfc +++ b/v1/resources/bk/test.cfc @@ -30,6 +30,7 @@ > + @@ -306,6 +308,7 @@ result="cred" > + diff --git a/v1/resources/instance_operation_run.cfc b/v1/resources/instance_operation_run.cfc index cbad7da..352c52c 100644 --- a/v1/resources/instance_operation_run.cfc +++ b/v1/resources/instance_operation_run.cfc @@ -217,6 +217,7 @@ > +