Chore: Add gerrit maven verify GHA workflow
[sdnc/oam.git] / platform-logic / generic-resource-api / src / main / json / GENERIC-RESOURCE-API_policy-manager-delete-policy.json
1 [
2     {
3         "id": "d581c562.c43188",
4         "type": "dgstart",
5         "name": "DGSTART",
6         "outputs": 1,
7         "x": 105.71428680419922,
8         "y": 82.85714721679688,
9         "z": "3db8bf99.514be",
10         "wires": [
11             [
12                 "fe2cb5ef.9a8118"
13             ]
14         ]
15     },
16     {
17         "id": "fe2cb5ef.9a8118",
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": 219.33331298828125,
26         "y": 123.09526062011719,
27         "z": "3db8bf99.514be",
28         "wires": [
29             [
30                 "afb77106.81ec6"
31             ]
32         ]
33     },
34     {
35         "id": "afb77106.81ec6",
36         "type": "method",
37         "name": "method policy-manager-delete-policy",
38         "xml": "<method rpc='policy-manager-delete-policy' mode='sync'>\n",
39         "comments": "",
40         "outputs": 1,
41         "x": 191.14291381835938,
42         "y": 162.85714721679688,
43         "z": "3db8bf99.514be",
44         "wires": [
45             [
46                 "fac4023.3e872"
47             ]
48         ]
49     },
50     {
51         "id": "7456b083.f5c67",
52         "type": "comment",
53         "name": "policy-manager-delete-policy",
54         "info": "",
55         "comments": "",
56         "x": 500.05914306640625,
57         "y": 30.443490982055664,
58         "z": "3db8bf99.514be",
59         "wires": []
60     },
61     {
62         "id": "fac4023.3e872",
63         "type": "block",
64         "name": "block : atomic",
65         "xml": "<block atomic=\"true\">",
66         "atomic": "true",
67         "comments": "",
68         "outputs": 1,
69         "x": 221.42858123779297,
70         "y": 324.28570556640625,
71         "z": "3db8bf99.514be",
72         "wires": [
73             [
74                 "e7322979.b0b9c8",
75                 "fbc41199.2cc44"
76             ]
77         ]
78     },
79     {
80         "id": "e7322979.b0b9c8",
81         "type": "execute",
82         "name": "RestapiCallnode deletePolicy PDP",
83         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.pm.deletepolicypdp.templatefile`\" />\n    <parameter name='restapiUrl' value=\"`$prop.policy-manager.url + '/pdp/api/deletePolicy'`\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\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",
84         "comments": "",
85         "outputs": 1,
86         "x": 499.99998474121094,
87         "y": 284.28571224212646,
88         "z": "3db8bf99.514be",
89         "wires": [
90             [
91                 "47d31b8a.83ea94",
92                 "fef211f6.ec11e"
93             ]
94         ]
95     },
96     {
97         "id": "47d31b8a.83ea94",
98         "type": "success",
99         "name": "success",
100         "xml": "<outcome value='success'>\n",
101         "comments": "",
102         "outputs": 1,
103         "x": 728.5714263916016,
104         "y": 260.0000009536743,
105         "z": "3db8bf99.514be",
106         "wires": [
107             [
108                 "3d158249.ff10fe"
109             ]
110         ]
111     },
112     {
113         "id": "3d158249.ff10fe",
114         "type": "block",
115         "name": "block: atomic",
116         "xml": "<block atomic=\"true\">\n",
117         "atomic": "false",
118         "comments": "",
119         "outputs": 1,
120         "x": 892.2857513427734,
121         "y": 259.9284768104553,
122         "z": "3db8bf99.514be",
123         "wires": [
124             [
125                 "56e0237b.2129ac"
126             ]
127         ]
128     },
129     {
130         "id": "fef211f6.ec11e",
131         "type": "other",
132         "name": "other",
133         "xml": "<outcome value='Other'>\n",
134         "comments": "",
135         "outputs": 1,
136         "x": 724.7089653015137,
137         "y": 307.92321395874023,
138         "z": "3db8bf99.514be",
139         "wires": [
140             [
141                 "2cb54eeb.c893e2"
142             ]
143         ]
144     },
145     {
146         "id": "f1cdea53.99d408",
147         "type": "success",
148         "name": "success",
149         "xml": "<outcome value='success'>\n",
150         "comments": "",
151         "outputs": 1,
152         "x": 1370.0000076293945,
153         "y": 233.5714454650879,
154         "z": "3db8bf99.514be",
155         "wires": [
156             [
157                 "37d77ceb.7b75b4"
158             ]
159         ]
160     },
161     {
162         "id": "37d77ceb.7b75b4",
163         "type": "block",
164         "name": "block: atomic",
165         "xml": "<block atomic=\"true\">\n",
166         "atomic": "false",
167         "comments": "",
168         "outputs": 1,
169         "x": 1533.7143325805664,
170         "y": 233.4999213218689,
171         "z": "3db8bf99.514be",
172         "wires": [
173             []
174         ]
175     },
176     {
177         "id": "e6cf96c3.b55948",
178         "type": "other",
179         "name": "other",
180         "xml": "<outcome value='Other'>\n",
181         "comments": "",
182         "outputs": 1,
183         "x": 1366.1375465393066,
184         "y": 281.4946584701538,
185         "z": "3db8bf99.514be",
186         "wires": [
187             [
188                 "898e79aa.dcca08"
189             ]
190         ]
191     },
192     {
193         "id": "2cb54eeb.c893e2",
194         "type": "returnFailure",
195         "name": "return failure",
196         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to delete policy from Policy Manager (PDP)' />\n",
197         "comments": "",
198         "x": 890.0000381469727,
199         "y": 308.000018119812,
200         "z": "3db8bf99.514be",
201         "wires": []
202     },
203     {
204         "id": "fbc41199.2cc44",
205         "type": "returnSuccess",
206         "name": "return success",
207         "xml": "<return status='success'>\n",
208         "comments": "",
209         "x": 438.5714111328125,
210         "y": 362.85710525512695,
211         "z": "3db8bf99.514be",
212         "wires": []
213     },
214     {
215         "id": "56e0237b.2129ac",
216         "type": "execute",
217         "name": "RestapiCallnode deletePolicy PAP",
218         "xml": "<execute plugin='org.onap.ccsdk.sli.plugins.restapicall.RestapiCallNode' method='sendRequest' >\n    <parameter name='templateFileName' value=\"`$prop.restapi.templateDir + '/' + $prop.restapi.pm.deletepolicypap.templatefile`\" />\n    <parameter name='restapiUrl' value=\"`$prop.policy-manager.url + '/pdp/api/deletePolicy'`\" />\n    <parameter name='format' value='json' />\n    <parameter name='httpMethod' value='DELETE' />\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",
219         "comments": "",
220         "outputs": 1,
221         "x": 1131.4286193847656,
222         "y": 259.14286613464355,
223         "z": "3db8bf99.514be",
224         "wires": [
225             [
226                 "f1cdea53.99d408",
227                 "e6cf96c3.b55948"
228             ]
229         ]
230     },
231     {
232         "id": "898e79aa.dcca08",
233         "type": "returnFailure",
234         "name": "return failure",
235         "xml": "<return status='failure'>\n<parameter name='error-code' value='500' />\n<parameter name='error-message' value='Failed to delete policy from Policy Manager (PAP)' />\n",
236         "comments": "",
237         "x": 1529.1429328918457,
238         "y": 282.2857246398926,
239         "z": "3db8bf99.514be",
240         "wires": []
241     }
242 ]