61b664c5a8de2e89d30ca00142c8c415f0449fcf
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: vsp-validate
3 description: Validated the uploaded Vendor Software Product
4
5 info:
6   product: onap-amsterdam
7   service: sdc
8   author: ONAP CLI Team onap-discuss@lists.onap.org
9
10 parameters:
11   - name: vsp-id
12     description: Onap VSP ID
13     type: string
14     short_option: x
15     long_option: vsp-id
16     is_optional: false
17   - name: vsp-version
18     description: VSP version
19     type: string
20     short_option: y
21     long_option: vsp-version
22     is_optional: false
23
24 results:
25   direction: portrait
26   attributes:
27     - name: status
28       description: Validation status
29       scope: short
30       type: string
31     - name: errors
32       description: Validation messages
33       scope: short
34       type: json
35
36 http:
37   service:
38     name: sdc
39     version: v1.0
40     auth: basic
41     mode: direct
42   request:
43     uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/orchestration-template-candidate/process
44     method: PUT
45     body: '{}'
46   success_codes:
47     - 201
48     - 200
49   result_map:
50     status: $b{$.status}
51     errors: $b{$.errors}
52