82eabf9589ebd2894c97ee9eea40320d4e99ab0b
[cli.git] / plugins / msb / src / main / resources / onap-cli-schema / microservice-delete-schema.yaml
1 open_cli_schema_version: 1.0
2 name: microservice-delete
3 description: Deletes the micro service from Onap
4 version: onap-1.1
5 service:
6   name: msb
7   version: v1
8   auth: none
9
10 parameters:
11   - name: service-name
12     description: Onap service name
13     type: string
14     short_option: x
15     long_option: service-name
16     is_optional: false
17   - name: service-version
18     description: Onap service version
19     type: string
20     short_option: y
21     long_option: service-version
22     is_optional: false
23   - name: node-ip
24     description: Onap service running node IP
25     type: string
26     short_option: i
27     long_option: node-ip
28     is_optional: false
29   - name: node-port
30     description: Onap service running node port
31     type: string
32     short_option: r
33     long_option: node-port
34     is_optional: false
35 http:
36   request:
37     uri: /services/${service-name}/version/${service-version}/nodes/${node-ip}/${node-port}
38     method: DELETE
39   success_codes:
40     - 201
41     - 200
42     - 204
43     - 500
44
45
46