aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/onap-amsterdam/features/sdc/src/main/resources/open-cli-schema/vf/vf-model-certify-request-schema-1.1.yaml
blob: 5af2098e740ff4361c9889f4fd5732a05f4fb4cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
open_cli_schema_version: 1.0
name: vf-model-certify-request
description: Request for certifying Virtual function

info:
  product: onap-amsterdam
  service: sdc
  author: ONAP CLI Team onap-discuss@lists.onap.org


parameters:
  - name: vf-id
    description: VF ID
    type: string
    long_option: vf-id
    short_option: b
    is_optional: true

http:
  service:
    name: sdc
    version: v1.0
    auth: basic
    mode: direct
  request:
    uri: /sdc2/rest/v1/catalog/resources/${vf-id}/lifecycleState/certificationRequest
    method: POST
    body: '{"userRemarks": "Requesting certification via CLI"}'
  success_codes:
    - 200