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
SOL009
Commits
50ff8cac
Commit
50ff8cac
authored
Jan 16, 2020
by
Giacomo Bernini
Browse files
fixed responses data types names
parent
68d7fbac
Pipeline
#2263
running with stage
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SOL009/NFVManoFaultManagement/NFVManoFaultManagement.yaml
View file @
50ff8cac
...
...
@@ -165,7 +165,7 @@ paths:
$ref
:
"
#/components/requestBodies/FmSubscriptionRequest"
responses
:
"
201"
:
$ref
:
'
#/components/responses/
S
ubscriptions.
P
ost'
$ref
:
'
#/components/responses/
s
ubscriptions.
p
ost
.201
'
"
303"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/303
"
400"
:
...
...
@@ -204,7 +204,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/nextpage_opaque_marker"
responses
:
"
200"
:
$ref
:
'
#/components/responses/
S
ubscriptions.
G
et'
$ref
:
'
#/components/responses/
s
ubscriptions.
g
et
.200
'
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -241,7 +241,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
200"
:
$ref
:
'
#/components/responses/
S
ubscription.
G
et'
$ref
:
'
#/components/responses/
s
ubscription.
g
et
.200
'
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -279,7 +279,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
'
#/components/responses/
S
ubscription.
D
elete'
$ref
:
'
#/components/responses/
s
ubscription.
d
elete
.204
'
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -569,7 +569,7 @@ components:
schema
:
$ref
:
"
#/components/schemas/AlarmModifications"
S
ubscriptions.
P
ost
:
s
ubscriptions.
p
ost
.201
:
description
:
>
201 CREATED
...
...
@@ -607,7 +607,7 @@ components:
schema
:
$ref
:
"
#/components/schemas/FmSubscription"
S
ubscriptions.
G
et
:
s
ubscriptions.
g
et
.200
:
description
:
>
200 OK
...
...
@@ -659,7 +659,7 @@ components:
items
:
$ref
:
"
#/components/schemas/FmSubscription"
S
ubscription.
G
et
:
s
ubscription.
g
et
.200
:
description
:
>
200 OK
...
...
@@ -695,7 +695,7 @@ components:
schema
:
$ref
:
"
#/components/schemas/FmSubscription"
S
ubscription.
D
elete
:
s
ubscription.
d
elete
.204
:
description
:
>
204 NO CONTENT
...
...
src/SOL009/NFVManoFaultManagementNotification/NFVManoFaultManagementNotification.yaml
View file @
50ff8cac
...
...
@@ -41,7 +41,7 @@ paths:
$ref
:
"
#/components/requestBodies/AlarmNotification"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmNotification.
p
ost"
$ref
:
"
#/components/responses/AlarmNotification.
P
ost
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -68,7 +68,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmNotification.
g
et"
$ref
:
"
#/components/responses/AlarmNotification.
G
et
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -100,7 +100,7 @@ paths:
$ref
:
"
#/components/requestBodies/AlarmClearedNotification"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmClearedNotification.
p
ost"
$ref
:
"
#/components/responses/AlarmClearedNotification.
P
ost
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -127,7 +127,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmClearedNotification.
g
et"
$ref
:
"
#/components/responses/AlarmClearedNotification.
G
et
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -159,7 +159,7 @@ paths:
$ref
:
"
#/components/requestBodies/AlarmListRebuiltNotification"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmListRebuiltNotification.
p
ost"
$ref
:
"
#/components/responses/AlarmListRebuiltNotification.
P
ost
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -186,7 +186,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
"
#/components/responses/AlarmListRebuiltNotification.
g
et"
$ref
:
"
#/components/responses/AlarmListRebuiltNotification.
G
et
.204
"
"
400"
:
$ref
:
../components/SOL009_resp.yaml#/components/responses/400
"
401"
:
...
...
@@ -402,7 +402,7 @@ components:
$ref
:
"
../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"
responses
:
AlarmNotification.
p
ost
:
AlarmNotification.
P
ost
.204
:
description
:
>
204 NO CONTENT
...
...
@@ -425,7 +425,7 @@ components:
minimum
:
1
maximum
:
1
AlarmNotification.
g
et
:
AlarmNotification.
G
et
.204
:
description
:
>
204 NO CONTENT
...
...
@@ -449,7 +449,7 @@ components:
minimum
:
1
maximum
:
1
AlarmClearedNotification.
p
ost
:
AlarmClearedNotification.
P
ost
.204
:
description
:
>
204 NO CONTENT
...
...
@@ -472,7 +472,7 @@ components:
minimum
:
1
maximum
:
1
AlarmClearedNotification.
g
et
:
AlarmClearedNotification.
G
et
.204
:
description
:
>
204 NO CONTENT
...
...
@@ -496,7 +496,7 @@ components:
minimum
:
1
maximum
:
1
AlarmListRebuiltNotification.
p
ost
:
AlarmListRebuiltNotification.
P
ost
.204
:
description
:
>
204 NO CONTENT
...
...
@@ -519,7 +519,7 @@ components:
minimum
:
1
maximum
:
1
AlarmListRebuiltNotification.
g
et
:
AlarmListRebuiltNotification.
G
et
.204
:
description
:
>
204 NO CONTENT
...
...
src/SOL009/NFVManoLogManagement/NFVManoLogManagement.yaml
View file @
50ff8cac
...
...
@@ -304,9 +304,9 @@ paths:
$ref
:
'
#/components/requestBodies/LogmSubscriptionRequest'
responses
:
"
201"
:
$ref
:
'
#/components/responses/
LogmS
ubscription
.P
ost.201'
$ref
:
'
#/components/responses/
s
ubscription
s.p
ost.201'
"
303"
:
$ref
:
'
#/components/responses/
LogmS
ubscription
.P
ost.303'
$ref
:
'
#/components/responses/
s
ubscription
s.p
ost.303'
"
422"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/422'
"
400"
:
...
...
@@ -327,6 +327,9 @@ paths:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/503'
"
504"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/504'
callbacks
:
LogReportAvailableNotification
:
$ref
:
'
#/components/callbacks/LogReportAvailableNotification'
get
:
description
:
>-
The API consumer can use this method to query the list of active subscriptions to log management
...
...
@@ -342,7 +345,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
200"
:
$ref
:
'
#/components/responses/
LogmS
ubscriptions.
G
et.200'
$ref
:
'
#/components/responses/
s
ubscriptions.
g
et.200'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
...
...
@@ -381,7 +384,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
200"
:
$ref
:
'
#/components/responses/
LogmS
ubscription.
G
et.200'
$ref
:
'
#/components/responses/
s
ubscription.
g
et.200'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
...
...
@@ -416,7 +419,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
'
#/components/responses/
LogmS
ubscription.
D
elete'
$ref
:
'
#/components/responses/
s
ubscription.
d
elete
.204
'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
...
...
@@ -490,9 +493,16 @@ components:
schema
:
$ref
:
"
#/components/schemas/CompileLogRequest"
required
:
true
LogReportAvailableNotification
:
description
:
>-
Notification about the availability of a log report.
content
:
application/json
:
schema
:
$ref
:
"
#/components/schemas/LogReportAvailableNotification"
responses
:
LogmS
ubscription.
D
elete
:
s
ubscription.
d
elete
.204
:
description
:
>-
Shall be returned when the "Individual subscription" resource has been deleted successfully.
The response body shall be empty.
...
...
@@ -514,7 +524,7 @@ components:
schema
:
type
:
string
LogmS
ubscription.
G
et.200
:
s
ubscription.
g
et.200
:
description
:
>-
Shall be returned when the subscription has been read successfully.
The response body shall contain a representation of the "Individual subscription" resource,
...
...
@@ -541,7 +551,7 @@ components:
schema
:
$ref
:
"
#/components/schemas/LogmSubscription"
LogmS
ubscriptions.
G
et.200
:
s
ubscriptions.
g
et.200
:
description
:
>-
Shall be returned when the list of subscriptions has been queried successfully.
The response body shall contain in an array the representations of all active subscriptions of
...
...
@@ -576,7 +586,7 @@ components:
items
:
$ref
:
"
#/components/schemas/LogmSubscription"
LogmS
ubscription
.P
ost.201
:
s
ubscription
s.p
ost.201
:
description
:
>-
Shall be returned when the subscription has been created successfully.
A representation of the created "Individual subscription" resource shall be returned in the response body,
...
...
@@ -610,7 +620,7 @@ components:
schema
:
$ref
:
"
#/components/schemas/LogmSubscription"
LogmS
ubscription
.P
ost.303
:
s
ubscription
s.p
ost.303
:
description
:
>-
Shall be returned when a subscription with the same callbackURI and the same filter already exists and the
policy of the NFV-MANO functional entity is to not create redundant subscriptions.
...
...
@@ -926,6 +936,49 @@ components:
type
:
array
items
:
$ref
:
"
#/components/schemas/LoggingJob"
LogReportAvailableNotification.Post
:
description
:
>-
Shall be returned when the notification has been delivered successfully.
headers
:
Content-Type
:
description
:
The MIME type of the body of the response.
schema
:
type
:
string
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
LogReportNotification.Get
:
description
:
>-
Shall be returned to indicate that the notification endpoint has been tested successfully.
The response body shall be empty.
headers
:
Content-Type
:
description
:
The MIME type of the body of the response.
schema
:
type
:
string
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
schemas
:
LogmSubscription
:
description
:
>-
...
...
@@ -1605,5 +1658,145 @@ components:
previous CreateLoggingJobRequest issued by the same API consumer, whose public key has not changed.
type
:
string
LogReportAvailableNotification
:
description
:
>-
This notification informs the receiver that the log report of the NFV-MANO functional entity is available.
It shall comply with the provisions defined in table 8.6.2.4-1.
The notification shall be triggered by the NFV-MANO functional entity when log information has been collected
by the logging job and the log report is available.
type
:
object
required
:
-
id
-
notificationType
-
subscriptionId
-
timeStamp
-
objectInstanceId
-
_links
properties
:
id
:
description
:
>-
Identifier of this notification. If a notification is sent multiple times due to multiple subscriptions,
the "id" attribute of all these notifications shall have the same value.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/Identifier'
notificationType
:
description
:
>-
Discriminator for the different notification types.
Shall be set to "LogReportAvailableNotification" for this notification type.
type
:
string
subscriptionId
:
description
:
>-
Identifier of the subscription that this notification relates to.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/Identifier'
timeStamp
:
description
:
>-
Date and time of the generation of the notification.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/DateTime'
objectInstanceId
:
description
:
>-
Identifier that identifies the object instance for which the log report is available.
This attribute shall contain the identifier of the logged object according to their type.
$ref
:
"
../components/SOL009_schemas.yaml#/components/schemas/ManoManagedObjectReference"
_links
:
description
:
>-
Links to resources related to this notification.
type
:
object
required
:
-
subscription
-
logReports
properties
:
subscription
:
description
:
>-
Link to the related subscription.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/NotificationLink'
objectInstance
:
description
:
>-
Link to the resource representing the measured object instance to which the notified change applies.
Shall be present if the measured object instance information is accessible as a resource.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/NotificationLink'
LoggingJob
:
description
:
>-
Link to the resource that represents the logging job for which the log report is available.
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/NotificationLink'
logReports
:
description
:
>-
Link from which the available log report can be obtained. Due to the relationship of the logging
job compilation and the logging information availability reporting, more than one logReport
notification link can be provided.
type
:
array
items
:
$ref
:
'
../components/SOL009_schemas.yaml#/components/schemas/NotificationLink'
callbacks
:
LogReportAvailableNotification
:
'
{$request.body#/callbackUri}'
:
description
:
>-
This resource represents a notification endpoint for NFV-MANO log management.
The API producer can use this resource to send notifications related to log management events to a
subscribed API consumer, which has provided the URI of this resource during the subscription process.
post
:
description
:
>-
The POST method delivers a notification regarding a log management event from the API producer to the API
consumer. The API consumer shall have previously created an "Individual subscription" resource with a
matching filter.
This method shall follow the provisions specified in the tables 8.5.9.3.1-1 and 8.5.9.3.1-2 for URI query
parameters, request and response data structures, and response codes.
parameters
:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Version"
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
requestBody
:
$ref
:
"
#/components/requestBodies/LogReportAvailableNotification"
responses
:
"
204"
:
$ref
:
'
#/components/responses/LogReportAvailableNotification.Post'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/401'
"
403"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/403'
"
404"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/404'
"
405"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/405'
"
406"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/406'
"
422"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/422'
"
500"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/500'
"
503"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/503'
"
504"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/504'
get
:
description
:
>-
The GET method allows the API producer to test the notification endpoint that is provided by the API
consumer, e.g. during subscription.
This method shall follow the provisions specified in the tables 8.5.9.3.2-1 and 8.5.9.3.2-2 for URI
query parameters, request and response data structures, and response codes.
parameters
:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Version"
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Accept"
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
'
#/components/responses/LogReportNotification.Get'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/401'
"
403"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/403'
"
404"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/404'
"
405"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/405'
"
406"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/406'
"
422"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/422'
"
500"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/500'
"
503"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/503'
"
504"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/504'
src/SOL009/NFVManoLogManagementNotification/NFVManoLogManagementNotification.yaml
View file @
50ff8cac
...
...
@@ -45,7 +45,7 @@ paths:
$ref
:
"
#/components/requestBodies/LogReportAvailableNotification"
responses
:
"
204"
:
$ref
:
'
#/components/responses/
LogReportAvailableN
otification'
$ref
:
'
#/components/responses/
n
otification
.post.204
'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
...
...
@@ -79,7 +79,7 @@ paths:
-
$ref
:
"
../components/SOL009_params.yaml#/components/parameters/Authorization"
responses
:
"
204"
:
$ref
:
'
#/components/responses/
LogReportN
otification.
G
et'
$ref
:
'
#/components/responses/
n
otification.
g
et
.204
'
"
400"
:
$ref
:
'
../components/SOL009_resp.yaml#/components/responses/400'
"
401"
:
...
...
@@ -112,7 +112,7 @@ components:
$ref
:
"
#/components/schemas/LogReportAvailableNotification"
responses
:
LogReportAvailableN
otification
:
n
otification
.post.204
:
description
:
>-
Shall be returned when the notification has been delivered successfully.
headers
:
...
...
@@ -133,7 +133,7 @@ components:
schema
:
type
:
string
LogReportN
otification.
G
et
:
n
otification.
g
et
.204
:
description
:
>-
Shall be returned to indicate that the notification endpoint has been tested successfully.
The response body shall be empty.
...
...
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