fix odl patches
[ccsdk/distribution.git] / platform-logic / ran-slice-api / src / main / json / ran-slice-api_terminateRANSliceInstance.json
1 [
2     {
3         "id": "e22b5c77.450b8",
4         "type": "method",
5         "name": "method",
6         "xml": "<method rpc='terminateRANSliceInstance' mode='sync'>\n",
7         "comments": "",
8         "outputs": 1,
9         "x": 270.9375,
10         "y": 299.75000381469727,
11         "z": "c8d763de.cd2d3",
12         "wires": [
13             [
14                 "dae4bb06.5e31a8"
15             ]
16         ]
17     },
18     {
19         "id": "e1606397.57329",
20         "type": "dgstart",
21         "name": "DGSTART",
22         "outputs": 1,
23         "x": 273.9375,
24         "y": 149.75,
25         "z": "c8d763de.cd2d3",
26         "wires": [
27             [
28                 "b8987f77.ede99"
29             ]
30         ]
31     },
32     {
33         "id": "b8987f77.ede99",
34         "type": "service-logic",
35         "name": "ran-slice-api ${project.version}",
36         "module": "ran-slice-api",
37         "version": "${project.version}",
38         "comments": "",
39         "xml": "<service-logic xmlns='http://www.onap.org/sdnc/svclogic' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' xsi:schemaLocation='http://www.onap.org/sdnc/svclogic ./svclogic.xsd' module='ran-slice-api' version='${project.version}'>",
40         "outputs": 1,
41         "x": 331.93748474121094,
42         "y": 210.75009536743164,
43         "z": "c8d763de.cd2d3",
44         "wires": [
45             [
46                 "e22b5c77.450b8"
47             ]
48         ]
49     },
50     {
51         "id": "dae4bb06.5e31a8",
52         "type": "block",
53         "name": "block : atomic",
54         "xml": "<block atomic='true'>",
55         "atomic": "true",
56         "comments": "",
57         "outputs": 1,
58         "x": 424.9375,
59         "y": 376.75,
60         "z": "c8d763de.cd2d3",
61         "wires": [
62             [
63                 "5a423671.2343d8",
64                 "c6768a65.44ffc8",
65                 "d9139e3.34c306",
66                 "1347fdb2.2d0f82"
67             ]
68         ]
69     },
70     {
71         "id": "5a423671.2343d8",
72         "type": "switchNode",
73         "name": "switch configdb deployed",
74         "xml": "<switch test='`$prop.configdb-deployed`'>\n\n",
75         "comments": "",
76         "outputs": 1,
77         "x": 670.9375076293945,
78         "y": 345.75000381469727,
79         "z": "c8d763de.cd2d3",
80         "wires": [
81             [
82                 "16f48f2d.8d8fa1",
83                 "f106cf7b.6f9a2"
84             ]
85         ]
86     },
87     {
88         "id": "16f48f2d.8d8fa1",
89         "type": "outcome",
90         "name": "ConfigDB Deployed",
91         "xml": "<outcome value='true'>\n",
92         "comments": "",
93         "outputs": 1,
94         "x": 848.9375305175781,
95         "y": 281.7499694824219,
96         "z": "c8d763de.cd2d3",
97         "wires": [
98             [
99                 "5b2f0c27.b24824"
100             ]
101         ]
102     },
103     {
104         "id": "f106cf7b.6f9a2",
105         "type": "outcome",
106         "name": "CPS Deployed",
107         "xml": "<outcome value='false'>\n",
108         "comments": "",
109         "outputs": 1,
110         "x": 803.9375076293945,
111         "y": 430.7500057220459,
112         "z": "c8d763de.cd2d3",
113         "wires": [
114             [
115                 "b9af5cbd.012ef"
116             ]
117         ]
118     },
119     {
120         "id": "b9af5cbd.012ef",
121         "type": "block",
122         "name": "block : atomic",
123         "xml": "<block atomic='true'>",
124         "atomic": "true",
125         "comments": "",
126         "outputs": 1,
127         "x": 1024.9375114440918,
128         "y": 426.74998140335083,
129         "z": "c8d763de.cd2d3",
130         "wires": [
131             [
132                 "1355d509.0ce79b",
133                 "ce35acf7.d6537"
134             ]
135         ]
136     },
137     {
138         "id": "5b2f0c27.b24824",
139         "type": "block",
140         "name": "block : atomic",
141         "xml": "<block atomic='true'>",
142         "atomic": "true",
143         "comments": "",
144         "outputs": 1,
145         "x": 1061.9375,
146         "y": 290.75,
147         "z": "c8d763de.cd2d3",
148         "wires": [
149             [
150                 "31f7e7a7.bd94e8",
151                 "a6b26799.2ec088"
152             ]
153         ]
154     },
155     {
156         "id": "31f7e7a7.bd94e8",
157         "type": "record",
158         "name": "record",
159         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-Configdb \"/>",
160         "comments": "",
161         "outputs": 1,
162         "x": 1245.9375,
163         "y": 247.75,
164         "z": "c8d763de.cd2d3",
165         "wires": [
166             []
167         ]
168     },
169     {
170         "id": "a6b26799.2ec088",
171         "type": "call",
172         "name": "call terminateRanslice-configdb",
173         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-configDB' mode='sync' >\n",
174         "comments": "",
175         "outputs": 1,
176         "x": 1331.616397857666,
177         "y": 302.50000762939453,
178         "z": "c8d763de.cd2d3",
179         "wires": [
180             []
181         ]
182     },
183     {
184         "id": "1355d509.0ce79b",
185         "type": "record",
186         "name": "record",
187         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Calling terminateranslice-CPS \"/>",
188         "comments": "",
189         "outputs": 1,
190         "x": 1228.9375,
191         "y": 425.75,
192         "z": "c8d763de.cd2d3",
193         "wires": [
194             []
195         ]
196     },
197     {
198         "id": "ce35acf7.d6537",
199         "type": "call",
200         "name": "call terminateRanslice-cps",
201         "xml": "<call module='ran-slice-api' rpc='terminateRANSliceInstance-cps' mode='sync' >\n",
202         "comments": "",
203         "outputs": 1,
204         "x": 1314.616397857666,
205         "y": 480.50000762939453,
206         "z": "c8d763de.cd2d3",
207         "wires": [
208             []
209         ]
210     },
211     {
212         "id": "3ac6e7d0.131a78",
213         "type": "comment",
214         "name": "terminateRANSliceInstance/instantiateRANSliceModifyDeallocate",
215         "info": "",
216         "comments": "",
217         "x": 808.9375,
218         "y": 88.75,
219         "z": "c8d763de.cd2d3",
220         "wires": []
221     },
222     {
223         "id": "c6768a65.44ffc8",
224         "type": "record",
225         "name": "record",
226         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"value of configdb deployed\"/>\n<parameter name=\"field2\" value='`$prop.configdb-deployed`'/>",
227         "comments": "",
228         "outputs": 1,
229         "x": 652.9375076293945,
230         "y": 283.75000381469727,
231         "z": "c8d763de.cd2d3",
232         "wires": [
233             []
234         ]
235     },
236     {
237         "id": "d9139e3.34c306",
238         "type": "execute",
239         "name": "execute Properties",
240         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.prop.PropertiesNode' method='readProperties' >\n    <parameter name='fileName' value='/opt/onap/ccsdk/data/properties/ran-slice-api-dg.properties' />\n    <parameter name='contextPrefix' value='prop' />\n",
241         "comments": "",
242         "outputs": 1,
243         "x": 650.9375076293945,
244         "y": 193.75000190734863,
245         "z": "c8d763de.cd2d3",
246         "wires": [
247             []
248         ]
249     },
250     {
251         "id": "1347fdb2.2d0f82",
252         "type": "record",
253         "name": "record",
254         "xml": "<record plugin=\"org.onap.ccsdk.sli.core.sli.recording.FileRecorder\">\n<parameter name=\"file\" value=\"/opt/opendaylight/current/data/log/instantiateRANSlice.log\" />\n<parameter name=\"level\" value=\"info\" />\n<parameter name=\"field1\" value=\"Properties read .. controller details \"/>\n<parameter name=\"field2\" value=\"`$prop.controller.user`\"/>\n<parameter name=\"field3\" value=\"`$prop.controller.pwd`\"/>\n<parameter name=\"field4\" value=\"`$prop.controller.url`\"/>\n<parameter name=\"field5\" value=\"ransim-mounted (true/false): \"/>\n<parameter name=\"field6\" value=\"`$prop.ransim-mounted`\"/>\n<parameter name=\"field7\" value=\"config DB deployed (true/false): \"/>\n<parameter name=\"field8\" value=\"`$prop.configdb-deployed`\"/>",
255         "comments": "",
256         "outputs": 1,
257         "x": 630.937557220459,
258         "y": 234.7500514984131,
259         "z": "c8d763de.cd2d3",
260         "wires": [
261             []
262         ]
263     }
264 ]