summaryrefslogtreecommitdiffstats
path: root/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest
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/E2EServiceInstancesTest
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/E2EServiceInstancesTest')
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/CompareModelRequest.json6
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/DeleteRequest.json4
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/Request.json81
-rw-r--r--mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/ScaleRequest.json18
4 files changed, 109 insertions, 0 deletions
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/CompareModelRequest.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/CompareModelRequest.json
new file mode 100644
index 0000000000..02a5bf71c5
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/CompareModelRequest.json
@@ -0,0 +1,6 @@
+{
+ "globalSubscriberId": "60c3e96e-0970-4871-b6e0-3b6de7561519",
+ "serviceType": "vnf",
+ "modelInvariantIdTarget": "60c3e96e-0970-4871-b6e0-3b6de1234567",
+ "modelVersionIdTarget": "modelVersionIdTarget"
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/DeleteRequest.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/DeleteRequest.json
new file mode 100644
index 0000000000..6626200eaf
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/DeleteRequest.json
@@ -0,0 +1,4 @@
+{
+ "globalSubscriberId":"299392392",
+ "serviceType":"VoLTE"
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/Request.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/Request.json
new file mode 100644
index 0000000000..c5114970b1
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/Request.json
@@ -0,0 +1,81 @@
+{
+ "service":{
+ "name":"so_test4",
+ "description":"so_test2",
+ "serviceInvariantUuid":"60c3e96e-0970-4871-b6e0-3b6de7561519",
+ "serviceUuid":"592f9437-a9c0-4303-b9f6-c445bb7e9814",
+ "globalSubscriberId":"123457",
+ "serviceType":"voLTE",
+ "parameters":{
+ "resources":[
+ {
+ "resourceName":"vIMS",
+ "resourceInvariantUuid":"60c3e96e-0970-4871-b6e0-3b6de7561516",
+ "resourceUuid":"60c3e96e-0970-4871-b6e0-3b6de7561512",
+ "parameters":{
+ "locationConstraints":[
+ {
+ "vnfProfileId":"zte-vBAS-1.0",
+ "locationConstraints":{
+ "vimId":"4050083f-465f-4838-af1e-47a545222ad0"
+ }
+ },
+ {
+ "vnfProfileId":"zte-vMME-1.0",
+ "locationConstraints":{
+ "vimId":"4050083f-465f-4838-af1e-47a545222ad0"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "resourceName":"vEPC",
+ "resourceInvariantUuid":"61c3e96e-0970-4871-b6e0-3b6de7561516",
+ "resourceUuid":"62c3e96e-0970-4871-b6e0-3b6de7561512",
+ "parameters":{
+ "locationConstraints":[
+ {
+ "vnfProfileId":"zte-CSCF-1.0",
+ "locationConstraints":{
+ "vimId":"4050083f-465f-4838-af1e-47a545222ad1"
+ }
+ }
+ ]
+ }
+ },
+ {
+ "resourceName":"underlayvpn",
+ "resourceInvariantUuid":"60c3e96e-0970-4871-b6e0-3b6de7561513",
+ "resourceUuid":"60c3e96e-0970-4871-b6e0-3b6de7561514",
+ "parameters":{
+ "locationConstraints":[
+
+ ]
+ }
+ },
+ {
+ "resourceName":"overlayvpn",
+ "resourceInvariantUuid":"60c3e96e-0970-4871-b6e0-3b6de7561517",
+ "resourceUuid":"60c3e96e-0970-4871-b6e0-3b6de7561518",
+ "parameters":{
+ "locationConstraints":[
+
+ ]
+ }
+ }
+ ],
+ "requestInputs":{
+ "externalDataNetworkName":"Flow_out_net",
+ "m6000_mng_ip":"181.18.20.2",
+ "externalCompanyFtpDataNetworkName":"Flow_out_net",
+ "externalPluginManageNetworkName":"plugin_net_2014",
+ "externalManageNetworkName":"mng_net_2017",
+ "sfc_data_network":"sfc_data_net_2016",
+ "NatIpRange":"210.1.1.10-210.1.1.20",
+ "location":"4050083f-465f-4838-af1e-47a545222ad0",
+ "sdncontroller":"9b9f02c0-298b-458a-bc9c-be3692e4f35e"
+ }
+ }
+ }
+} \ No newline at end of file
diff --git a/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/ScaleRequest.json b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/ScaleRequest.json
new file mode 100644
index 0000000000..2f1e84559c
--- /dev/null
+++ b/mso-api-handlers/mso-api-handler-infra/src/test/resources/E2EServiceInstancesTest/ScaleRequest.json
@@ -0,0 +1,18 @@
+{
+ "service":{
+ "serviceType":"example-service-type",
+ "globalSubscriberId":"test_custormer",
+ "resources":[{
+ "resourceInstanceId":"ns111",
+ "scaleType":"SCALE_NS",
+ "scaleNsData":{
+ "scaleNsByStepsData":{
+ "numberOfSteps":"4",
+ "aspectId":"TIC_EDGE_HW",
+ "scalingDirection":"UP"
+ }
+ }
+ }],
+ "serviceInstanceName":"XXXX"
+ }
+}