Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
NFV - Network Functions Virtualisation
SOL002-SOL003
Commits
3b85aa16
Commit
3b85aa16
authored
Oct 31, 2022
by
ishaqm
Browse files
Add SOL003 HTTP conditional requests
parent
8f565796
Pipeline
#13210
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SOL003/VNFFaultManagement/VNFFaultManagement.yaml
View file @
3b85aa16
...
...
@@ -111,6 +111,10 @@ paths:
patch
:
description
:
|
This method modifies an "Individual alarm" resource. See clause 7.4.3.3.4.
parameters
:
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Match
requestBody
:
$ref
:
'
#/components/requestBodies/IndividualAlarmRequest'
responses
:
...
...
@@ -425,6 +429,21 @@ components:
explode
:
false
schema
:
type
:
string
ETag
:
description
:
>
Used to provide the current entity-tag for the selected resource representation. It can be sent in
"200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
Last-Modified
:
description
:
>
Used to provide a timestamp indicating the date and time at which the server believes the selected resource
representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
format
:
date-time
content
:
application/json
:
schema
:
...
...
src/SOL003/VNFLifecycleManagement/VNFLifecycleManagement.yaml
View file @
3b85aa16
...
...
@@ -149,6 +149,9 @@ paths:
#SOL003 location: 5.4.3.3.4
description
:
|
This method modifies an "Individual VNF instance" resource. See clause 5.4.3.3.4.
parameters
:
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Match
requestBody
:
$ref
:
'
#/components/requestBodies/VnfInfoModificationRequest'
responses
:
...
...
@@ -1138,6 +1141,8 @@ paths:
parameters
:
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/Accept
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/ContentType
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Match
requestBody
:
$ref
:
'
#/components/requestBodies/VnfSnapshotInfoModificationRequest'
responses
:
...
...
@@ -1731,6 +1736,21 @@ components:
explode
:
false
schema
:
type
:
string
ETag
:
description
:
>
Used to provide the current entity-tag for the selected resource representation. It can be sent in
"200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
Last-Modified
:
description
:
>
Used to provide a timestamp indicating the date and time at which the server believes the selected resource
representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
format
:
date-time
content
:
application/json
:
schema
:
...
...
@@ -3999,6 +4019,21 @@ components:
explode
:
false
schema
:
type
:
string
ETag
:
description
:
>
Used to provide the current entity-tag for the selected resource representation. It can be sent in
"200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
Last-Modified
:
description
:
>
Used to provide a timestamp indicating the date and time at which the server believes the selected resource
representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
format
:
date-time
content
:
application/json
:
schema
:
...
...
src/SOL003/VNFPerformanceManagement/VNFPerformanceManagement.yaml
View file @
3b85aa16
...
...
@@ -149,6 +149,9 @@ paths:
patch
:
description
:
|
This method allows to modify an "Individual PM job" resource. See clause 6.4.3.3.4.
parameters
:
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Match
responses
:
200
:
$ref
:
'
#/components/responses/IndividualPmJob.Patch.200'
...
...
@@ -352,6 +355,9 @@ paths:
patch
:
description
:
|
This method allows to modify an "Individual threshold" resource. See clause 6.4.6.3.4.
parameters
:
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Unmodified-Since
-
$ref
:
../../components/SOL003_params.yaml#/components/parameters/If-Match
responses
:
200
:
$ref
:
'
#/components/responses/IndividualThreshold.Patch.200'
...
...
@@ -655,6 +661,21 @@ components:
explode
:
false
schema
:
type
:
string
ETag
:
description
:
>
Used to provide the current entity-tag for the selected resource representation. It can be sent in
"200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
Last-Modified
:
description
:
>
Used to provide a timestamp indicating the date and time at which the server believes the selected resource
representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
format
:
date-time
content
:
application/json
:
schema
:
...
...
@@ -981,6 +1002,21 @@ components:
explode
:
false
schema
:
type
:
string
ETag
:
description
:
>
Used to provide the current entity-tag for the selected resource representation. It can be sent in
"200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
Last-Modified
:
description
:
>
Used to provide a timestamp indicating the date and time at which the server believes the selected resource
representation was last modified. It can be sent in "200 OK", "201 Created" and "204 No Content" responses.
style
:
simple
schema
:
type
:
string
format
:
date-time
content
:
application/json
:
schema
:
...
...
src/components/SOL003_params.yaml
View file @
3b85aa16
...
...
@@ -115,5 +115,28 @@ components:
GS NFV-SOL 013 [8] for this resource.
in
:
query
required
:
false
schema
:
type
:
string
If-Unmodified-Since
:
name
:
If-Unmodified-Since
description
:
>
Used to make the request method conditional on the selected resource representation's last modification date being
earlier than or equal to the date provided in the field-value. If the condition is not met, the request fails with a
"412 Precondition Failed" response.
required
:
false
in
:
header
schema
:
type
:
string
format
:
date-time
If-Match
:
name
:
If-Match
description
:
>
Used to make the request method conditional on the recipient origin server either having at least one current representation
of the target resource, when the field-value is "*", or having a current representation of the target resource that has an
entity-tag matching a member of the list of entity-tags provided in the field-value. If the condition is not met, the request
fails with a "412 Precondition Failed" response.
required
:
false
in
:
header
schema
:
type
:
string
\ No newline at end of file
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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