summaryrefslogtreecommitdiffstats
path: root/plugins/msb/src/main
diff options
context:
space:
mode:
authorsubhash kumar singh <subhash.kumar.singh@huawei.com>2017-09-20 19:15:29 +0530
committersubhash kumar singh <subhash.kumar.singh@huawei.com>2017-09-20 19:15:29 +0530
commit5d47dbc78fa18d8147fcc8d94c79b0bdabb78d22 (patch)
tree7d8d87eb9f6049652a457b59d74957e7ef283df5 /plugins/msb/src/main
parentc2e27669b6e127ab9b9082926c91d47cc9cf379a (diff)
Fix yaml for microservice-delete command
Fix yaml for microservice-delete command. Change-Id: I48fa6080f2040c8c147d1c58321c2c3355fca9cc Issue-ID: CLI-45 Signed-off-by: subhash kumar singh <subhash.kumar.singh@huawei.com>
Diffstat (limited to 'plugins/msb/src/main')
-rw-r--r--plugins/msb/src/main/resources/onap-cli-schema/microservice-delete-schema.yaml16
1 files changed, 15 insertions, 1 deletions
diff --git a/plugins/msb/src/main/resources/onap-cli-schema/microservice-delete-schema.yaml b/plugins/msb/src/main/resources/onap-cli-schema/microservice-delete-schema.yaml
index 81d9d486..82eabf95 100644
--- a/plugins/msb/src/main/resources/onap-cli-schema/microservice-delete-schema.yaml
+++ b/plugins/msb/src/main/resources/onap-cli-schema/microservice-delete-schema.yaml
@@ -5,6 +5,7 @@ version: onap-1.1
service:
name: msb
version: v1
+ auth: none
parameters:
- name: service-name
@@ -19,14 +20,27 @@ parameters:
short_option: y
long_option: service-version
is_optional: false
+ - name: node-ip
+ description: Onap service running node IP
+ type: string
+ short_option: i
+ long_option: node-ip
+ is_optional: false
+ - name: node-port
+ description: Onap service running node port
+ type: string
+ short_option: r
+ long_option: node-port
+ is_optional: false
http:
request:
- uri: /services/${service-name}/version/${service-version}
+ uri: /services/${service-name}/version/${service-version}/nodes/${node-ip}/${node-port}
method: DELETE
success_codes:
- 201
- 200
- 204
+ - 500