diff options
author | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-27 11:28:33 +0530 |
---|---|---|
committer | Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com> | 2017-10-27 11:28:33 +0530 |
commit | cf89814911f9bc760c4b203b36783aa773503aaa (patch) | |
tree | 3fafb6d6102d02a2823c105a938a8496f57ad49f /plugins/msb/src/test | |
parent | 2b748469cee89d3a8e1e4ec6f5c2733892f30da5 (diff) |
Add sample for microservice-delete
CLI-57
Change-Id: I41292b1d0b51d112dbf153b7fa419a8266a11be9
Signed-off-by: Kanagaraj Manickam k00365106 <kanagaraj.manickam@huawei.com>
Diffstat (limited to 'plugins/msb/src/test')
3 files changed, 26 insertions, 8 deletions
diff --git a/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-moco.json b/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-moco.json new file mode 100644 index 00000000..0c3d7e82 --- /dev/null +++ b/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-moco.json @@ -0,0 +1,15 @@ +[ { + "request" : { + "method" : "delete", + "uri" : "/api/microservices/v1/services/test/version/v1/nodes/10.0.0.1/8080", + "headers" : { + "Accept" : "application/json", + "Content-Type" : "application/json" + }, + "json" : null + }, + "response" : { + "status" : 200, + "json" : null + } +} ]
\ No newline at end of file diff --git a/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-sample.yaml b/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-sample.yaml new file mode 100644 index 00000000..1493fa2f --- /dev/null +++ b/plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-sample.yaml @@ -0,0 +1,11 @@ +onap_cli_sample_version: 1.0 + +name: microservice-delete +version: onap-1.1 +samples: + sample1: + name: microservice-delete + input: --service-name test --service-version v1 --host-url http://192.168.17.23:80 --node-ip 23.14.15.156 --node-port 80 + moco: microservice-delete-schema-moco.json + output: +
\ No newline at end of file diff --git a/plugins/msb/src/test/resources/onap-cli-sample/msb-delete-service-sample-1.1.yaml b/plugins/msb/src/test/resources/onap-cli-sample/msb-delete-service-sample-1.1.yaml deleted file mode 100644 index 2aaadb22..00000000 --- a/plugins/msb/src/test/resources/onap-cli-sample/msb-delete-service-sample-1.1.yaml +++ /dev/null @@ -1,8 +0,0 @@ -onap_cli_sample_version: 1.0 - -name: microservice-delete -version: onap-1.1 -samples: - sample1: - name: Delete a service - input: --service-name test-service --service-version v1 --host-url http://192.168.17.23:80 --node-ip 23.14.15.156 --node-port 80
\ No newline at end of file |