Update vfc cli
[cli.git] / products / onap-dublin / features / vfc / src / main / resources / open-cli-schema / nslcm / vfc-nslcm-query-multinslcmopoccs.yaml
1 # Copyright (c) 2019, CMCC Technologies Co., Ltd.
2 # Licensed under the Apache License, Version 2.0 (the "License")
3 # you may not use this file except in compliance with the License.
4 # You may obtain a copy of the License at
5 # http://www.apache.org/licenses/LICENSE-2.0
6 # Unless required by applicable law or agreed to in writing, software
7 # distributed under the License is distributed on an "AS IS" BASIS,
8 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
9 # See the License for the specific language governing permissions and
10 # limitations under the License.
11
12 open_cli_schema_version: 1.0
13 name: vfc-nslcm-query-multinslcmopoccs
14 description: Query status information about multiple NS lifecycle management operation occurrences.
15
16 info:
17   product: onap-dublin
18   service: vfc
19   author: ONAP VFC Team (yangyanyj@chinamobile.com)
20
21 results:
22   direction: landscape
23   attributes:
24     - name: nslcm-opocc-id
25       description: nslcm-opocc-id
26       scope: short
27       type: string
28     - name: ns-operation-state
29       description: ns-operation-state
30       scope: short
31       type: string
32     - name: ns-instance-id
33       description: ns-instance-id
34       scope: short
35       type: string
36     - name: lcm-operation-type
37       description: lcm-operation-type
38       scope: short
39       type: string
40     - name: state-entered-time
41       description: state-entered-time
42       scope: short
43       type: string
44
45 http:
46   service:
47     auth: none
48     mode: direct
49   request:
50     uri: /api/nslcm/v1/ns_lcm_op_occs
51     method: GET
52     headers:
53       Content-Type: application/json
54       Accept: application/json
55
56   success_codes:
57     - 200
58
59   result_map:
60     nslcm-opocc-id: $b{$.[*].id}
61     ns-operation-state: $b{$.[*].operationState}
62     ns-instance-id: $b{$.[*].nsInstanceId}
63     lcm-operation-type: $b{$.[*].operation}
64     state-entered-time: $b{$.[*].stateEnteredTime}