aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-dublin/features
diff options
context:
space:
mode:
authorKanagaraj Manickam <mkr1481@gmail.com>2019-08-29 16:43:10 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2019-08-29 16:43:10 +0530
commit1ce99a7a96e51e5830530c1abd5d59c9b82bb93b (patch)
tree3aeaa1a7fe787c99c62f77fb8f55d2d07e295d1c /products/onap-dublin/features
parent2b1fee8203030c84a84dad49a6d111697f1a6522 (diff)
cloud-delete updates
Change-Id: I9b1ff18d2e0ebb4b4fb646caa9039cb666039425 Issue-ID: CLI-166 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-dublin/features')
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-moco.json18
-rw-r--r--products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-sample.yaml10
2 files changed, 28 insertions, 0 deletions
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-moco.json b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-moco.json
new file mode 100644
index 00000000..3d4c9222
--- /dev/null
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-moco.json
@@ -0,0 +1,18 @@
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/OCOMP/RegionOVP",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-30772fbf-3733-4fa8-a041-7810f1e212f1",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-sample.yaml b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-sample.yaml
new file mode 100644
index 00000000..05f49306
--- /dev/null
+++ b/products/onap-dublin/features/aai/src/main/resources/open-cli-sample/infra/cloud/cloud-delete-schema-dublin-sample.yaml
@@ -0,0 +1,10 @@
+open_cli_sample_version: 1.0
+name: cloud-delete
+version: onap-dublin
+samples:
+ sample1:
+ name: cloud-delete
+ input: --format json --resource-version 1567068896092 --region-name RegionOVP --cloud-name OCOMP
+ moco: cloud-delete-schema-dublin-moco.json
+ output: |
+ [{}]