summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads
diff options
context:
space:
mode:
Diffstat (limited to 'cds-regression-test/test/resource-resolution/force-resolution/expected-payloads')
-rw-r--r--cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-1.json31
-rw-r--r--cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-2.json31
2 files changed, 62 insertions, 0 deletions
diff --git a/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-1.json b/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-1.json
new file mode 100644
index 0000000..efb6282
--- /dev/null
+++ b/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-1.json
@@ -0,0 +1,31 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-05-07T22:18:06.901Z",
+ "originatorId": "System",
+ "requestId": "1234",
+ "subRequestId": "1234-12234",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-resource-resolution",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resource-resolution",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-05-07T22:18:22.289Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "resource-resolution-response": {
+ "meshed-template": {
+ "helloworld-velocity": "{\n \"default\": \"ok\",\n \"input\": \"ok\",\n \"script\": {\n \"python\": \"ok\",\n \"kotlin\": \"ok\"\n },\n \"db\": \"ok\",\n \"rest\": {\n \"GET\": \"get:ok\",\n \"POST\": \"post:ok\",\n \"PUT\": \"put:ok\",\n \"PATCH\": \"patch:ok\",\n \"DELETE\": \"delete:ok\"\n }\n}\n",
+ "helloworld-jinja": "{\n \"default\": \"ok\",\n \"input\": \"ok\",\n \"script\": {\n \"python\": \"ok\",\n \"kotlin\": {\n \"base\": \"ok\"\n \"from suspend function\": \"ok\"\n }\n },\n \"db\": \"ok\",\n \"rest\": {\n \"GET\": \"get:ok\",\n \"POST\": \"post:ok\",\n \"PUT\": \"put:ok\",\n \"PATCH\": \"patch:ok\",\n \"DELETE\": \"delete:ok\"\n }\n}\n"
+ }
+ }
+ }
+}
diff --git a/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-2.json b/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-2.json
new file mode 100644
index 0000000..5d52426
--- /dev/null
+++ b/cds-regression-test/test/resource-resolution/force-resolution/expected-payloads/expected-response-2.json
@@ -0,0 +1,31 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-05-07T22:18:06.901Z",
+ "originatorId": "System",
+ "requestId": "1234",
+ "subRequestId": "1234-12234",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-resource-resolution",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resource-resolution",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-05-07T22:18:22.289Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "resource-resolution-response": {
+ "meshed-template": {
+ "helloworld-velocity": "{\n \"default\": \"ok\",\n \"input\": \"ok-ok\",\n \"script\": {\n \"python\": \"ok\",\n \"kotlin\": \"ok\"\n },\n \"db\": \"ok\",\n \"rest\": {\n \"GET\": \"get:ok\",\n \"POST\": \"post:ok\",\n \"PUT\": \"put:ok\",\n \"PATCH\": \"patch:ok\",\n \"DELETE\": \"delete:ok\"\n }\n}\n",
+ "helloworld-jinja": "{\n \"default\": \"ok\",\n \"input\": \"ok-ok\",\n \"script\": {\n \"python\": \"ok\",\n \"kotlin\": {\n \"base\": \"ok\"\n \"from suspend function\": \"ok\"\n }\n },\n \"db\": \"ok\",\n \"rest\": {\n \"GET\": \"get:ok\",\n \"POST\": \"post:ok\",\n \"PUT\": \"put:ok\",\n \"PATCH\": \"patch:ok\",\n \"DELETE\": \"delete:ok\"\n }\n}\n"
+ }
+ }
+ }
+}