aboutsummaryrefslogtreecommitdiffstats
path: root/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
diff options
context:
space:
mode:
authorKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 10:02:21 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-09-28 10:02:21 +0530
commitd7d205a9bd77d39c037b06431baea95d51f23ece (patch)
tree87b6d2f23361cc0e2ad03304c86f585451b54765 /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
parent0d4a732a87a7a03c859c26cbce50ab1b7974181d (diff)
Casablanca: AAI customer-delete
Issue-ID: CLI-122 Change-Id: I79f0507e21f12f78dc673a56af4f988e7ea519f4 Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'products/onap-casablanca/features/aai/src/main/resources/open-cli-sample')
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json18
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-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/customer/customer-delete-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json
new file mode 100644
index 00000000..5caefa73
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-moco.json
@@ -0,0 +1,18 @@
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/business/customers/customer/mrkanag",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-491247e3-a6c7-4c4a-8af5-a98c85442307",
+ "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/customer/customer-delete-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml
new file mode 100644
index 00000000..221f2a62
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/customer/customer-delete-schema-casablanca-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: customer-delete
+version: onap-casablanca
+samples:
+ sample1:
+ name: customer-delete
+ input: --customer-id mrkanag --resource-version 1538105836430 -d
+ moco: customer-delete-schema-casablanca-moco.json
+ output: \ No newline at end of file