From 38f720752af4d4aad8c4e467a288d9048659f688 Mon Sep 17 00:00:00 2001
From: Rob Daugherty
Date: Wed, 14 Mar 2018 02:07:32 -0400
Subject: AT&T 1712 and 1802 release code
This is code from AT&T's 1712 and 1802 releases.
Change-Id: Ie1e85851e94bc66c4d9514a0226c221939531a04
Issue-ID: SO-425
Signed-off-by: Rob Daugherty
---
.../__files/BuildingBlocks/catalogResp.json | 5 +-
.../__files/BuildingBlocks/sniroCallback2AR1Vnf | 11 +-
.../BuildingBlocks/sniroCallback2AR1Vnf2Net | 17 +-
.../__files/BuildingBlocks/sniroCallbackInfraVnf | 3 +-
.../__files/BuildingBlocks/sniroRequest_infravnf | 2 +-
.../CreateVfModuleVolumeGroup_VID_request.json | 146 ++---
.../__files/CreateVfModule_VID_request.json | 126 ++--
.../__files/SDNCAdapterRestCallbackFinal.json | 8 +
.../__files/SDNCAdapterRestCallbackNonFinal.json | 8 +
.../__files/SDNCAdapterRestV2Request.json | 21 +
.../__files/SDNCInterimNotification1.json | 41 ++
.../__files/StandardSDNCSynchResponse.xml | 5 +
.../UpdateNetworkV2/updateNetworkResponse_500.xml | 136 ++---
.../__files/aai/bulkprocess/response-failure.json | 32 +
.../__files/aai/bulkprocess/response-success.json | 32 +
.../__files/aai/bulkprocess/test-request.json | 22 +
.../__files/aai/resources/e2e-complex.json | 660 +++++++++++++++++++++
.../__files/aai/resources/empty-query-result.json | 3 +
.../__files/aai/resources/mockObject.json | 10 +
.../resources/service-instance-pathed-query.json | 8 +
.../__files/getCatalogServiceResourcesData.json | 1 +
.../getCatalogServiceResourcesDataWithConfig.json | 182 ++++++
.../resources/__files/sdncCallbackSoapWrapper.xml | 19 +
23 files changed, 1283 insertions(+), 215 deletions(-)
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackFinal.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackNonFinal.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestV2Request.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCInterimNotification1.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/StandardSDNCSynchResponse.xml
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/bulkprocess/response-failure.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/bulkprocess/response-success.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/bulkprocess/test-request.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/resources/e2e-complex.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/resources/empty-query-result.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/resources/mockObject.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/aai/resources/service-instance-pathed-query.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/getCatalogServiceResourcesDataWithConfig.json
create mode 100644 bpmn/MSOCommonBPMN/src/test/resources/__files/sdncCallbackSoapWrapper.xml
(limited to 'bpmn/MSOCommonBPMN/src/test/resources/__files')
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/catalogResp.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/catalogResp.json
index 0fdada5c68..09026d1d8c 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/catalogResp.json
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/catalogResp.json
@@ -38,8 +38,9 @@
"nfRole": "",
"nfType": "",
"nfFunction": "",
- "nfNamingCode": ""
- }
+ "nfNamingCode": "",
+ "multiStageDesign": "N"
+ }
],
"serviceNetworks": []
}
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf
index 19f18cce52..372f5d9e4d 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf
@@ -30,7 +30,7 @@
"serviceResourceId": "testResourceIdVNF"
}
],
- "placement": [
+ "placementInfo": [
{
"assignmentInfo": [
{
@@ -54,7 +54,8 @@
"inventoryType": "service",
"resourceModuleName": "ALLOTTED_RESOURCE",
"serviceInstanceId": "testSIID1",
- "serviceResourceId": "testResourceIdAR"
+ "serviceResourceId": "testResourceIdAR",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -79,7 +80,8 @@
"inventoryType": "service",
"resourceModuleName": "ALLOTTED_RESOURCE",
"serviceInstanceId": "testSIID2",
- "serviceResourceId": "testResourceIdAR2"
+ "serviceResourceId": "testResourceIdAR2",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -100,7 +102,8 @@
"inventoryType": "cloud",
"resourceModuleName": "VNF",
"serviceInstanceId": "",
- "serviceResourceId": "testResourceIdVNF"
+ "serviceResourceId": "testResourceIdVNF",
+ "isRehome": "False"
}
]
}
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf2Net b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf2Net
index 5a9ef4b4f9..694419700d 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf2Net
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallback2AR1Vnf2Net
@@ -42,7 +42,7 @@
"serviceResourceId": "testResourceIdVNF"
}
],
- "placement": [
+ "placementInfo": [
{
"assignmentInfo": [
{
@@ -66,7 +66,8 @@
"inventoryType": "service",
"resourceModuleName": "ALLOTTED_RESOURCE",
"serviceInstanceId": "testSIID1",
- "serviceResourceId": "testResourceIdAR"
+ "serviceResourceId": "testResourceIdAR",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -91,7 +92,8 @@
"inventoryType": "service",
"resourceModuleName": "ALLOTTED_RESOURCE",
"serviceInstanceId": "testSIID2",
- "serviceResourceId": "testResourceIdAR2"
+ "serviceResourceId": "testResourceIdAR2",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -116,7 +118,8 @@
"inventoryType": "service",
"resourceModuleName": "NETWORK",
"serviceInstanceId": "testServiceInstanceIdNet",
- "serviceResourceId": "testResourceIdNet"
+ "serviceResourceId": "testResourceIdNet",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -137,7 +140,8 @@
"inventoryType": "cloud",
"resourceModuleName": "NETWORK",
"serviceInstanceId": "",
- "serviceResourceId": "testResourceIdNet2"
+ "serviceResourceId": "testResourceIdNet2",
+ "isRehome": "False"
},
{
"assignmentInfo": [
@@ -158,7 +162,8 @@
"inventoryType": "cloud",
"resourceModuleName": "VNF",
"serviceInstanceId": "",
- "serviceResourceId": "testResourceIdVNF"
+ "serviceResourceId": "testResourceIdVNF",
+ "isRehome": "False"
}
]
}
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallbackInfraVnf b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallbackInfraVnf
index f80ff65d04..9159d80c43 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallbackInfraVnf
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroCallbackInfraVnf
@@ -4,13 +4,14 @@
"requestState": "complete",
"statusMessage": "",
"solutionInfo": {
- "placement": [
+ "placementInfo": [
{
"serviceResourceId": "test-resource-id-000",
"resourceModuleName": "ADIOD vRouter vCE",
"inventoryType": "service",
"serviceInstanceId": "service-instance-01234",
"cloudRegionId": "mtmnj1a",
+ "isRehome": "False",
"assignmentInfo": [
{
"variableName": "cloudOwner",
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroRequest_infravnf b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroRequest_infravnf
index 5dcf71a7c8..2af6bf3423 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroRequest_infravnf
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/BuildingBlocks/sniroRequest_infravnf
@@ -2,7 +2,7 @@
"requestInfo": {
"transactionId": "testRequestId",
"requestId": "testRequestId",
- "callbackUrl": "http://localhost:28090/workflows/messages/message/SNIROResponse/testRequestId",
+ "callbackUrl": "http://localhost:8090/workflows/messages/message/SNIROResponse/testRequestId",
"sourceId": "mso",
"optimizer": [
"placement",
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModuleVolumeGroup_VID_request.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModuleVolumeGroup_VID_request.json
index c3064fe07c..995cd5988f 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModuleVolumeGroup_VID_request.json
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModuleVolumeGroup_VID_request.json
@@ -1,74 +1,76 @@
{
-"requestDetails": {
-"modelInfo": {
-"modelType": "vfModule",
-"modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
-"modelName": "STMTN5MMSC21-MMSC::model-1-0",
-"modelVersion": "1"
-},
-"cloudConfiguration": {
-"lcpCloudRegionId": "MDTWNJ21",
-"tenantId": "fba1bd1e195a404cacb9ce17a9b2b421"
-},
-"requestInfo": {
-"instanceName": "PCRF::module-0-2",
-"source": "VID",
-"suppressRollback": true
-},
-"relatedInstanceList": [
-{
-"relatedInstance": {
-"instanceId": "17ef4658-bd1f-4ef0-9ca0-ea76e2bf122c",
-"instanceName": "MSOTESTVOL103a-vSAMP12_base_module-0_vol",
-"modelInfo": {
-"modelType": "volumeGroup",
-"modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
-"modelName": "vSAMP12..base..module-0",
-"modelVersion": "1"
-}
-}
-},
-{
-"relatedInstance": {
-"instanceId": "123456",
-"modelInfo": {
-"modelType": "service",
-"modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe",
-"modelName": "SERVICE_MODEL_NAME",
-"modelVersion": "1.0"
-}
-}
-},
-{
-"relatedInstance": {
-"instanceId": "skask",
-"modelInfo": {
-"modelType": "vnf",
-"modelInvariantId": "skask",
-"modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
-"modelName": "vSAMP12",
-"modelVersion": "1.0",
-"modelCustomizationName": "vSAMP12 1"
-}
-}
-},
-{
-"relatedInstance": {
-"instanceId": "78987",
-"modelInfo": {
-"modelType": "volumeGroup",
-"modelInvariantId": "skask",
-"modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
-"modelName": "vSAMP12",
-"modelVersion": "1.0"
-}
-}
-}
-],
-"requestParameters": {
-"userParams": {}
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "vfModule",
+ "modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "STMTN5MMSC21-MMSC::model-1-0",
+ "modelVersion": "1"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "MDTWNJ21",
+ "tenantId": "fba1bd1e195a404cacb9ce17a9b2b421"
+ },
+ "requestInfo": {
+ "instanceName": "PCRF::module-0-2",
+ "source": "VID",
+ "suppressRollback": true
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "17ef4658-bd1f-4ef0-9ca0-ea76e2bf122c",
+ "instanceName": "MSOTESTVOL103a-vSAMP12_base_module-0_vol",
+ "modelInfo": {
+ "modelType": "volumeGroup",
+ "modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "vSAMP12..base..module-0",
+ "modelVersion": "1"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "123456",
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "SERVICE_MODEL_NAME",
+ "modelVersion": "1.0"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "skask",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "skask",
+ "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "vSAMP12",
+ "modelVersion": "1.0",
+ "modelCustomizationName": "vSAMP12 1"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "78987",
+ "modelInfo": {
+ "modelType": "volumeGroup",
+ "modelInvariantId": "skask",
+ "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "vSAMP12",
+ "modelVersion": "1.0"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "userParams": {
+ }
+ }
+ }
}
-}
\ No newline at end of file
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModule_VID_request.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModule_VID_request.json
index a18ce576b5..2548204775 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModule_VID_request.json
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/CreateVfModule_VID_request.json
@@ -1,64 +1,66 @@
{
-"requestDetails": {
-"modelInfo": {
-"modelType": "vfModule",
-"modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
-"modelName": "STMTN5MMSC21-MMSC::model-1-0",
-"modelVersion": "1",
-"modelCustomizationId": "ee6478e5-ea33-3346-ac12-ab121484a3fe"
-},
-"cloudConfiguration": {
-"lcpCloudRegionId": "MDTWNJ21",
-"tenantId": "fba1bd1e195a404cacb9ce17a9b2b421"
-},
-"requestInfo": {
-"instanceName": "PCRF::module-0-2",
-"source": "VID",
-"suppressRollback": true
-},
-"relatedInstanceList": [
-{
-"relatedInstance": {
-"instanceId": "17ef4658-bd1f-4ef0-9ca0-ea76e2bf122c",
-"instanceName": "MSOTESTVOL103a-vSAMP12_base_module-0_vol",
-"modelInfo": {
-"modelType": "volumeGroup",
-"modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
-"modelName": "vSAMP12..base..module-0",
-"modelVersion": "1"
-}
-}
-},
-{
-"relatedInstance": {
-"instanceId": "123456",
-"modelInfo": {
-"modelType": "service",
-"modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff",
-"modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe",
-"modelName": "SERVICE_MODEL_NAME",
-"modelVersion": "1.0"
-}
-}
-},
-{
-"relatedInstance": {
-"instanceId": "skask",
-"instanceName": "skask-test",
-"modelInfo": {
-"modelType": "vnf",
-"modelInvariantId": "skask",
-"modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
-"modelName": "vSAMP12",
-"modelVersion": "1.0",
-"modelCustomizationName": "vSAMP12 1"
-}
-}
-}
-],
-"requestParameters": {
-"userParams": {}
+ "requestDetails": {
+ "modelInfo": {
+ "modelType": "vfModule",
+ "modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "STMTN5MMSC21-MMSC::model-1-0",
+ "modelVersion": "1",
+ "modelCustomizationId": "ee6478e5-ea33-3346-ac12-ab121484a3fe"
+ },
+ "cloudConfiguration": {
+ "lcpCloudRegionId": "MDTWNJ21",
+ "tenantId": "fba1bd1e195a404cacb9ce17a9b2b421"
+ },
+ "requestInfo": {
+ "instanceName": "PCRF::module-0-2",
+ "source": "VID",
+ "suppressRollback": true
+ },
+ "relatedInstanceList": [
+ {
+ "relatedInstance": {
+ "instanceId": "17ef4658-bd1f-4ef0-9ca0-ea76e2bf122c",
+ "instanceName": "MSOTESTVOL103a-vSAMP12_base_module-0_vol",
+ "modelInfo": {
+ "modelType": "volumeGroup",
+ "modelInvariantId": "ff5256d2-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6478e5-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "vSAMP12..base..module-0",
+ "modelVersion": "1"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "123456",
+ "modelInfo": {
+ "modelType": "service",
+ "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff",
+ "modelNameVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "SERVICE_MODEL_NAME",
+ "modelVersion": "1.0"
+ }
+ }
+ },
+ {
+ "relatedInstance": {
+ "instanceId": "skask",
+ "instanceName": "skask-test",
+ "modelInfo": {
+ "modelType": "vnf",
+ "modelInvariantId": "skask",
+ "modelNameVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe",
+ "modelName": "vSAMP12",
+ "modelVersion": "1.0",
+ "modelCustomizationName": "vSAMP12 1"
+ }
+ }
+ }
+ ],
+ "requestParameters": {
+ "userParams": {
+ }
+ }
+ }
}
-}
\ No newline at end of file
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackFinal.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackFinal.json
new file mode 100644
index 0000000000..cf9a621e02
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackFinal.json
@@ -0,0 +1,8 @@
+{
+ "SDNCServiceResponse": {
+ "sdncRequestId": "((REQUEST-ID))",
+ "responseCode": "200",
+ "responseMessage": "OK",
+ "ackFinalIndicator": "Y"
+ }
+}
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackNonFinal.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackNonFinal.json
new file mode 100644
index 0000000000..9af85c83a8
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestCallbackNonFinal.json
@@ -0,0 +1,8 @@
+{
+ "SDNCServiceResponse": {
+ "sdncRequestId": "((REQUEST-ID))",
+ "responseCode": "200",
+ "responseMessage": "OK",
+ "ackFinalIndicator": "N"
+ }
+}
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestV2Request.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestV2Request.json
new file mode 100644
index 0000000000..68af27db9f
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCAdapterRestV2Request.json
@@ -0,0 +1,21 @@
+{
+ "SDNCServiceRequest": {
+ "bpNotificationUrl": "http://localhost:28080/mso/WorkflowMesssage/SDNCAResponse/a4383a52-b9de-4bc4-bedf-02f3f9466535-1510232328526",
+ "sdncRequestId": "a4383a52-b9de-4bc4-bedf-02f3f9466535-1510232328526",
+ "requestInformation": {
+ "requestId": "a4383a52-b9de-4bc4-bedf-02f3f9466535",
+ "source": "CCD",
+ "notificationUrl": "http://localhost:28090/CCD/StatusNotification"
+ },
+ "serviceInformation": {
+ "serviceType": "vWanX",
+ "serviceInstanceId": "fd8bcdbb-b799-43ce-a7ff-ed8f2965a3b5",
+ "subscriberName": "Monster Joe's Truck & Tow",
+ "subscriberGlobalId": "8310000058863"
+ },
+ "sdncService": "ucpe-vnf",
+ "sdncOperation": "service-topology-cust-assign-operation",
+ "sdncServiceDataType": "XML",
+ "sdncServiceData": "BT/SLIR/70901AS/KRFN/34601USOSTCDALTX0101VFWX01USOSTCDALTX0101UJZZ11WXWX-VM00*1.0.2ATTATT-VENDOR-OWNED"
+ }
+}
\ No newline at end of file
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCInterimNotification1.json b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCInterimNotification1.json
new file mode 100644
index 0000000000..8666b8b501
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/SDNCInterimNotification1.json
@@ -0,0 +1,41 @@
+{
+ "variableList":[
+ {
+ "variable":{
+ "name":"SDNCA_InterimNotify",
+ "value":true
+ }
+ },
+ {
+ "variable":{
+ "name":"source",
+ "value":"CCD"
+ }
+ },
+ {
+ "variable":{
+ "name":"CMSO_is_srv_inst_req",
+ "value":"true"
+ }
+ },
+ {
+ "variable":{
+ "name":"CMSO_is_json_content",
+ "value":"true"
+ }
+ },
+ {
+ "variable":{
+ "name":"CMSO_notificationUrl",
+ "value":"http://localhost:28090/CCD/StatusNotification"
+ }
+ },
+ {
+ "variable":{
+ "name":"CMSO_payload",
+ "value":{"hello":"goodbye"}
+ }
+ }
+ ]
+}
+
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/StandardSDNCSynchResponse.xml b/bpmn/MSOCommonBPMN/src/test/resources/__files/StandardSDNCSynchResponse.xml
new file mode 100644
index 0000000000..919ff2c36b
--- /dev/null
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/StandardSDNCSynchResponse.xml
@@ -0,0 +1,5 @@
+
+
+
+
+
\ No newline at end of file
diff --git a/bpmn/MSOCommonBPMN/src/test/resources/__files/UpdateNetworkV2/updateNetworkResponse_500.xml b/bpmn/MSOCommonBPMN/src/test/resources/__files/UpdateNetworkV2/updateNetworkResponse_500.xml
index c67e980c63..07730e2df9 100644
--- a/bpmn/MSOCommonBPMN/src/test/resources/__files/UpdateNetworkV2/updateNetworkResponse_500.xml
+++ b/bpmn/MSOCommonBPMN/src/test/resources/__files/UpdateNetworkV2/updateNetworkResponse_500.xml
@@ -2,77 +2,79 @@
JBoss Web/7.2.2.Final-redhat-1 - JBWEB000064: Error report
-
JBWEB000065: HTTP Status 500 - java.lang.NullPointerException
-
-
- JBWEB000309: type
- JBWEB000066: Exception report
-
-
- JBWEB000068: message
- java.lang.NullPointerException
-
-
- JBWEB000069: description
- JBWEB000145: The server encountered an internal error that
- prevented it from fulfilling this request.
-
-
- JBWEB000070: exception
-
org.jboss.resteasy.spi.UnhandledException:
- java.lang.NullPointerException
- org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:365)
- org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:233)
- org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:209)
- org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:557)
- org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
- org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
- org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- org.openecomp.mso.logger.LogFilter.doFilter(LogFilter.java:35)
-
-
-
- JBWEB000071: root cause
-
java.lang.NullPointerException
- org.openecomp.mso.adapters.network.NetworkAdapterRest$CreateNetworkVolumesTask.run(NetworkAdapterRest.java:128)
- org.openecomp.mso.adapters.network.NetworkAdapterRest.createNetwork(NetworkAdapterRest.java:64)
- sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
- sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
- java.lang.reflect.Method.invoke(Method.java:606)
- org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
- org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
- org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
- org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
- org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
- org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
- org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
- org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
- org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
- javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
- org.openecomp.mso.logger.LogFilter.doFilter(LogFilter.java:35)
-
-
-
- JBWEB000072: note
- JBWEB000073: The full stack trace of the root cause is available
- in the JBoss Web/7.2.2.Final-redhat-1 logs.
-
-
- JBoss Web/7.2.2.Final-redhat-1
+
+
+ JBWEB000309: type
+ JBWEB000066: Exception report
+
+
+ JBWEB000068: message
+ java.lang.NullPointerException
+
+
+ JBWEB000069: description
+ JBWEB000145: The server encountered an internal error that
+ prevented it from fulfilling this request.
+
+
+
+ JBWEB000070: exception
+
org.jboss.resteasy.spi.UnhandledException:
+ java.lang.NullPointerException
+ org.jboss.resteasy.core.SynchronousDispatcher.handleApplicationException(SynchronousDispatcher.java:365)
+ org.jboss.resteasy.core.SynchronousDispatcher.handleException(SynchronousDispatcher.java:233)
+ org.jboss.resteasy.core.SynchronousDispatcher.handleInvokerException(SynchronousDispatcher.java:209)
+ org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:557)
+ org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
+ org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
+ org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
+ org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
+ org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
+ javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
+ org.openecomp.mso.logger.LogFilter.doFilter(LogFilter.java:35)
+
+
+
+ JBWEB000071: root cause
+
java.lang.NullPointerException
+ org.openecomp.mso.adapters.network.NetworkAdapterRest$CreateNetworkVolumesTask.run(NetworkAdapterRest.java:128)
+ org.openecomp.mso.adapters.network.NetworkAdapterRest.createNetwork(NetworkAdapterRest.java:64)
+ sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
+ sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
+ sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
+ java.lang.reflect.Method.invoke(Method.java:606)
+ org.jboss.resteasy.core.MethodInjectorImpl.invoke(MethodInjectorImpl.java:167)
+ org.jboss.resteasy.core.ResourceMethod.invokeOnTarget(ResourceMethod.java:269)
+ org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:227)
+ org.jboss.resteasy.core.ResourceMethod.invoke(ResourceMethod.java:216)
+ org.jboss.resteasy.core.SynchronousDispatcher.getResponse(SynchronousDispatcher.java:542)
+ org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:524)
+ org.jboss.resteasy.core.SynchronousDispatcher.invoke(SynchronousDispatcher.java:126)
+ org.jboss.resteasy.plugins.server.servlet.ServletContainerDispatcher.service(ServletContainerDispatcher.java:208)
+ org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:55)
+ org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher.service(HttpServletDispatcher.java:50)
+ javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
+ org.openecomp.mso.logger.LogFilter.doFilter(LogFilter.java:35)
+
+
+
+ JBWEB000072: note
+ JBWEB000073: The full stack trace of the root cause is available
+ in the JBoss Web/7.2.2.Final-redhat-1 logs.
+
+
+
+ JBoss Web/7.2.2.Final-redhat-1