3634a714658863c237aa311b1529359fef62f93b
[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: portrait
23   attributes:
24     - name: nslcm-opocc-id
25       description: nslcm-opocc-id
26       scope: short
27       type: string
28     - name: operation-state
29       description: 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: status-entered-time
41       description: status-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     context:
53       remove_empty_node: true
54     body: '{}'
55     headers:
56       Content-Type: application/json
57       Accept: application/json
58   success_codes:
59     - 200
60   result_map:
61     nslcm-opocc-id: $b{$.nslcmOpoccId}
62     ns-operation-state: $b{$.operationState}
63     ns-instance-id: $b{$.nsInstanceId}
64     lcm-operation-type-id: $b{$.lcmOperationType}
65     status-entered-time: $b{$.statusEnteredTime}