3 "id": "5ea66244.2043ac",
7 "x": 101.42857360839844,
8 "y": 82.85714721679688,
9 "z": "2f4e466a.a72c1a",
17 "id": "1488d42d.2b4bec",
18 "type": "service-logic",
19 "name": "GENERIC-RESOURCE-API ${project.version}",
20 "module": "GENERIC-RESOURCE-API",
21 "version": "${project.version}",
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}'>",
25 "x": 215.04759979248047,
26 "y": 123.09526062011719,
27 "z": "2f4e466a.a72c1a",
35 "id": "accb6834.19e2e8",
37 "name": "method policy-manager-create-policy",
38 "xml": "<method rpc='policy-manager-create-policy' mode='sync'>\n",
41 "x": 186.8572006225586,
42 "y": 162.85714721679688,
43 "z": "2f4e466a.a72c1a",
51 "id": "dfa928b6.5c06b8",
53 "name": "policy-manager-create-policy",
56 "x": 495.77342987060547,
57 "y": 30.443490982055664,
58 "z": "2f4e466a.a72c1a",
62 "id": "4c2a088b.3e0ba8",
64 "name": "block : atomic",
65 "xml": "<block atomic=\"true\">",
69 "x": 217.1428680419922,
70 "y": 324.28570556640625,
71 "z": "2f4e466a.a72c1a",
80 "id": "189efe08.1f8952",
82 "name": "RestapiCallnode createPolicy",
83 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.pm.createpolicy.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.policy-manager.url + '/pdp/api/createPolicy'`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name='convertResponse' value=\"false\" />\n <parameter name='customHttpHeaders'\n value=\"`'Authorization=Basic ' + $prop.policy-manager.authorization + ',ClientAuth=Basic ' + $prop.policy-manager.clientauth + ',Environment=' + $prop.policy-manager.environment `\" />\n",
86 "x": 472.8571548461914,
87 "y": 284.2857074737549,
88 "z": "2f4e466a.a72c1a",
97 "id": "1edc5a5e.259046",
100 "xml": "<outcome value='success'>\n",
103 "x": 685.7142562866211,
104 "y": 258.5714349746704,
105 "z": "2f4e466a.a72c1a",
113 "id": "c0e63f5a.e0d5e",
115 "name": "block: atomic",
116 "xml": "<block atomic=\"true\">\n",
120 "x": 849.428581237793,
121 "y": 258.4999108314514,
122 "z": "2f4e466a.a72c1a",
130 "id": "ac8ecfcb.7d84c",
133 "xml": "<outcome value='Other'>\n",
136 "x": 681.8517951965332,
137 "y": 306.4946479797363,
138 "z": "2f4e466a.a72c1a",
146 "id": "8a75b361.99d53",
148 "name": "RestapiCallnode pushPolicy",
149 "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.pm.pushpolicy.templatefile`\" />\n <parameter name='restapiUrl' value=\"`$prop.policy-manager.url + '/pdp/api/pushPolicy'`\" />\n <parameter name='format' value='json' />\n <parameter name='httpMethod' value='PUT' />\n <parameter name='convertResponse' value=\"false\" />\n <parameter name='customHttpHeaders'\n value=\"`'Authorization=Basic ' + $prop.policy-manager.authorization + ',ClientAuth=Basic ' + $prop.policy-manager.clientauth + ',Environment=' + $prop.policy-manager.environment `\" />\n",
152 "x": 1084.2857666015625,
153 "y": 222.85716438293457,
154 "z": "2f4e466a.a72c1a",
163 "id": "dd3bc8bc.e85af8",
166 "xml": "<outcome value='success'>\n",
170 "y": 195.71431159973145,
171 "z": "2f4e466a.a72c1a",
179 "id": "fe10eb1e.6c23a8",
181 "name": "block: atomic",
182 "xml": "<block atomic=\"true\">\n",
186 "x": 1453.7143249511719,
187 "y": 195.64278745651245,
188 "z": "2f4e466a.a72c1a",
194 "id": "5808b3a9.1ba37c",
197 "xml": "<outcome value='Other'>\n",
200 "x": 1286.137538909912,
201 "y": 243.63752460479736,
202 "z": "2f4e466a.a72c1a",
210 "id": "3c3c68db.b16138",
211 "type": "returnFailure",
212 "name": "return failure",
213 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to create policy in Policy Manager' />\n",
215 "x": 847.1428680419922,
216 "y": 306.5714521408081,
217 "z": "2f4e466a.a72c1a",
221 "id": "731c4238.4b27ac",
222 "type": "returnFailure",
223 "name": "return failure",
224 "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to push policy in Policy Manager' />\n",
226 "x": 1450.5714225769043,
227 "y": 243.28573417663574,
228 "z": "2f4e466a.a72c1a",
232 "id": "e0ad431.613cbc",
233 "type": "returnSuccess",
234 "name": "return success",
235 "xml": "<return status='success'>\n",
237 "x": 425.71429443359375,
238 "y": 362.857138633728,
239 "z": "2f4e466a.a72c1a",