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
14c66f2f
Commit
14c66f2f
authored
May 08, 2019
by
moscatelli
Browse files
SOL002: VNF Indicator notification interface data types consolidation
parent
6001fb66
Pipeline
#897
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/SOL002/VNFIndicatorNotification/VNFIndicatorNotification.yaml
View file @
14c66f2f
...
...
@@ -31,7 +31,10 @@ produces:
-
application/json
paths
:
/notificationendpoint
:
###############################################################################
# Notification endpoint #
###############################################################################
'
/URI-is-provided-by-the-client-when-creating-the-subscription'
:
parameters
:
-
name
:
Version
description
:
>
...
...
@@ -39,6 +42,13 @@ paths:
in
:
header
required
:
true
type
:
string
-
name
:
Authorization
description
:
>
The authorization token for the request.
Reference: IETF RFC 7235
in
:
header
required
:
false
type
:
string
post
:
summary
:
Notification endpoint
description
:
>
...
...
@@ -53,7 +63,7 @@ paths:
A notification about VNF indicator value changes.
required
:
true
schema
:
$ref
:
'
definitions/
VnfIndicatorValueChange
Notification_def.yaml#/definitions/VnfIndicatorValueChangeNotification'
$ref
:
'
definitions/
SOL002VNFIndicator
Notification_def.yaml#/definitions/VnfIndicatorValueChangeNotification'
responses
:
204
:
description
:
>
...
...
@@ -66,18 +76,20 @@ paths:
type
:
string
maximum
:
1
minimum
:
1
400
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/400'
}
401
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/401'
}
403
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/403'
}
404
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/404'
}
405
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/405'
}
406
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/406'
}
409
:
{
$ref
:
'
responses/VNFIndicatorNotification_resp.yaml#/responses/409'
}
416
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/416'
}
422
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/422'
}
500
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/500'
}
503
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/503'
}
400
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/400"
401
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/401"
403
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/403"
405
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/405"
406
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/406"
500
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/500"
503
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/503"
get
:
summary
:
Test notification endpoint.
description
:
>
...
...
@@ -88,23 +100,34 @@ paths:
responses
:
204
:
description
:
>
No Content
204 NO CONTENT
The notification endpoint was tested 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.
type
:
string
maximum
:
1
minimum
:
0
Version
:
description
:
The used API version.
type
:
string
maximum
:
1
minimum
:
1
400
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/400'
}
401
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/401'
}
403
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/403'
}
404
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/404'
}
405
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/405'
}
406
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/406'
}
409
:
{
$ref
:
'
responses/VNFIndicatorNotification_resp.yaml#/responses/409'
}
416
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/416'
}
422
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/422'
}
500
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/500'
}
503
:
{
$ref
:
'
../../responses/SOL002SOL003_resp.yaml#/responses/503'
}
\ No newline at end of file
400
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/400"
401
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/401"
403
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/403"
405
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/405"
406
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/406"
500
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/500"
503
:
$ref
:
"
../../responses/SOL002SOL003_resp.yaml#/responses/503"
\ No newline at end of file
src/SOL002/VNFIndicatorNotification/definitions/
VnfIndicatorValueChange
Notification_def.yaml
→
src/SOL002/VNFIndicatorNotification/definitions/
SOL002VNFIndicator
Notification_def.yaml
View file @
14c66f2f
definitions
:
# Copyright (c) ETSI 2017.
# https://forge.etsi.org/etsi-forge-copyright-notice.txt
definitions
:
VnfIndicatorValueChangeNotification
:
description
:
>
This type represents a VNF indicator value change notification.
...
...
@@ -65,4 +67,4 @@ definitions:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
'
../../../definitions/SOL002SOL003_def.yaml#/definitions/Link'
$ref
:
'
../../../definitions/SOL002SOL003_def.yaml#/definitions/Link'
\ No newline at end of file
src/SOL002/VNFIndicatorNotification/responses/VNFIndicatorNotification_resp.yaml
deleted
100644 → 0
View file @
6001fb66
responses
:
409
:
description
:
>
Conflict
Another request is in progress that prohibits the fulfilment of
the current request, or the current resource state is inconsistent
with the request.
headers
:
Content-Type
:
description
:
The MIME type of the body of the response.
type
:
string
maximum
:
1
minimum
:
1
Version
:
description
:
The used API version.
type
:
string
maximum
:
1
minimum
:
1
schema
:
$ref
:
"
../../../definitions/SOL002SOL003_def.yaml#/definitions/ProblemDetails"
src/definitions/SOL002SOL003VNFIndicator_def.yaml
View file @
14c66f2f
...
...
@@ -208,4 +208,4 @@ definitions:
subscription
:
description
:
>
Link to the related subscription.
$ref
:
"
SOL002SOL003_def.yaml#/definitions/NotificationLink"
$ref
:
"
SOL002SOL003_def.yaml#/definitions/NotificationLink"
\ 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