diff options
Diffstat (limited to 'mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo')
10 files changed, 437 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptyRequestorId.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptyRequestorId.json new file mode 100644 index 0000000000..17888adfa9 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptyRequestorId.json @@ -0,0 +1,41 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb" + }, + "requestInfo": { + "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptySource.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptySource.json new file mode 100644 index 0000000000..3c9f54445b --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/EmptySource.json @@ -0,0 +1,35 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb" + }, + "requestInfo": { + "productFamilyId": "a9a77d5a-123e-4ca2-9eb9-0b015d2ee0fb", + "requestorId": "xxxxxx", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : true, + "autoBuildVfModules": false, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/NetworkProductFamilyId.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/NetworkProductFamilyId.json new file mode 100644 index 0000000000..4e7afc432e --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/NetworkProductFamilyId.json @@ -0,0 +1,44 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "network", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + }, + "requestInfo": { + "productFamilyId": "", + "requestorId": "xxxxxx", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : true, + "autoBuildVfModules": true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfo.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfo.json new file mode 100644 index 0000000000..484f7bfc97 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfo.json @@ -0,0 +1,35 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "2fff5b20-214b-11e7-93ae-92361f002671", + "modelVersionId": "ff2ae348-214a-11e7-93ae-92361f002671", + "modelName": "vSAMP10a", + "modelVersion": "1.0", + "modelCustomizationName": "vSAMP10a 1", + "modelCustomizationId": "68dc9a92-214c-11e7-93ae-92361f002671" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c44dd5dc-849b-4691-b3c4-111c33140389", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "9647dfc4-2083-11e7-93ae-92361f002671", + "modelVersionId": "5df8b6de-2083-11e7-93ae-92361f002671", + "modelName": "MSOTADevInfra_vSAMP10a_Service", + "modelVersion": "1.0" + } + } + } + ], + "requestParameters": { + "autoBuildVfModules": false, + "payload": "{\"existing-software-version\": \"3.1\",\"new-software-version\": \"3.2\", \"operations-timeout\": \"3600\"}" + } + } +} diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfoNull.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfoNull.json new file mode 100644 index 0000000000..9220d4dd22 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestInfoNull.json @@ -0,0 +1,37 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb" + }, + "requestParameters": { + "aLaCarte" : true, + "autoBuildVfModules": false, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestorId.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestorId.json new file mode 100644 index 0000000000..8562be02b8 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/RequestorId.json @@ -0,0 +1,41 @@ +{ + "requestDetails": { + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "2fff5b20-214b-11e7-93ae-92361f002671", + "modelVersionId": "ff2ae348-214a-11e7-93ae-92361f002671", + "modelName": "vSAMP10a", + "modelVersion": "1.0", + "modelCustomizationName": "vSAMP10a 1", + "modelCustomizationId": "68dc9a92-214c-11e7-93ae-92361f002671" + }, + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "requestInfo": { + "instanceName": "MSO_Dev_1802_VNF_10-9-1", + "productFamilyId": "06f76284-8710-11e6-ae22-56b6b6499611", + "source": "VID", + "suppressRollback": false + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "c44dd5dc-849b-4691-b3c4-111c33140389", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "9647dfc4-2083-11e7-93ae-92361f002671", + "modelVersionId": "5df8b6de-2083-11e7-93ae-92361f002671", + "modelName": "MSOTADevInfra_vSAMP10a_Service", + "modelVersion": "1.0" + } + } + } + ], + "requestParameters": { + "autoBuildVfModules": false, + "payload": "{\"existing-software-version\": \"3.1\",\"new-software-version\": \"3.2\", \"operations-timeout\": \"3600\"}" + } + } +} diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyId.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyId.json new file mode 100644 index 0000000000..11d85a3397 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyId.json @@ -0,0 +1,44 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + }, + "requestInfo": { + "productFamilyId": "", + "requestorId": "xxxxxx", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : false, + "autoBuildVfModules": true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdFlag.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdFlag.json new file mode 100644 index 0000000000..76ae344a02 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdFlag.json @@ -0,0 +1,72 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "volumeGroup", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + }, + "requestInfo": { + "productFamilyId": "", + "requestorId": "xxxxxx", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : true, + "autoBuildVfModules": true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "instanceId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "modelInfo": { + "modelType": "service", + "modelInvariantId": "ff3514e3-5a33-55df-13ab-12abad84e7ff", + "modelVersionId": "fe6985cd-ea33-3346-ac12-ab121484a3fe", + "modelName": "vSAMP12", + "modelVersion": "1.0" + } + } + }, + { + "relatedInstance": { + "instanceId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "instanceDirection": "source", + "modelInfo": { + "modelType": "vnf", + "modelInvariantId": "ff5256d1-5a33-55df-13ab-12abad84e7ff", + "modelVersionId": "fe6478e4-ea33-3346-ac12-ab121484a3fe", + "modelName": "vSAMP12", + "modelVersion": "1.0", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + } + } + } + ], + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdUpdate.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdUpdate.json new file mode 100644 index 0000000000..11d85a3397 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/ServiceProductFamilyIdUpdate.json @@ -0,0 +1,44 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "service", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + }, + "requestInfo": { + "productFamilyId": "", + "requestorId": "xxxxxx", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : false, + "autoBuildVfModules": true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/VnfProductFamilyId.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/VnfProductFamilyId.json new file mode 100644 index 0000000000..f810473171 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/MsoRequestTest/RequestInfo/VnfProductFamilyId.json @@ -0,0 +1,44 @@ +{ + "requestDetails": { + "cloudConfiguration": { + "lcpCloudRegionId": "mtn6", + "tenantId": "19123c2924c648eb8e42a3c1f14b7682" + }, + "modelInfo": { + "modelInvariantId": "1710f6e8-1c29-4990-9aea-e943a2ec3d21", + "modelName": "SDNW Service 1710", + "modelType": "vnf", + "modelVersion": "2.0", + "modelVersionId": "1710966e-097c-4d63-afda-e0d3bb7015fb", + "modelCustomizationId": "b0ed83ec-b7b4-4c70-91c2-63feeaf8609b" + }, + "requestInfo": { + "productFamilyId": "", + "requestorId": "xxxxxx", + "source": "VID", + "suppressRollback": false + }, + "requestParameters": { + "aLaCarte" : true, + "autoBuildVfModules": true, + "subscriptionServiceType": "MSO-dev-service-type", + "userParams": [ + { + "name": "aic_zone", + "value": "mtn6" + } + ] + }, + "subscriberInfo": { + "globalSubscriberId": "MSO_1610_dev", + "subscriberName": "MSO_1610_dev" + }, + "project": { + "projectName": "projectName" + }, + "owningEntity": { + "owningEntityId": "randomStrings", + "owningEntityName": "randomStrings" + } + } +}
\ No newline at end of file |