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.
12 open_cli_schema_version: 1.0
13 name: vfc-nslcm-get-subscription
14 description: vfc nsclm subscribe notification
19 author: ONAP VFC Team (yangyanyj@chinamobile.com)
23 description: callback-uri
26 long_option: callback-uri
28 - name: notification-types
29 description: the type of notification
32 long_option: notification-types
38 - name: subscription_id
39 description: subscription_id
43 description: callback-uri
60 uri: /api/nslcm/v1/subscriptions
63 remove_empty_node: true
66 "callbackUri": "${callback-uri}",
68 "authType": ["BASIC"],
70 "username": "username",
71 "password": "password"
75 "notificationTypes": ["${notification-types}"],
86 Content-Type: application/json
87 Accept: application/json
91 subscription_id: $b{$.subscriptionId}
92 callback-Uri: $b{$.callbackUri}