diff options
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 |