From 19c8bde507b1d0bb92d7c9ba632a578aa5cca7b7 Mon Sep 17 00:00:00 2001 From: Seshu-Kumar-M Date: Fri, 22 Sep 2017 11:08:15 +0530 Subject: Added CSIT for E2EService Issue-Id: SO-157 Change-Id: Icb522734d87325cda7f3d9b7b2f25836cd9f31c2 Signed-off-by: Seshu-Kumar-M --- .../sanity-check/data/createE2eserviceInvalid.json | 30 ++++++++++++++++++++++ 1 file changed, 30 insertions(+) create mode 100644 test/csit/tests/so/sanity-check/data/createE2eserviceInvalid.json (limited to 'test/csit/tests/so/sanity-check/data/createE2eserviceInvalid.json') diff --git a/test/csit/tests/so/sanity-check/data/createE2eserviceInvalid.json b/test/csit/tests/so/sanity-check/data/createE2eserviceInvalid.json new file mode 100644 index 000000000..78d303b28 --- /dev/null +++ b/test/csit/tests/so/sanity-check/data/createE2eserviceInvalid.json @@ -0,0 +1,30 @@ +{ + "service": { + "serviceName": "service", + "description": "so_test1", + "serviceDefId": "182834434345", + "templateId": "5994888392", + "parameters": { + "domainHost": "127.0.0.1", + "nodeTemplateName": "model:v3", + "nodeType": "service", + "globalSubscriberId": "49923893499", + "subscriberName": "NEED THIS UUI - AAI", + "requestParameters": { + "subscriptionServiceType": "MOG", + "userParams": [ + { + "name": "someUserParam", + "value": "someValue" + }, + { + "name": "segments", + "value": "[\n{\n\"domainHost\":\"localhost\",\n\"nodeTemplateName\":\"IMS_NS\",\n\"nodeType\":\"tosca.nodes.nfv.NS.IMS\",\n\"segments\":[\n\n],\n\"nsParameters\":{\n\"locationConstraints\":[\n{\n\"vnfProfileId\":\"zte-CSCF-1.0\",\n\"locationConstraints\":{\n\"vimId\":\"4050083f-465f-4838-af1e-47a545222ad0\"\n}\n}\n],\n\"additionalParamForNs\":{\n\"externalDataNetworkName\":\"Flow_out_net\",\n\"m6000_mng_ip\":\"181.18.20.2\",\n\"externalCompanyFtpDataNetworkName\":\"Flow_out_net\",\n\"externalPluginManageNetworkName\":\"plugin_net_2014\",\n\"externalManageNetworkName\":\"mng_net_2017\",\n\"sfc_data_network\":\"sfc_data_net_2016\",\n\"NatIpRange\":\"210.1.1.10-210.1.1.20\",\n\"location\":\"4050083f-465f-4838-af1e-47a545222ad0\",\n\"sdncontroller\":\"9b9f02c0-298b-458a-bc9c-be3692e4f35e\"\n}\n}\n},\n{\n\"domainHost\":\"localhost\",\n\"nodeTemplateName\":\"EPC_NS\",\n\"nodeType\":\"tosca.nodes.nfv.NS.IMS\",\n\"segments\":[\n\n],\n\"nsParameters\":{\n\"locationConstraints\":[\n{\n\"vnfProfileId\":\"zte-CSCF-1.0\",\n\"locationConstraints\":{\n\"vimId\":\"4050083f-465f-4838-af1e-47a545222ad0\"\n}\n}\n],\n\"additionalParamForNs\":{\n\"externalDataNetworkName\":\"Flow_out_net\",\n\"m6000_mng_ip\":\"181.18.20.2\",\n\"externalCompanyFtpDataNetworkName\":\"Flow_out_net\",\n\"externalPluginManageNetworkName\":\"plugin_net_2014\",\n\"externalManageNetworkName\":\"mng_net_2017\",\n\"sfc_data_network\":\"sfc_data_net_2016\",\n\"NatIpRange\":\"210.1.1.10-210.1.1.20\",\n\"location\":\"4050083f-465f-4838-af1e-47a545222ad0\",\n\"sdncontroller\":\"9b9f02c0-298b-458a-bc9c-be3692e4f35e\"\n}\n}\n}\n]" + }, + { + "name": "nsParameters", + "value": "{\n \"locationConstraints\": {},\n \"additionalParamForNs\": {\n \"E2EServcie.param1\": \"value1\",\n \"E2EServcie.param2\": \"value2\"\n }\n }" + } + ] + }}} +} \ No newline at end of file -- cgit 1.2.3-korg