446f002acaa3b4f2cfc9fd9470384a6b82948d71
[cli.git] /
1 open_cli_schema_version: 1.0
2 name: vsp-add-artifact
3 description: Upload the CSAR file to VSP
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: Onap VSP version
19     type: string
20     short_option: y
21     long_option: vsp-version
22     is_optional: false
23   - name: vsp-file
24     description: CSAR File path
25     type: binary
26     short_option: z
27     long_option: vsp-file
28     is_optional: false
29 http:
30   request:
31     uri: /onboarding-api/v1.0/vendor-software-products/${vsp-id}/versions/${vsp-version}/orchestration-template-candidate
32     method: POST
33     body: ${vsp-file}
34     multipart_entity_name: upload
35   success_codes:
36     - 200