From cf89814911f9bc760c4b203b36783aa773503aaa Mon Sep 17 00:00:00 2001 From: Kanagaraj Manickam k00365106 Date: Fri, 27 Oct 2017 11:28:33 +0530 Subject: Add sample for microservice-delete CLI-57 Change-Id: I41292b1d0b51d112dbf153b7fa419a8266a11be9 Signed-off-by: Kanagaraj Manickam k00365106 --- .../onap-cli-sample/microservice-delete-schema-moco.json | 15 +++++++++++++++ .../microservice-delete-schema-sample.yaml | 11 +++++++++++ .../onap-cli-sample/msb-delete-service-sample-1.1.yaml | 8 -------- 3 files changed, 26 insertions(+), 8 deletions(-) create mode 100644 plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-moco.json create mode 100644 plugins/msb/src/test/resources/onap-cli-sample/microservice-delete-schema-sample.yaml delete mode 100644 plugins/msb/src/test/resources/onap-cli-sample/msb-delete-service-sample-1.1.yaml (limited to 'plugins/msb/src/test/resources/onap-cli-sample') 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 -- cgit 1.2.3-korg