summaryrefslogtreecommitdiffstats
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-10-04 16:04:27 +0530
committerKanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>2018-10-04 16:07:35 +0530
commit044700ba9d44e9ae9668d7e6084e1837fba6bc11 (patch)
tree32241d659c73f7689240f4e35813cf43bda7de3b /products/onap-casablanca/features/aai/src/main/resources/open-cli-sample
parent863ba1de7be038c4ff3ac08356ccf9825760cfa7 (diff)
Casablanca: AAI sdnc-delete
Issue-ID: CLI-122 Change-Id: Ic0afb91d3fcfcc842254feb8832f04ed080abd3e 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/esr/sdnc/sdnc-delete-schema-casablanca-moco.json26
-rw-r--r--products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-sample.yaml9
2 files changed, 35 insertions, 0 deletions
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json
new file mode 100644
index 00000000..87d76b12
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-moco.json
@@ -0,0 +1,26 @@
+[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v13/external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "ONAP CLI",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-7b427aa1-1d6d-4a4f-90a3-264cc42f1ab8",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 404,
+ "json" : {
+ "requestError" : {
+ "serviceException" : {
+ "messageId" : "SVC3001",
+ "text" : "Resource not found for %1 using id %2 (msg=%3) (ec=%4)",
+ "variables" : [ "DELETE", "external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "Node Not Found:No Node of type esr-thirdparty-sdnc found at: external-system/esr-thirdparty-sdnc-list/esr-thirdparty-sdnc/6fbb4251-2eb1-4c41-b01f-4e5b128afabe", "ERR.5.4.6114" ]
+ }
+ }
+ }
+ }
+} ] \ No newline at end of file
diff --git a/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-sample.yaml b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-sample.yaml
new file mode 100644
index 00000000..822cac94
--- /dev/null
+++ b/products/onap-casablanca/features/aai/src/main/resources/open-cli-sample/esr/sdnc/sdnc-delete-schema-casablanca-sample.yaml
@@ -0,0 +1,9 @@
+open_cli_sample_version: 1.0
+name: sdnc-delete
+version: onap-casablanca
+samples:
+ sample1:
+ name: sdnc-delete
+ input: --sdnc-id 6fbb4251-2eb1-4c41-b01f-4e5b128afabe --resource-version 1538648650726
+ moco: sdnc-delete-schema-casablanca-moco.json
+ output: \ No newline at end of file