Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL012
Commits
ff376470
Commit
ff376470
authored
Jul 22, 2020
by
Giacomo Bernini
Browse files
Added policy version delete
parent
c0d21d61
Pipeline
#4641
failed with stage
in 0 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
86 additions
and
3 deletions
+86
-3
src/SOL012/PolicyManagement/PolicyManagement.yaml
src/SOL012/PolicyManagement/PolicyManagement.yaml
+86
-3
No files found.
src/SOL012/PolicyManagement/PolicyManagement.yaml
View file @
ff376470
...
...
@@ -342,11 +342,34 @@ paths:
A notification of type "PolicyChangeNotification" shall be triggered as part of successfully executing this
method as defined in clause 5.6.2.8.
responses
:
"
204"
:
$ref
:
'
#/components/responses/PolicyVersion.delete.204'
"
400"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/400
"
401"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/401
"
403"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/403
"
404"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/404
"
405"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/405
"
406"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/406
"
409"
:
$ref
:
'
#/components/responses/PolicyVersion.delete.409'
"
422"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/422
"
500"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/500
"
503"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/503
"
504"
:
$ref
:
../components/SOL012_resp.yaml#/components/responses/504
# "/subscriptions":
"
/subscriptions"
:
"
/subscriptions/{subscriptionId}"
:
# "/subscriptions/{subscriptionId}":
components
:
parameters
:
...
...
@@ -680,6 +703,19 @@ components:
Shall be returned when the individual policy has been deleted successfully.
The response body shall be empty
headers
:
WWW-Authenticate
:
description
:
>
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
schema
:
type
:
string
Version
:
description
:
>
Version of the API used in the response.
schema
:
type
:
string
Policy.delete.409
:
description
:
>
...
...
@@ -847,6 +883,53 @@ components:
schema
:
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/ProblemDetails"
PolicyVersion.delete.204
:
description
:
>
204 No Content
Shall be returned when a particular version of an individual policy has been deleted successfully.
The response body shall be empty
headers
:
WWW-Authenticate
:
description
:
>
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
schema
:
type
:
string
Version
:
description
:
>
Version of the API used in the response.
schema
:
type
:
string
PolicyVersion.delete.409
:
description
:
>
409 Conflict
Shall be returned upon the following error: The operation cannot be executed currently, due to a
conflict with the state of the resource.
Typically, this is due to the fact that the requested version is the selected version.
The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall
convey more information about the error.
headers
:
WWW-Authenticate
:
description
:
>
Challenge if the corresponding HTTP request has not provided
authorization, or error details if the corresponding HTTP
request has provided an invalid authorization token.
schema
:
type
:
string
Version
:
description
:
>
Version of the API used in the response.
schema
:
type
:
string
content
:
application/json
:
schema
:
$ref
:
"
../components/SOL012_schemas.yaml#/components/schemas/ProblemDetails"
requestBodies
:
PolicyCreationRequest
:
description
:
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment