6c2db0898dc207009306a1dfacb9c40de0eeeebc
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / test / resources / input / wrongnumber.json
1
2
3 {
4         "request-info": {
5                 "action": "Start",
6                 "action-level": "vnf",
7                 "action-identifier": {
8                         "vnf-id": "dbgx0001v"
9                 },
10                 "payload": "ABC"
11         },
12         "inventory-info": {
13                 "vnf-info": {
14                         "vnf-id" : "abc",
15                         "vnf-name": "vSCP",
16                         "vnf-type": "vSCP",
17                         "vnf-version" : "1.0",
18                         "identity-url" : "test_url",
19                         "vm": [
20                                         {
21                                                 "vserver-id" : "be_vserverid1",
22                                                 "vm-id" : "vm_id1",
23                                                 "vnfc": 
24                                                                 {
25                                                                         "vnfc-type": "BE",
26                                                                         "vnfc-name": "BE - Name"
27                                                                 }
28                                                                 
29                                         },
30                                         {
31                                                 "vserver-id" : "fe_vserverid1",
32                                                 "vm-id" : "vm_id1",
33                                                 "vnfc": 
34                                                                 {
35                                                                         "vnfc-type": "FE",
36                                                                         "vnfc-name": "FE - Name"
37                                                                 }
38                                                                 
39                                         },
40                                         {
41                                                 "vserver-id" : "fe_vserverid2",
42                                                 "vm-id" : "vm_id1",
43                                                 "vnfc": 
44                                                                 {
45                                                                         "vnfc-type": "FE",
46                                                                         "vnfc-name": "FE - Name"
47                                                                 }
48                                                                 
49                                         },
50                                         {
51                                                 "vserver-id" : "be_vserverid2",
52                                                 "vm-id" : "vm_id1",
53                                                 "vnfc": 
54                                                                 {
55                                                                         "vnfc-type": "BE",
56                                                                         "vnfc-name": "BE - Name"
57                                                                 }
58                                                                 
59                                         },
60                                         {
61                                                 "vserver-id" : "be_vserverid3",
62                                                 "vm-id" : "vm_id1",
63                                                 "vnfc": 
64                                                                 {
65                                                                         "vnfc-type": "BE",
66                                                                         "vnfc-name": "BE - Name"
67                                                                 }
68                                                                 
69                                         },
70                                         {
71                                                 "vserver-id" : "smp_vserverid1",
72                                                 "vm-id" : "vm_id1",
73                                                 "vnfc": 
74                                                                 {
75                                                                         "vnfc-type": "SMP",
76                                                                         "vnfc-name": "SMP - Name"
77                                                                 }
78                                                                 
79                                         },
80                                         {
81                                                 "vserver-id" : "smp_vserverid2",
82                                                 "vm-id" : "vm_id1",
83                                                 "vnfc": 
84                                                                 {
85                                                                         "vnfc-type": "SMP",
86                                                                         "vnfc-name": "SMP - Name"
87                                                                 }                                                               
88                                         },
89                                         {
90                                                 "vserver-id" : "be_vserverid4",
91                                                 "vm-id" : "vm_id1",
92                                                 "vnfc":
93                                                 {
94                                                         "vnfc-type": "BE",
95                                                         "vnfc-name": "BE - Name"
96                                                 }
97
98                                         },
99                                         {
100                                                 "vserver-id" : "be_vserverid5",
101                                                 "vm-id" : "vm_id1",
102                                                 "vnfc":
103                                                 {
104                                                         "vnfc-type": "BE",
105                                                         "vnfc-name": "BE - Name"
106                                                 }
107
108                                         }
109                         ]
110                 }
111         },
112         "dependency-info": {
113                 "vnfcs" : [
114                         {
115                                 "vnfc-type" : "BE",
116                                 "mandatory" : "true",
117                                 "resilience": "Active-Active",
118                                 "parents" : [
119                                         "SMP"
120                                 ]
121                         },
122                         {
123                                 "vnfc-type" : "FE",
124                                 "mandatory" : "true",
125                                 "resilience": "Active-Active",
126                                 "parents" : [
127                                         "BE"
128                                 ]
129                         },
130                         {
131                                 "vnfc-type" : "SMP",
132                                 "mandatory" : "true",
133                                 "resilience": "Active-Passive",
134                                 "parents" : []
135                         }
136                 ]
137         },
138         "tunable-parameters": {
139                 "strategy" : "FORWARD",
140                 "wait-time": "6a",
141                 "retry-count": "5"
142         },
143         "capabilities" : {
144                 "vnf": ["Stop", "Start", "StartApplication","StopApplication"],
145                 "vf-module": ["Stop", "Start"],
146                 "vm" : ["Stop", "Start"],
147                 "vnfc": ["StopApplication", "StartApplication","HealthCheck"]
148         }
149 }
150
151