aboutsummaryrefslogtreecommitdiffstats
path: root/platform-logic/restapi-templates/src/main/xml
diff options
context:
space:
mode:
authorTimoney, Dan (dt5972) <dtimoney@att.com>2019-10-01 15:14:29 -0400
committerDan Timoney <dtimoney@att.com>2019-10-02 18:50:39 +0000
commit13484bb7b625cca8cd0cb1f54200a3157216b4f3 (patch)
tree8161df45574f69d6dcc113da8fdb9f343b27f028 /platform-logic/restapi-templates/src/main/xml
parent8d95a6e19c20ba778fe9c5c040da31f78e977077 (diff)
Fixes for async response to SO
1) Wrong user name configured for SO interface 2) Accept header needs to be set to 'text/plain' 3) Content-Type needs to be explicitly set to 'application/json' 4) Template is missing outer "input" tag 5) Message needs to be in XML format, not JSON Change-Id: Icd06d12ff8576d2dd560ea452d0a14c3de643a00 Issue-ID: SDNC-927 Signed-off-by: Timoney, Dan (dt5972) <dtimoney@att.com> Former-commit-id: 4b19faedfa92b30c8d292d9a5f274c812764a99c
Diffstat (limited to 'platform-logic/restapi-templates/src/main/xml')
-rw-r--r--platform-logic/restapi-templates/src/main/xml/so-response.xml10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform-logic/restapi-templates/src/main/xml/so-response.xml b/platform-logic/restapi-templates/src/main/xml/so-response.xml
new file mode 100644
index 00000000..0913c1ba
--- /dev/null
+++ b/platform-logic/restapi-templates/src/main/xml/so-response.xml
@@ -0,0 +1,10 @@
+<input>
+ <service-information>
+ <service-instance-id>${so.service-instance-id}</service-instance-id>
+ <service-type>${so.service-type}</service-type>
+ </service-information>
+ <svc-request-id>${so.svc-request-id}</svc-request-id>
+ <response-code>${so.response-code}</response-code>
+ <response-message>${so.response-message}</response-message>
+ <ack-final-indicator>${so.ack-final-indicator}</ack-final-indicator>
+</input>