aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
diff options
context:
space:
mode:
authorzhaoliping123 <zhaoliping@chinamobile.com>2019-10-23 09:06:10 +0800
committerzhaoliping123 <zhaoliping@chinamobile.com>2019-10-25 14:18:15 +0800
commite9ef02853368d60f0288717d341abd1272c23a60 (patch)
tree133f7468816004dd39ba0fb1de04735568104440 /tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
parent82c77373361dc8eb8747beb42d1c92dd86302673 (diff)
Update test cases for VF-C LCM to CSIT
Issue-ID: VFC-1534 Change-Id: I73f67654afee9b24d7947b485876a0e4e7138c61 Signed-off-by: zhaoliping123 <zhaoliping@chinamobile.com>
Diffstat (limited to 'tests/vfc/nfvo-lcm/jsoninput/create_subscription.json')
-rw-r--r--tests/vfc/nfvo-lcm/jsoninput/create_subscription.json65
1 files changed, 15 insertions, 50 deletions
diff --git a/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json b/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
index 553d38ce..a3368974 100644
--- a/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
+++ b/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
@@ -1,54 +1,19 @@
{
- "callbackUri": "/api/nslcm/v1/subscriptions",
- "filter": {
- "nsInstanceSubscriptionFilter": {
- "nsdIds": [
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- ],
- "vnfdIds": [
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- ],
- "pnfdIds": [
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- ],
- "nsInstanceIds": [
- "3fa85f64-5717-4562-b3fc-2c963f66afa6"
- ],
- "nsInstanceNames": [
- "ns1"
- ]
+ "callbackUri": "http://aurl.com",
+ "authentication": {
+ "authType": ["BASIC"],
+ "paramsBasic": {
+ "username": "username",
+ "password": "password"
+ }
},
- "notificationTypes": [
- "NsLcmOperationOccurrenceNotification"
- ],
- "operationTypes": [
- "INSTANTIATE"
- ],
- "operationStates": [
- "STARTING"
- ],
- "nsComponentTypes": [
- "VNF"
- ],
- "lcmOpNameImpactingNsComponent": [
- "VNF_INSTANTIATE"
- ],
- "lcmOpOccStatusImpactingNsComponent": [
- "START"
- ]
- },
- "authentication": {
- "authType": [
- "BASIC"
- ],
- "paramsBasic": {
- "userName": "test",
- "password": "test"
- },
- "paramsOauth2ClientCredentials": {
- "clientId": "123",
- "clientPassword": "test",
- "tokenEndpoint": "test"
+ "filter": {
+ "notificationTypes": ["NsLcmOperationOccurrenceNotification"],
+ "operationTypes": [
+ "INSTANTIATE"
+ ],
+ "operationStates": [
+ "STARTING"
+ ]
}
- }
} \ No newline at end of file