a263325a25b8c64b8976c953266acc2be7905fea
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_get-tunnelxconn-ar.json
1 [
2   {
3     "id":"39f3ae67.7e9242",
4     "type":"dgstart",
5     "name":"DGSTART",
6     "outputs":1,
7     "x":186.66665649414062,
8     "y":111.66666412353516,
9     "z":"e0aca357.6f32a",
10     "wires":[
11       [
12         "a29ec69.164b938"
13       ]
14     ]
15   },
16   {
17     "id":"a29ec69.164b938",
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":282.90473556518555,
26     "y":172.61905479431152,
27     "z":"e0aca357.6f32a",
28     "wires":[
29       [
30         "4705cb34.a0c174"
31       ]
32     ]
33   },
34   {
35     "id":"4705cb34.a0c174",
36     "type":"method",
37     "name":"get-tunnelxconn-ar",
38     "xml":"<method rpc='get-tunnelxconn-ar' mode='sync'>\n",
39     "comments":"",
40     "outputs":1,
41     "x":303.82152938842773,
42     "y":241.1904535293579,
43     "z":"e0aca357.6f32a",
44     "wires":[
45       [
46         "7864ada9.710574"
47       ]
48     ]
49   },
50   {
51     "id":"7864ada9.710574",
52     "type":"block",
53     "name":"block : atomic",
54     "xml":"<block atomic=\"true\">",
55     "atomic":"true",
56     "comments":"",
57     "outputs":1,
58     "x":237.14284896850586,
59     "y":351.19045209884644,
60     "z":"e0aca357.6f32a",
61     "wires":[
62       [
63         "2c32d527.ae06da",
64         "9e578822.5550a8"
65       ]
66     ]
67   },
68   {
69     "id":"9e578822.5550a8",
70     "type":"for",
71     "name":"for tmp.tunnel-ar",
72     "xml":"<for index='tunnelidx' start='0' end='`$tmp.tunnel-ar.data.tunnelxconn-allotted-resources.tunnelxconn-allotted-resource_length`' >\n\n\n",
73     "comments":"",
74     "outputs":1,
75     "x":421.66666412353516,
76     "y":359.9999370574951,
77     "z":"e0aca357.6f32a",
78     "wires":[
79       [
80         "4655d18f.1efdc"
81       ]
82     ]
83   },
84   {
85     "id":"2c32d527.ae06da",
86     "type":"get-resource",
87     "name":"get-resource tunnelxconn-ar",
88     "xml":"<get-resource plugin='org.onap.ccsdk.sli.adaptors.resource.mdsal.ConfigResource' resource='GENERIC-RESOURCE-API' key='tunnelxconn-allotted-resources' pfx='tmp.tunnel-ar.data' >\n",
89     "comments":"",
90     "outputs":1,
91     "x":499.99998474121094,
92     "y":301.33330726623535,
93     "z":"e0aca357.6f32a",
94     "wires":[
95       [
96
97       ]
98     ]
99   },
100   {
101     "id":"4655d18f.1efdc",
102     "type":"switchNode",
103     "name":"switch consuming-service-instance-id match",
104     "xml":"<switch test='`$tmp.tunnel-ar.data.tunnelxconn-allotted-resources.tunnelxconn-allotted-resource[$tunnelidx].allotted-resource-data.tunnelxconn-topology.allotted-resource-identifiers.consuming-service-instance-id == $tmp.ar.consuming-service-instance-id`'>\n\n\n",
105     "comments":"",
106     "outputs":1,
107     "x":706.3333587646484,
108     "y":358.9999713897705,
109     "z":"e0aca357.6f32a",
110     "wires":[
111       [
112         "d430e328.d45e6"
113       ]
114     ]
115   },
116   {
117     "id":"d430e328.d45e6",
118     "type":"success",
119     "name":"true",
120     "xml":"<outcome value='true'>\n",
121     "comments":"",
122     "outputs":1,
123     "x":900.3333625793457,
124     "y":299.99995613098145,
125     "z":"e0aca357.6f32a",
126     "wires":[
127       [
128         "bbaf2c6f.a5b81"
129       ]
130     ]
131   },
132   {
133     "id":"bbaf2c6f.a5b81",
134     "type":"block",
135     "name":"block",
136     "xml":"<block>\n",
137     "atomic":"false",
138     "comments":"",
139     "outputs":1,
140     "x":1124.9999465942383,
141     "y":333.6666135787964,
142     "z":"e0aca357.6f32a",
143     "wires":[
144       [
145         "885aaec0.195b"
146       ]
147     ]
148   },
149   {
150     "id":"885aaec0.195b",
151     "type":"set",
152     "name":"set tmp.tunnelxconn-ar",
153     "xml":"<set>\n<parameter name='tmp.tunnelxconn-ar.' value='`$tmp.tunnel-ar.data.tunnelxconn-allotted-resources.tunnelxconn-allotted-resource[$tunnelidx].`' />\n",
154     "comments":"",
155     "x":1310.6668128967285,
156     "y":330.3332872390747,
157     "z":"e0aca357.6f32a",
158     "wires":[
159
160     ]
161   }
162 ]