a35c508dbd791e9088444af06cdcca04fce11021
[cli.git] / products / onap-dublin / features / vfc / src / main / resources / open-cli-schema / nslcm / vfc-nslcm-get-jobid.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-get-jobid
14 description: vfc nsclm get the jobid of  ns created job
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: ns-job-id
25       description: ns-job-id
26       scope: short
27       type: string
28     - name: ns-name
29       description: ns-name
30       scope: short
31       type: string
32     - name: description
33       description: description
34       scope: short
35       type: string
36
37 http:
38   service:
39     auth: none
40     mode: direct
41   request:
42     uri: /api/nsd/v1/ns_descriptors
43     method: GET
44     context:
45       remove_empty_node: true
46     body: '{}'
47     headers:
48       Content-Type: application/json
49       Accept: application/json
50   success_codes:
51     - 200
52   result_map:
53     ns-job-id: $b{$.ns-job-id}
54     ns-name: $b{$.nsName}
55     description: $b{$.description}