aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type
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/aai/src/main/resources/open-cli-sample/business/service-type
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/aai/src/main/resources/open-cli-sample/business/service-type')
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-moco.json21
-rw-r--r--products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-sample.yaml9
2 files changed, 30 insertions, 0 deletions
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-moco.json b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-moco.json
new file mode 100644
index 00000000..31a4e080
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-moco.json
@@ -0,0 +1,21 @@
+[ {
+ "request" : {
+ "method" : "put",
+ "uri" : "/aai/v13/service-design-and-creation/services/service/da43d94a-cd5f-4709-8c1b-593d7a3939c2",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-a49f56ef-61c6-4768-ae63-64742594a0bd",
+ "Content-Type" : "application/json"
+ },
+ "json" : {
+ "service-description" : "vFW",
+ "service-id" : "da43d94a-cd5f-4709-8c1b-593d7a3939c2"
+ }
+ },
+ "response" : {
+ "status" : 201,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-sample.yaml b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-sample.yaml
new file mode 100644
index 00000000..0d20c762
--- /dev/null
+++ b/products/onap-elalto/features/aai/src/main/resources/open-cli-sample/business/service-type/service-type-create-schema-elalto-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: service-type-create
+version: onap-elalto
+samples:
+ sample1:
+ name: service-type-create
+ input: -x vFW -m https://10.12.5.110:30233 -u AAI -p AAI
+ moco: service-type-create-schema-elalto-moco.json
+ output: \ No newline at end of file