aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 15:43:05 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 15:43:05 +0530
commit06cceac359077734935d01c8d0a8eeeee3efbb3c (patch)
tree813345d85a506f4ad6087d33ce66254c666634d6 /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra
parent65d1525181b92ab52fa07a277ed897f2634458a8 (diff)
Casablanca: AAI tenant-delete
Issue-ID: CLI-122 Change-Id: I597d39e87efbf4c9e4ecb7a251c210ac451322c5 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra')
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-moco.json18
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-sample.yaml9
2 files changed, 27 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-moco.json
new file mode 100644
index 00000000..59fd1837
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-moco.json
@@ -0,0 +1,18 @@
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/cloud-infrastructure/cloud-regions/cloud-region/huawei-cloud/bangalore/tenants/tenant/b00fc210-dd12-4b40-be2f-b9ef9153c00c",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-f9356ea8-6829-454c-b61f-2be4245d2f5d",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-sample.yaml
new file mode 100644
index 00000000..3694cfa3
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/infra/tenant/tenant-delete-schema-casablanca-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: tenant-delete
+version: onap-casablanca
+samples:
+ sample1:
+ name: tenant-delete
+ input: --cloud huawei-cloud --region bangalore --tenant-id b00fc210-dd12-4b40-be2f-b9ef9153c00c --resource-version 1538647781315
+ moco: tenant-delete-schema-casablanca-moco.json
+ output: \ No newline at end of file