Update license header in misc appc files
[appc.git] / appc-sequence-generator / appc-sequence-generator-bundle / src / test / resources / input / stop-without-dep.json
1 /*-
2  * ============LICENSE_START=======================================================
3  * ONAP : APPC
4  * ================================================================================
5  * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved.
6  * ================================================================================
7  * Copyright (C) 2017 Amdocs
8  * =============================================================================
9  * Licensed under the Apache License, Version 2.0 (the "License");
10  * you may not use this file except in compliance with the License.
11  * You may obtain a copy of the License at
12  * 
13  *      http://www.apache.org/licenses/LICENSE-2.0
14  * 
15  * Unless required by applicable law or agreed to in writing, software
16  * distributed under the License is distributed on an "AS IS" BASIS,
17  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18  * See the License for the specific language governing permissions and
19  * limitations under the License.
20  * 
21  * ECOMP is a trademark and service mark of AT&T Intellectual Property.
22  * ============LICENSE_END=========================================================
23  */
24
25
26
27
28 {
29   "request-info":
30   {
31     "action": "Stop",
32     "action-level": "vm",
33     "action-identifier":
34     {
35       "vnf-id": "dbgx0001v"
36     },
37     "payload":  " {\"vnf-host-ip-address\": \"10.147.124.163\" }"
38
39   },
40   "inventory-info":
41   {
42     "vnf-info":
43     {
44       "vnf-id" : "abc",
45       "vnf-name": "vVNF",
46       "vnf-type": "vVNF",
47       "vnf-version" : "1.0",
48       "vm":
49       [
50         {
51           "vserver-id" : "vnfc2_vserverid1",
52           "vnfc":
53           {
54             "vnfc-type": "VNFC2",
55             "vnfc-name": "VNFC2 - Name"
56           }
57
58         },
59         {
60           "vserver-id" : "vnfc3_vserverid1",
61           "vnfc":
62           {
63             "vnfc-type": "VNFC3",
64             "vnfc-name": "VNFC3 - Name"
65           }
66
67         },
68         {
69           "vserver-id" : "vnfc3_vserverid2",
70           "vnfc":
71           {
72             "vnfc-type": "VNFC3",
73             "vnfc-name": "VNFC3 - Name"
74           }
75
76         },
77         {
78           "vserver-id" : "vnfc2_vserverid2",
79           "vnfc":
80           {
81             "vnfc-type": "VNFC2",
82             "vnfc-name": "VNFC2 - Name"
83           }
84
85         },
86         {
87           "vserver-id" : "vnfc2_vserverid3",
88           "vnfc":
89           {
90             "vnfc-type": "VNFC2",
91             "vnfc-name": "VNFC2 - Name"
92           }
93
94         },
95         {
96           "vserver-id" : "vnfc1_vserverid1",
97           "vnfc":
98           {
99             "vnfc-type": "VNFC1",
100             "vnfc-name": "VNFC1 - Name"
101           }
102
103         },
104         {
105           "vserver-id" : "vnfc1_vserverid2",
106           "vnfc":
107           {
108             "vnfc-type": "VNFC1",
109             "vnfc-name": "VNFC1 - Name"
110           }
111         },
112         {
113           "vserver-id" : "vnfc2_vserverid4",
114           "vnfc":
115           {
116             "vnfc-type": "VNFC2",
117             "vnfc-name": "VNFC2 - Name"
118           }
119
120         },
121         {
122           "vserver-id" : "vnfc2_vserverid5",
123           "vnfc":
124           {
125             "vnfc-type": "VNFC2",
126             "vnfc-name": "VNFC2 - Name"
127           }
128
129         }
130       ]
131     }
132   },
133   "dependency-info":
134   {
135     "vnfcs" :
136     [
137       {
138         "vnfc-type" : "VNFC2",
139         "mandatory" : "true",
140         "resilience": "Active-Active",
141         "parents" :
142         [
143           "VNFC1"
144         ]
145       },
146       {
147         "vnfc-type" : "VNFC3",
148         "mandatory" : "true",
149         "resilience": "Active-Active",
150         "parents" :
151         [
152           "VNFC2"
153         ]
154       },
155       {
156         "vnfc-type" : "VNFC1",
157         "mandatory" : "true",
158         "resilience": "Active-Passive",
159         "parents" : []
160       }
161     ]
162   },
163   "tunable-parameters":
164   {
165     "strategy" : "FORWARD",
166     "wait-time": "120",
167     "retry-count": "5"
168   },
169   "capabilities" :
170   {
171     "vnf":
172     [
173       "Stop",
174       "Start",
175       "StartApplication",
176       "StopApplication"
177     ],
178     "vf-module":
179     [
180       "Stop",
181       "Start"
182     ],
183     "vm" :
184     [
185       "Stop",
186       "Start"
187     ],
188     "vnfc":
189     [
190       "StopApplication",
191       "StartApplication",
192       "HealthCheck"
193     ]
194   }
195 }
196
197