summaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json
diff options
context:
space:
mode:
authorItohan <itohan.ukponmwan@intel.com>2019-09-30 23:39:44 +0000
committerItohan <itohan.ukponmwan@intel.com>2019-10-01 17:42:35 +0000
commita52f00e9d0af1181d3e9c87508789fb4ced022f5 (patch)
treedfb05a7683f0cecf86783d0623dbcf1b85ade70d /products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json
parent1d4b83754009114523cae90c759daffa9188eb3e (diff)
Minor bug fixes in CLI
- Added USER_ID header for SDC - Changed multicloud url - Added samples for commands - Fixed Bug in service-create command Signed-off-by: Itohan Ukponmwan <itohan.ukponmwan@intel.com> Issue-ID: CLI-229 Change-Id: I9ec94d6dd390d2b5bf059c2f8a82c67b65fbeb34
Diffstat (limited to 'products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json')
-rw-r--r--products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json72
1 files changed, 72 insertions, 0 deletions
diff --git a/products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json b/products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json
new file mode 100644
index 00000000..1d87b02e
--- /dev/null
+++ b/products/onap-elalto/features/so/src/main/resources/open-cli-sample/service-create-schema-elalto-moco.json
@@ -0,0 +1,72 @@
+[ {
+ "request" : {
+ "method" : "post",
+ "uri" : "/onap/so/infra/serviceInstantiation/v7/serviceInstances",
+ "headers" : {
+ "Authorization" : "Basic SW5mcmFQb3J0YWxDbGllbnQ6cGFzc3dvcmQxJA==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "4ae21be0-1766-482c-9462-3ef31328b969",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "requestDetails" : {
+ "modelInfo" : {
+ "modelType" : "service",
+ "modelInvariantId" : "51e3401d-2924-40e7-827f-ca7ec567e5de",
+ "modelUuid" : "a9031c62-bb9e-4db4-bee0-691768ed94f4",
+ "modelName" : "vfw-hpa-01",
+ "modelVersion" : "1.0",
+ "modelVersionId" : "a9031c62-bb9e-4db4-bee0-691768ed94f4",
+ "modelInvariantUuid" : "51e3401d-2924-40e7-827f-ca7ec567e5de"
+ },
+ "subscriberInfo" : {
+ "globalSubscriberId" : "hpa_cust",
+ "subscriberName" : "hpa_cust"
+ },
+ "requestInfo" : {
+ "requestorId" : "demo",
+ "instanceName" : "hpa-instance-vFW",
+ "source" : "CLI",
+ "suppressRollback" : "false"
+ },
+ "requestParameters" : {
+ "subscriptionServiceType" : "vFW",
+ "aLaCarte" : "True",
+ "testApi" : "VNF_API",
+ "userParams" : [ {
+ "name" : "Customer_Location",
+ "value" : {
+ "customerLatitude" : "32.897480",
+ "customerLongitude" : "97.040443",
+ "customerName" : "some_company"
+ }
+ }, {
+ "name" : "Homing_Solution",
+ "value" : "oof"
+ }, {
+ "name" : "orchestrator",
+ "value" : "multicloud"
+ } ]
+ },
+ "project" : {
+ "projectName" : "Project-Demonstration"
+ },
+ "owningEntity" : {
+ "owningEntityId" : "98d5c337-ccd0-49d7-87b6-14b9a33d4c8a",
+ "owningEntityName" : "OE-Demonstration"
+ }
+ }
+ }
+ },
+ "response" : {
+ "status" : 202,
+ "json" : {
+ "requestReferences" : {
+ "requestId" : "4ae21be0-1766-482c-9462-3ef31328b969",
+ "instanceId" : "d7fd79c9-d0df-4f2f-a3b1-a9361304a991",
+ "requestSelfLink" : "http://10.12.5.110:30277/orchestrationRequests/v7/4ae21be0-1766-482c-9462-3ef31328b969"
+ }
+ }
+ }
+} ] \ No newline at end of file