summaryrefslogtreecommitdiffstats
path: root/cds-regression-test/test/lock-device/success/expected-payloads
diff options
context:
space:
mode:
authorMorgan Richomme <morgan.richomme@orange.com>2020-12-04 21:44:23 +0000
committerGerrit Code Review <gerrit@onap.org>2020-12-04 21:44:23 +0000
commitbfffa2d982cc506979aaa0b96b6bb352c8dda9a7 (patch)
tree1093505679ce13406d66b9ccc5fd78884923ea37 /cds-regression-test/test/lock-device/success/expected-payloads
parent81b196b4c766c7dec927405da1a831cd437c5466 (diff)
parentd3cdace51db473c93540229da3a0fd061120957c (diff)
Merge "cds-bash script package"
Diffstat (limited to 'cds-regression-test/test/lock-device/success/expected-payloads')
-rw-r--r--cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-1.json28
-rw-r--r--cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-2.json28
-rw-r--r--cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-3.json26
-rw-r--r--cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-4.json26
4 files changed, 108 insertions, 0 deletions
diff --git a/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-1.json b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-1.json
new file mode 100644
index 0000000..b70b502
--- /dev/null
+++ b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-1.json
@@ -0,0 +1,28 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-30T17:46:47.772Z",
+ "originatorId": "System",
+ "requestId": "lock-request-1",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-lock-device",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resolve-deploy-kotlin",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-06-30T17:47:02.922Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "resolve-deploy-kotlin-response": {
+ "response-data": "Success: lock-request-1"
+ }
+ }
+}
diff --git a/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-2.json b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-2.json
new file mode 100644
index 0000000..bd0dfdc
--- /dev/null
+++ b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-2.json
@@ -0,0 +1,28 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-30T17:46:50.008Z",
+ "originatorId": "System",
+ "requestId": "lock-request-2",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-lock-device",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resolve-deploy-kotlin",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 200,
+ "eventType": "EVENT_COMPONENT_EXECUTED",
+ "timestamp": "2020-06-30T17:47:18.221Z",
+ "errorMessage": null,
+ "message": "success"
+ },
+ "payload": {
+ "resolve-deploy-kotlin-response": {
+ "response-data": "Success: lock-request-2"
+ }
+ }
+}
diff --git a/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-3.json b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-3.json
new file mode 100644
index 0000000..9743758
--- /dev/null
+++ b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-3.json
@@ -0,0 +1,26 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-30T17:46:51.761Z",
+ "originatorId": "System",
+ "requestId": "lock-request-3",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-lock-device",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resolve-deploy-kotlin",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 500,
+ "eventType": "EVENT_COMPONENT_FAILURE",
+ "timestamp": "2020-06-30T17:47:12.301Z",
+ "errorMessage": "Failed in ComponentScriptExecutor : Failed to acquire lock within timeout, failed to get execution property(node_templates/execute-kotlin/attributes/response-data)",
+ "message": "failure"
+ },
+ "payload": {
+ "resolve-deploy-kotlin-response": {}
+ }
+}
diff --git a/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-4.json b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-4.json
new file mode 100644
index 0000000..3b916ed
--- /dev/null
+++ b/cds-regression-test/test/lock-device/success/expected-payloads/expected-payload-4.json
@@ -0,0 +1,26 @@
+{
+ "correlationUUID": null,
+ "commonHeader": {
+ "timestamp": "2020-06-30T17:46:54.081Z",
+ "originatorId": "System",
+ "requestId": "lock-request-4",
+ "subRequestId": "1",
+ "flags": null
+ },
+ "actionIdentifiers": {
+ "blueprintName": "RT-lock-device",
+ "blueprintVersion": "1.0.0",
+ "actionName": "resolve-deploy-kotlin",
+ "mode": "sync"
+ },
+ "status": {
+ "code": 500,
+ "eventType": "EVENT_COMPONENT_FAILURE",
+ "timestamp": "2020-06-30T17:47:14.865Z",
+ "errorMessage": "Failed in ComponentScriptExecutor : Failed to acquire lock within timeout, failed to get execution property(node_templates/execute-kotlin/attributes/response-data)",
+ "message": "failure"
+ },
+ "payload": {
+ "resolve-deploy-kotlin-response": {}
+ }
+}