diff options
author | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-30 15:56:09 -0400 |
---|---|---|
committer | Benjamin, Max (mb388a) <mb388a@us.att.com> | 2018-07-31 11:09:25 -0400 |
commit | 5a6a6de6f1a26a1897e4917a0df613e25a24eb70 (patch) | |
tree | 59a968f27b4b603aacc9d5e7b51fb598aeec5321 /mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation | |
parent | b6dc38501f3b746426b42d9de4cc883d894149e8 (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/TenantIsolation')
7 files changed, 134 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironment.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironment.json new file mode 100644 index 0000000000..051ab02ae7 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironment.json @@ -0,0 +1,33 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "myVnfOpEnv", + "source": "VID", + "requestorId": "xxxxxx" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "resourceType": "operationalEnvironment", + "instanceId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "instanceName": "name" + } + } + ], + "requestParameters": { + "operationalEnvironmentType": "VNF", + "workloadContext": "VNF_E2E-IST", + "manifest": { + "serviceModelList": [{ + "serviceModelVersionId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "recoveryAction": "abort" + }, + { + "serviceModelVersionId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "recoveryAction": "retry" + }] + } + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironmentInvalid.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironmentInvalid.json new file mode 100644 index 0000000000..4613727dbc --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ActivateOperationEnvironmentInvalid.json @@ -0,0 +1,23 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "myVnfOpEnv", + "source": "VID", + "requestorId": "xxxxxx" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "resourceType": "operationalEnvironment", + "instanceId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "instanceName": "name" + } + } + ], + "requestParameters": { + "operationalEnvironmentType": "VNF", + "workloadContext": "VNF_E2E-IST" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironment.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironment.json new file mode 100644 index 0000000000..c605fe53e0 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironment.json @@ -0,0 +1,12 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "source": "VID", + "requestorId": "xxxxxx" + }, + "requestParameters": { + "operationalEnvironmentType": "VNF" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironmentInvalid.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironmentInvalid.json new file mode 100644 index 0000000000..4fb330cb5b --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/DeactivateOperationEnvironmentInvalid.json @@ -0,0 +1,12 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "source": "VID", + "requestorId": "xxxxxx" + }, + "requestParameters": { + "operationalEnvironmentType": "ECOMP" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ECOMPOperationEnvironmentCreate.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ECOMPOperationEnvironmentCreate.json new file mode 100644 index 0000000000..97fdc669f4 --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/ECOMPOperationEnvironmentCreate.json @@ -0,0 +1,15 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "myOpEnv", + "source": "VID", + "requestorId": "xxxxxx" + }, + "requestParameters": { + "operationalEnvironmentType": "ECOMP", + "tenantContext": "Test", + "workloadContext": "ECOMP_E2E-IST" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreate.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreate.json new file mode 100644 index 0000000000..b3ccd7d2ff --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreate.json @@ -0,0 +1,24 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "myVnfOpEnv", + "source": "VID", + "requestorId": "xxxxxx" + }, + "relatedInstanceList": [ + { + "relatedInstance": { + "resourceType": "operationalEnvironment", + "instanceId": "ff305d54-75b4-431b-adb2-eb6b9e5ff000", + "instanceName": "name" + } + } + ], + "requestParameters": { + "operationalEnvironmentType": "VNF", + "tenantContext": "Test", + "workloadContext": "VNF_E2E-IST" + } + } +}
\ No newline at end of file diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreateInvalid.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreateInvalid.json new file mode 100644 index 0000000000..91ee50630a --- /dev/null +++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/TenantIsolation/VNFOperationEnvironmentCreateInvalid.json @@ -0,0 +1,15 @@ +{ + "requestDetails": { + "requestInfo": { + "resourceType": "operationalEnvironment", + "instanceName": "myVnfOpEnv", + "source": "VID", + "requestorId": "xxxxxx" + }, + "requestParameters": { + "operationalEnvironmentType": "VNF", + "tenantContext": "Test", + "workloadContext": "VNF_E2E-IST" + } + } +}
\ No newline at end of file |