diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-27 15:00:06 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-27 15:04:21 +0530 |
commit | 326ab04cac218451de266c8da1dced024d47df4f (patch) | |
tree | 5a89ed383ac484bfb150bd7b49e666bff4d66b30 | |
parent | 60b736981fdafe72b7dc70a53d3e94be2b320515 (diff) |
Add ems-unregister samples
CLI-57
Change-Id: I47e3bcc4abf6f5fdb2abf5f92e5de311d94b73d1
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
3 files changed, 27 insertions, 8 deletions
diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml deleted file mode 100644 index 99a92785..00000000 --- a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-sample-1.1.yaml +++ /dev/null @@ -1,8 +0,0 @@ -onap_cli_sample_version: 1.0 - -name: ems-unregister -version: onap-1.1 -samples: - sample1: - name: Delete the ems - input: -x f962fa1e-d439-4b02-a122-cc38fd0da07c -y 1505298922586 diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-moco.json b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-moco.json new file mode 100644 index 00000000..c5d12863 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-moco.json @@ -0,0 +1,18 @@ +[ {
+ "request" : {
+ "method" : "delete",
+ "uri" : "/aai/v11/external-system/esr-ems-list/esr-ems/51a480ed-649c-4c47-a84b-f966dc4f9554",
+ "headers" : {
+ "Authorization" : "Basic QUFJOkFBSQ==",
+ "X-FromAppId" : "onap-cli",
+ "Accept" : "application/json",
+ "X-TransactionId" : "req-d9a77e12-34be-4d8f-b7da-c749dbc3fc8a",
+ "Content-Type" : "application/json"
+ },
+ "json" : null
+ },
+ "response" : {
+ "status" : 204,
+ "json" : null
+ }
+} ]
\ No newline at end of file diff --git a/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml new file mode 100644 index 00000000..17437405 --- /dev/null +++ b/plugins/aai/src/test/resources/onap-cli-sample/esr/ems/ems-delete-schema-1.1-sample.yaml @@ -0,0 +1,9 @@ +onap_cli_sample_version: 1.0 +name: ems-unregister +version: onap-1.1 +samples: + sample1: + name: ems-unregister + input: --ems-id 51a480ed-649c-4c47-a84b-f966dc4f9554 --resource-version 1509095358658 + moco: ems-delete-schema-1.1-moco.json + ouput:
\ No newline at end of file |