1 open_cli_schema_version: 1.0
2 name: microservice-list
3 description: Lists the registetred micro services in Onap
7 product: onap-amsterdam
9 author: ONAP CLI Team onap-discuss@lists.onap.org
15 description: Onap service name
19 description: Onap service version
23 description: Onap service base url
27 description: Onap service status
31 description: Onap service running nodes
35 description: Onap service is enabled with https or not
39 description: Onap service path
53 name: $b{$.[*].serviceName}
54 version: $b{$.[*].version}
56 status: $b{$.[*].status}
57 enable-ssl: $b{$.[*].enable_ssl}
59 nodes: $b{$.[*].nodes[*].ip}:$b{$.[*].nodes[*].port}
61 body: '[{"serviceName":"test","version":"v1","url":"/api/test/v1","protocol":"REST","visualRange":"1","lb_policy":"hash","nodes":[{"ip":"127.0.0.1","port":"8012","ttl":0,"nodeId":"test_127.0.0.1_8012","expiration":"2017-02-10T05:33:25Z","created_at":"2017-02-10T05:33:25Z","updated_at":"2017-02-10T05:33:25Z"}],"status":"1"}]'