summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda
diff options
context:
space:
mode:
authorBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-30 15:56:09 -0400
committerBenjamin, Max (mb388a) <mb388a@us.att.com>2018-07-31 11:09:25 -0400
commit5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch)
tree59a968f27b4b603aacc9d5e7b51fb598aeec5321 /mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda
parentb6dc38501f3b746426b42d9de4cc883d894149e8 (diff)
Containerization feature of SO
Change-Id: I95381232eeefcd247a66a5cec370a8ce1c288e18 Issue-ID: SO-670 Signed-off-by: Benjamin, Max (mb388a) <mb388a@us.att.com>
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNErrorResponse.json7
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNResponse.json7
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AsyncProcessResponse.json6
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/BPMNResponse.json7
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/ErrorBPEL.json1
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskResponse.json48
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskVariablesResponse.json109
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/SuccessfulResponse.json4
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponse.json7
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid.json7
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid2.json7
11 files changed, 210 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNErrorResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNErrorResponse.json
new file mode 100644
index 0000000000..e63e233bb9
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNErrorResponse.json
@@ -0,0 +1,7 @@
+{
+ "response":"\n{\"requestReferences\":{\"instanceId\":\"MACRO REQUEST ON action\",\"requestId\": \"111\"}}\n\t\t\t",
+ "message":"Error",
+ "processInstanceID":"8878ccf8-1efc-11e8-b332-0050569a141e",
+ "variables":null,
+ "messageCode":505
+}
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNResponse.json
new file mode 100644
index 0000000000..3285e0fed9
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AVPNBPMNResponse.json
@@ -0,0 +1,7 @@
+{
+ "response":"\n{\"requestReferences\":{\"instanceId\":\"MACRO REQUEST ON action\",\"requestId\": \"111\"}}\n\t\t\t",
+ "message":"Success",
+ "processInstanceID":"8878ccf8-1efc-11e8-b332-0050569a141e",
+ "variables":null,
+ "messageCode":202
+}
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AsyncProcessResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AsyncProcessResponse.json
new file mode 100644
index 0000000000..b548e52c8c
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/AsyncProcessResponse.json
@@ -0,0 +1,6 @@
+{
+ "requestReferences": {
+ "instanceId": "1882939",
+ "requestId": "da101014-8747-4034-8535-8fb73e490434"
+ }
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/BPMNResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/BPMNResponse.json
new file mode 100644
index 0000000000..67c9005d56
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/BPMNResponse.json
@@ -0,0 +1,7 @@
+{
+ "response":"\n{\n\t\"serviceInstanceRequestReference\": {\n\t\t\"serviceInstanceId\": \"\",\n\t\t\"requestId\": \"\"\n\t}\n}\n\t\t\t",
+ "message":"Success",
+ "processInstanceID":"8878ccf8-1efc-11e8-b332-0050569a141e",
+ "variables":null,
+ "messageCode":202
+}
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/ErrorBPEL.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/ErrorBPEL.json
new file mode 100644
index 0000000000..53d60a3db4
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/ErrorBPEL.json
@@ -0,0 +1 @@
+{ "response": "<xml>xml</xml>","messageCode": 2000,"message": "Request Failed due to BPEL error","processInstanceID":null,"variables":null} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskResponse.json
new file mode 100644
index 0000000000..18fb828a57
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskResponse.json
@@ -0,0 +1,48 @@
+[
+ {
+ "id": "TaskId300",
+ "name": "My Task 300",
+ "assignee": "assignee1",
+ "created": "2018-01-09T01:32:02.750+0000",
+ "due": null,
+ "followUp": null,
+ "delegationState": "PENDING",
+ "description": "This have to be done very urgent",
+ "executionId": null,
+ "owner": "owner1",
+ "parentTaskId": null,
+ "priority": 30,
+ "processDefinitionId": null,
+ "processInstanceId": null,
+ "taskDefinitionKey": null,
+ "caseExecutionId": null,
+ "caseInstanceId": "aCaseInstanceId",
+ "caseDefinitionId": null,
+ "suspended": false,
+ "formKey": null,
+ "tenantId": null
+ },
+ {
+ "id": "b5fa707a-f55a-11e7-a796-005056856d52",
+ "name": "Manual Handling User Task",
+ "assignee": null,
+ "created": "2018-01-09T16:32:40.704+0000",
+ "due": null,
+ "followUp": null,
+ "delegationState": null,
+ "description": null,
+ "executionId": "b5d02c31-f55a-11e7-a796-005056856d52",
+ "owner": null,
+ "parentTaskId": null,
+ "priority": 50,
+ "processDefinitionId": "ManualHandling:62:1694eb4e-f4ac-11e7-bf39-005056856d52",
+ "processInstanceId": "b5d02c31-f55a-11e7-a796-005056856d52",
+ "taskDefinitionKey": "ManualHandlingUserTask",
+ "caseExecutionId": null,
+ "caseInstanceId": null,
+ "caseDefinitionId": null,
+ "suspended": false,
+ "formKey": null,
+ "tenantId": null
+ }
+]
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskVariablesResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskVariablesResponse.json
new file mode 100644
index 0000000000..d5a26d714c
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/GetTaskVariablesResponse.json
@@ -0,0 +1,109 @@
+{
+ "subscriptionServiceType": {
+ "type": "String",
+ "value": "PORT-MIRROR",
+ "valueInfo": {}
+ },
+ "currentActivity": {
+ "type": "String",
+ "value": "UpdateConfigurationState",
+ "valueInfo": {}
+ },
+ "validResponses": {
+ "type": "String",
+ "value": "rollback, skip, manual, abort",
+ "valueInfo": {}
+ },
+ "serviceType": {
+ "type": "String",
+ "value": "PORT-MIRROR",
+ "valueInfo": {}
+ },
+ "msoRequestId": {
+ "type": "String",
+ "value": "4f6fe9ac-800c-4540-a93e-10d179fa1b0a",
+ "valueInfo": {}
+ },
+ "vnfType": {
+ "type": "String",
+ "value": "VPROBE",
+ "valueInfo": {}
+ },
+ "originalRequestorId": {
+ "type": "String",
+ "value": "VID",
+ "valueInfo": {}
+ },
+ "errorSource": {
+ "type": "String",
+ "value": "SDNO",
+ "valueInfo": {}
+ },
+ "errorText": {
+ "type": "String",
+ "value": "SDN-O exception: failed with message FAIL - AnsibleOperations exception: Failed : HTTP error code : 400 - Error Msg : no node list provided and no inventory file found",
+ "valueInfo": {}
+ },
+ "taskId": {
+ "type": "String",
+ "value": "b5fa707a-f55a-11e7-a796-005056856d52",
+ "valueInfo": {}
+ },
+ "nfRole": {
+ "type": "String",
+ "value": "VPROBE",
+ "valueInfo": {}
+ },"updateRequestResponse": {
+ "type": "String",
+ "value": "<soap:Envelope xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\"><soap:Body><ns2:updateInfraRequestResponse xmlns:ns2=\"http://org.onap.so/requestsdb\"/></soap:Body></soap:Envelope>",
+ "valueInfo": {}
+ },
+ "failedActivity": {
+ "type": "String",
+ "value": "SDNO",
+ "valueInfo": {}
+ },
+ "originalRequestId": {
+ "type": "String",
+ "value": "4f6fe9ac-800c-4540-a93e-10d179fa1b0a",
+ "valueInfo": {}
+ },"errorMessage": {
+ "type": "String",
+ "value": "SDN-O exception: failed with message FAIL - AnsibleOperations exception: Failed : HTTP error code : 400 - Error Msg : no node list provided and no inventory file found",
+ "valueInfo": {}
+ },"workStep": {
+ "type": "String",
+ "value": "Configurationactivate SDNO Post-Check",
+ "valueInfo": {}
+ },
+ "URN_log_debug_asyncQueryAAICustomer": {
+ "type": "String",
+ "value": "true",
+ "valueInfo": {}
+ },
+ "URN_mso_workflow_default_aai_v11_l3_network_uri": {
+ "type": "String",
+ "value": "/aai/v11/network/l3-networks/l3-network",
+ "valueInfo": {}
+ },"errorCode": {
+ "type": "String",
+ "value": "1002",
+ "valueInfo": {}
+ },"vnfName": {
+ "type": "Null",
+ "value": null,
+ "valueInfo": {}
+ },"buildingBlockName": {
+ "type": "String",
+ "value": "UpdateConfigurationState",
+ "valueInfo": {}
+ },"buildingBlockStep": {
+ "type": "String",
+ "value": "Configurationactivate SDNO Post-Check",
+ "valueInfo": {}
+ },"type": {
+ "type": "String",
+ "value": "fallout",
+ "valueInfo": {}
+ }
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/SuccessfulResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/SuccessfulResponse.json
new file mode 100644
index 0000000000..bcbaa86101
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/SuccessfulResponse.json
@@ -0,0 +1,4 @@
+{
+ "response":"success",
+ "message":"success"
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponse.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponse.json
new file mode 100644
index 0000000000..8c706b7b5c
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponse.json
@@ -0,0 +1,7 @@
+{
+ "response": "{\"requestReferences\": {\"instanceId\": \"1882939\"}}",
+ "messageCode": "1",
+ "message": "Success",
+ "processInstanceID": "1",
+ "variables": "null"
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid.json
new file mode 100644
index 0000000000..2d9e3ddef8
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid.json
@@ -0,0 +1,7 @@
+{
+ "response":"<aetgt:WorkflowException xmlns:aetgt=\"http://org.onap/so/workflow/schema/v1\"><aetgt:ErrorMessage>Exception in create execution list 500 </aetgt:ErrorMessage><aetgt:ErrorCode>7000</aetgt:ErrorCode></aetgt:WorkflowException>",
+ "message":"Fail",
+ "processInstanceID":"4b33ca85-5860-11e8-ae53-0a580ae94342",
+ "variables":null,
+ "messageCode":500
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid2.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid2.json
new file mode 100644
index 0000000000..f821d11549
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/__files/Camunda/TestResponseInvalid2.json
@@ -0,0 +1,7 @@
+{
+ "response": "{\"instanceId\": \"1882939\"}",
+ "messageCode": "1",
+ "message": "test",
+ "processInstanceID": "1",
+ "variables": "null"
+} \ No newline at end of file