aboutsummaryrefslogtreecommitdiffstats
path: root/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
diff options
context:
space:
mode:
authorzhaoliping123 <zhaoliping@chinamobile.com>2019-10-15 15:20:08 +0800
committerzhaoliping123 <zhaoliping@chinamobile.com>2019-10-15 17:32:45 +0800
commit179d6fc0411bdf3d7a3dd64e65ba151797939d22 (patch)
tree66044f8a123a859a9c7989b5049b8850d2a44a9c /tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
parent357d8e2863841cee3373c9e3c692a996809d71ef (diff)
Add some test cases for VF-C to CSIT
Issue-ID: VFC-1534 Change-Id: Ie98a32cfadbde57bf35d3de52e5d222a251aaebe 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.json54
1 files changed, 54 insertions, 0 deletions
diff --git a/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json b/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
new file mode 100644
index 00000000..553d38ce
--- /dev/null
+++ b/tests/vfc/nfvo-lcm/jsoninput/create_subscription.json
@@ -0,0 +1,54 @@
+{
+ "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"
+ ]
+ },
+ "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"
+ }
+ }
+} \ No newline at end of file