Allow sub directories for graphs
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / sdwan / GENERIC-RESOURCE-API_sdwan-get-saved-ar-param.json
1 [
2   {
3     "id": "3dce5aae.d1aee6",
4     "type": "dgstart",
5     "name": "DGSTART",
6     "outputs": 1,
7     "x": 156,
8     "y": 74,
9     "z": "15a92351.612ddd",
10     "wires": [
11       [
12         "aa9eff05.9e62c"
13       ]
14     ]
15   },
16   {
17     "id": "aa9eff05.9e62c",
18     "type": "service-logic",
19     "name": "GENERIC-RESOURCE-API ${project.version}",
20     "module": "GENERIC-RESOURCE-API",
21     "version": "${project.version}",
22     "comments": "",
23     "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='GENERIC-RESOURCE-API' version='${project.version}'>",
24     "outputs": 1,
25     "x": 368.00000381469727,
26     "y": 146.0000171661377,
27     "z": "15a92351.612ddd",
28     "wires": [
29       [
30         "b770609e.14977"
31       ]
32     ]
33   },
34   {
35     "id": "b770609e.14977",
36     "type": "method",
37     "name": "sdwan-get-saved-ar-param",
38     "xml": "<method rpc='sdwan-get-saved-ar-param' mode='sync'>\n",
39     "comments": "",
40     "outputs": 1,
41     "x": 356.0001220703125,
42     "y": 234,
43     "z": "15a92351.612ddd",
44     "wires": [
45       [
46         "a63eeccf.054de"
47       ]
48     ]
49   },
50   {
51     "id": "a63eeccf.054de",
52     "type": "block",
53     "name": "block : atomic",
54     "xml": "<block atomic=\"true\">\n",
55     "atomic": "false",
56     "comments": "",
57     "outputs": 1,
58     "x": 363.00001525878906,
59     "y": 320.0000581741333,
60     "z": "15a92351.612ddd",
61     "wires": [
62       [
63         "cef1b9ba.94d2a8"
64       ]
65     ]
66   },
67   {
68     "id": "cef1b9ba.94d2a8",
69     "type": "for",
70     "name": "for each sdwan-get-request-input-param",
71     "xml": "<for index='idx' start='0' end='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param_length`' >\n",
72     "comments": "",
73     "outputs": 1,
74     "x": 399.6667785644531,
75     "y": 402.666654586792,
76     "z": "15a92351.612ddd",
77     "wires": [
78       [
79         "c63bf491.f9e008"
80       ]
81     ]
82   },
83   {
84     "id": "c63bf491.f9e008",
85     "type": "block",
86     "name": "block",
87     "xml": "<block>\n",
88     "atomic": "false",
89     "comments": "",
90     "outputs": 1,
91     "x": 664.5002822875977,
92     "y": 312.00004625320435,
93     "z": "15a92351.612ddd",
94     "wires": [
95       [
96         "2cd7df9b.ab1b",
97         "10f6f64f.edbe1a",
98         "95d1c864.f5bfb8"
99       ]
100     ]
101   },
102   {
103     "id": "2cd7df9b.ab1b",
104     "type": "switchNode",
105     "name": "switch sdwanVpnName",
106     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'sdwanVpnName'`\">",
107     "comments": "",
108     "outputs": 1,
109     "x": 886.5000534057617,
110     "y": 216.0000514984131,
111     "z": "15a92351.612ddd",
112     "wires": [
113       [
114         "2a8eb492.677abc"
115       ]
116     ]
117   },
118   {
119     "id": "2a8eb492.677abc",
120     "type": "outcomeTrue",
121     "name": "true",
122     "xml": "<outcome value='true'>\n",
123     "comments": "",
124     "outputs": 1,
125     "x": 1073.5000534057617,
126     "y": 212.0000514984131,
127     "z": "15a92351.612ddd",
128     "wires": [
129       [
130         "e2c23ccb.74de1"
131       ]
132     ]
133   },
134   {
135     "id": "e2c23ccb.74de1",
136     "type": "set",
137     "name": "set sdwanVpnName",
138     "xml": "<set>\n<parameter name='prop.connection-attachment.sdwanVpnName' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
139     "comments": "",
140     "x": 1241.5000534057617,
141     "y": 212.6000576019287,
142     "z": "15a92351.612ddd",
143     "wires": []
144   },
145   {
146     "id": "10f6f64f.edbe1a",
147     "type": "switchNode",
148     "name": "switch role",
149     "xml": "<switch test=\"`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].name == 'role'`\">",
150     "comments": "",
151     "outputs": 1,
152     "x": 849.0105400085449,
153     "y": 280.00007152557373,
154     "z": "15a92351.612ddd",
155     "wires": [
156       [
157         "ab95aeff.fed7f"
158       ]
159     ]
160   },
161   {
162     "id": "ab95aeff.fed7f",
163     "type": "outcomeTrue",
164     "name": "true",
165     "xml": "<outcome value='true'>\n",
166     "comments": "",
167     "outputs": 1,
168     "x": 1074.010482788086,
169     "y": 271.0000514984131,
170     "z": "15a92351.612ddd",
171     "wires": [
172       [
173         "73eae7d6.c393c8"
174       ]
175     ]
176   },
177   {
178     "id": "73eae7d6.c393c8",
179     "type": "set",
180     "name": "set role",
181     "xml": "<set>\n<parameter name='prop.connection-attachment.role' value='`$connection-attachment-ar.allotted-resource-data.allotted-resource-operation-information.connection-attachment-request-input.param[$idx].value`' />\n",
182     "comments": "",
183     "x": 1242.010482788086,
184     "y": 271.6000576019287,
185     "z": "15a92351.612ddd",
186     "wires": []
187   },
188   {
189     "id": "95d1c864.f5bfb8",
190     "type": "returnSuccess",
191     "name": "return success",
192     "xml": "<return status='success'>\n<parameter name=\"ack-final-indicator\" value=\"Y\" />\n<parameter name=\"error-code\" value=\"200\" />\n<parameter name=\"error-message\" value=\"`$error-message`\" />\n",
193     "comments": "",
194     "x": 863.0002212524414,
195     "y": 344.000036239624,
196     "z": "15a92351.612ddd",
197     "wires": []
198   }
199 ]