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

      ]
    ]
  },
  {
    "id":"4655d18f.1efdc",
    "type":"switchNode",
    "name":"switch consuming-service-instance-id match",
    "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",
    "comments":"",
    "outputs":1,
    "x":706.3333587646484,
    "y":358.9999713897705,
    "z":"e0aca357.6f32a",
    "wires":[
      [
        "d430e328.d45e6"
      ]
    ]
  },
  {
    "id":"d430e328.d45e6",
    "type":"success",
    "name":"true",
    "xml":"<outcome value='true'>\n",
    "comments":"",
    "outputs":1,
    "x":900.3333625793457,
    "y":299.99995613098145,
    "z":"e0aca357.6f32a",
    "wires":[
      [
        "bbaf2c6f.a5b81"
      ]
    ]
  },
  {
    "id":"bbaf2c6f.a5b81",
    "type":"block",
    "name":"block",
    "xml":"<block>\n",
    "atomic":"false",
    "comments":"",
    "outputs":1,
    "x":1124.9999465942383,
    "y":333.6666135787964,
    "z":"e0aca357.6f32a",
    "wires":[
      [
        "885aaec0.195b"
      ]
    ]
  },
  {
    "id":"885aaec0.195b",
    "type":"set",
    "name":"set tmp.tunnelxconn-ar",
    "xml":"<set>\n<parameter name='tmp.tunnelxconn-ar.' value='`$tmp.tunnel-ar.data.tunnelxconn-allotted-resources.tunnelxconn-allotted-resource[$tunnelidx].`' />\n",
    "comments":"",
    "x":1310.6668128967285,
    "y":330.3332872390747,
    "z":"e0aca357.6f32a",
    "wires":[

    ]
  }
]