5 "name" : "Legacy Operational Policy"
7 "schemes" : [ "http", "https" ],
9 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies/{policyId}/versions/latest" : {
11 "tags" : [ "Legacy Operational Policy" ],
12 "summary" : "Retrieve the latest version of a particular operational policy",
13 "description" : "Returns the latest version of the specified operational policy",
14 "operationId" : "getLatestVersionOfOperationalPolicy",
15 "produces" : [ "application/json", "application/yaml" ],
19 "description" : "ID of policy",
23 "name" : "X-ONAP-RequestID",
25 "description" : "RequestID for http transaction",
32 "description" : "successful operation; Latest version of specified operational policy will be returned.",
36 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
40 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
44 "description" : "Used only to communicate an API's latest version"
46 "X-ONAP-RequestID" : {
49 "description" : "Used to track REST transactions for logging purpose"
53 "$ref" : "#/definitions/LegacyOperationalPolicy"
57 "description" : "Authentication Error"
60 "description" : "Authorization Error"
63 "description" : "Resource Not Found"
66 "description" : "Internal Server Error"
72 "x-interface info" : {
73 "api-version" : "1.0.0",
74 "last-mod-release" : "Dublin"
78 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies/{policyId}/versions/deployed" : {
80 "tags" : [ "Legacy Opereational Policy" ],
81 "summary" : "Retrieve deployed versions of a particular operational policy in pdp groups",
82 "description" : "Returns deployed versions of a specified operational policy in pdp groups",
83 "operationId" : "getDeployedVersionsOfOperationalPolicy",
84 "produces" : [ "application/json", "application/yaml" ],
88 "description" : "ID of operational policy",
92 "name" : "X-ONAP-RequestID",
94 "description" : "RequestID for http transaction",
101 "description" : "successful operation; Deployed versions of specified operational policy in PDP groups will be returned.",
105 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
109 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
111 "X-LatestVersion" : {
113 "description" : "Used only to communicate an API's latest version"
115 "X-ONAP-RequestID" : {
118 "description" : "Used to track REST transactions for logging purpose"
124 "$ref" : "#/definitions/LegacyOperationalPolicy"
129 "description" : "Authentication Error"
132 "description" : "Authorization Error"
135 "description" : "Resource Not Found"
138 "description" : "Internal Server Error"
144 "x-interface info" : {
145 "api-version" : "1.0.0",
146 "last-mod-release" : "Dublin"
150 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies/{policyId}/versions/{policyVersion}" : {
152 "tags" : [ "Legacy Operational Policy" ],
153 "summary" : "Retrieve one version of a particular operational policy",
154 "description" : "Returns a particular version of a specified operational policy",
155 "operationId" : "getSpecificVersionOfOperationalPolicy",
156 "produces" : [ "application/json", "application/yaml" ],
160 "description" : "ID of policy",
164 "name" : "policyVersion",
166 "description" : "Version of policy",
170 "name" : "X-ONAP-RequestID",
172 "description" : "RequestID for http transaction",
179 "description" : "successful operation; Specified version of specified operational policy will be returned.",
183 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
187 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
189 "X-LatestVersion" : {
191 "description" : "Used only to communicate an API's latest version"
193 "X-ONAP-RequestID" : {
196 "description" : "Used to track REST transactions for logging purpose"
200 "$ref" : "#/definitions/LegacyOperationalPolicy"
204 "description" : "Authentication Error"
207 "description" : "Authorization Error"
210 "description" : "Resource Not Found"
213 "description" : "Internal Server Error"
219 "x-interface info" : {
220 "api-version" : "1.0.0",
221 "last-mod-release" : "Dublin"
225 "tags" : [ "Legacy Operational Policy" ],
226 "summary" : "Delete a particular version of a specified operational policy",
227 "description" : "Delete a particular version of an operational policy. It must follow one rule. Rule: the version that has been deployed in PDP group(s) cannot be deleted",
228 "operationId" : "deleteSpecificVersionOfOperationalPolicy",
229 "produces" : [ "application/json", "application/yaml" ],
233 "description" : "ID of policy",
237 "name" : "policyVersion",
239 "description" : "Version of policy",
243 "name" : "X-ONAP-RequestID",
245 "description" : "RequestID for http transaction",
252 "description" : "successful operation; Newly deleted operational policy will be returned.",
256 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
260 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
262 "X-LatestVersion" : {
264 "description" : "Used only to communicate an API's latest version"
266 "X-ONAP-RequestID" : {
269 "description" : "Used to track REST transactions for logging purpose"
273 "$ref" : "#/definitions/LegacyOperationalPolicy"
277 "description" : "Authentication Error"
280 "description" : "Authorization Error"
283 "description" : "Resource Not Found"
286 "description" : "Delete Conflict, Rule Violation"
289 "description" : "Internal Server Error"
295 "x-interface info" : {
296 "api-version" : "1.0.0",
297 "last-mod-release" : "Dublin"
301 "/policy/api/v1/policytypes/onap.policies.controlloop.Operational/versions/1.0.0/policies" : {
303 "tags" : [ "Legacy Operational Policy" ],
304 "summary" : "Create a new operational policy",
305 "description" : "Create a new operational policy. Client should provide entity body of the new operational policy",
306 "operationId" : "createOperationalPolicy",
307 "consumes" : [ "application/json", "application/yaml" ],
308 "produces" : [ "application/json", "application/yaml" ],
310 "name" : "X-ONAP-RequestID",
312 "description" : "RequestID for http transaction",
319 "description" : "Entity body of policy",
321 "type" : "ToscaServiceTemplate",
323 "$ref" : "#/definitions/LegacyOperationalPolicy"
328 "description" : "successful operation; Newly created operational policy will be returned.",
332 "description" : "Used to request or communicate a MINOR version back from the client to the server, and from the server back to the client"
336 "description" : "Used only to communicate a PATCH version in a response for troubleshooting purposes only, and will not be provided by the client on request"
338 "X-LatestVersion" : {
340 "description" : "Used only to communicate an API's latest version"
342 "X-ONAP-RequestID" : {
345 "description" : "Used to track REST transactions for logging purpose"
349 "$ref" : "#/definitions/LegacyOperationalPolicy"
353 "description" : "Invalid Body"
356 "description" : "Authentication Error"
359 "description" : "Authorization Error"
362 "description" : "Internal Server Error"
368 "x-interface info" : {
369 "api-version" : "1.0.0",
370 "last-mod-release" : "Dublin"
375 "securityDefinitions" : {
382 "LegacyOperationalPolicy" : {