Commit 52747d00 authored by Giacomo Bernini's avatar Giacomo Bernini
Browse files

fixed API version endpoint and notification ednpoints

parent 930f6d8c
Pipeline #6914 running with stage
...@@ -28,7 +28,7 @@ servers: ...@@ -28,7 +28,7 @@ servers:
API HTTPS Server API HTTPS Server
paths: paths:
/URI-is-provided-by-the-client-when-creating-the-subscription-ConfigurationAndInformationNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-ConfigurationAndInformationNotification:
description: > description: >
This resource represents a notification endpoint. The API producer can use this This resource represents a notification endpoint. The API producer can use this
resource to send notifications related to NFV-MANO configuration and information resource to send notifications related to NFV-MANO configuration and information
......
...@@ -24,7 +24,7 @@ servers: ...@@ -24,7 +24,7 @@ servers:
- url: https://127.0.0.1/callback/v1 - url: https://127.0.0.1/callback/v1
paths: paths:
/URI-is-provided-by-the-client-when-creating-the-subscription-AlarmNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification:
post: post:
description: > description: >
The POST method notifies an NFV-MANO functional entity alarm or that the The POST method notifies an NFV-MANO functional entity alarm or that the
...@@ -77,7 +77,7 @@ paths: ...@@ -77,7 +77,7 @@ paths:
$ref: ../components/SOL009_resp.yaml#/components/responses/500 $ref: ../components/SOL009_resp.yaml#/components/responses/500
"503": "503":
$ref: ../components/SOL009_resp.yaml#/components/responses/503 $ref: ../components/SOL009_resp.yaml#/components/responses/503
/URI-is-provided-by-the-client-when-creating-the-subscription-AlarmClearedNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmClearedNotification:
post: post:
description: > description: >
The POST method notifies an NFV-MANO functional entity alarm or that the The POST method notifies an NFV-MANO functional entity alarm or that the
...@@ -130,7 +130,7 @@ paths: ...@@ -130,7 +130,7 @@ paths:
$ref: ../components/SOL009_resp.yaml#/components/responses/500 $ref: ../components/SOL009_resp.yaml#/components/responses/500
"503": "503":
$ref: ../components/SOL009_resp.yaml#/components/responses/503 $ref: ../components/SOL009_resp.yaml#/components/responses/503
/URI-is-provided-by-the-client-when-creating-the-subscription-AlarmListRebuiltNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmListRebuiltNotification:
post: post:
description: > description: >
The POST method notifies an NFV-MANO functional entity alarm or that the The POST method notifies an NFV-MANO functional entity alarm or that the
......
...@@ -13,7 +13,7 @@ info: ...@@ -13,7 +13,7 @@ info:
name: ETSI Forge copyright notice name: ETSI Forge copyright notice
url: https://forge.etsi.org/etsi-forge-copyright-notice.txt url: https://forge.etsi.org/etsi-forge-copyright-notice.txt
externalDocs: externalDocs:
description: ETSI GS NFV-SOL 009 V3.3.1 description: ETSI GS NFV-SOL 009 V3.5.1
url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.05.01_60/gs_NFV-SOL009v030501p.pdf url: https://www.etsi.org/deliver/etsi_gs/NFV-SOL/001_099/009/03.05.01_60/gs_NFV-SOL009v030501p.pdf
security: security:
...@@ -25,7 +25,7 @@ servers: ...@@ -25,7 +25,7 @@ servers:
- url: https://127.0.0.1/callback/v1 - url: https://127.0.0.1/callback/v1
paths: paths:
/URI-is-provided-by-the-client-when-creating-the-subscription-AlarmNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-AlarmNotification:
description: >- description: >-
This resource represents a notification endpoint for NFV-MANO log management. 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 The API producer can use this resource to send notifications related to log management events to a
......
...@@ -28,7 +28,7 @@ servers: ...@@ -28,7 +28,7 @@ servers:
API HTTPS Server API HTTPS Server
paths: paths:
/URI-is-provided-by-the-client-when-creating-the-subscription-PerformanceInformationNotification: /URI_is_provided_by_the_client_when_creating_the_subscription-PerformanceInformationNotification:
description: > description: >
This resource represents a notification endpoint for NFV-MANO performance management. This resource represents a notification endpoint for NFV-MANO performance management.
The API producer can use this resource to send notifications related to performance The API producer can use this resource to send notifications related to performance
......
...@@ -18,7 +18,6 @@ endpoints: ...@@ -18,7 +18,6 @@ endpoints:
schema: schema:
type: string type: string
get: get:
summary: Retrieve API version information
description: > description: >
The GET method reads API version information. This method shall follow the provisions specified in The GET method reads API version information. This method shall follow the provisions specified in
table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not table 4.6.3.3.3.2-1 for request and response data structures, and response codes. URI query parameters are not
...@@ -65,8 +64,6 @@ endpoints: ...@@ -65,8 +64,6 @@ endpoints:
$ref: '../components/SOL009_resp.yaml#/components/responses/403' $ref: '../components/SOL009_resp.yaml#/components/responses/403'
404: 404:
$ref: '../components/SOL009_resp.yaml#/components/responses/404' $ref: '../components/SOL009_resp.yaml#/components/responses/404'
405:
$ref: '../components/SOL009_resp.yaml#/components/responses/405'
406: 406:
$ref: '../components/SOL009_resp.yaml#/components/responses/406' $ref: '../components/SOL009_resp.yaml#/components/responses/406'
413: 413:
...@@ -85,3 +82,31 @@ endpoints: ...@@ -85,3 +82,31 @@ endpoints:
$ref: '../components/SOL009_resp.yaml#/components/responses/503' $ref: '../components/SOL009_resp.yaml#/components/responses/503'
504: 504:
$ref: '../components/SOL009_resp.yaml#/components/responses/504' $ref: '../components/SOL009_resp.yaml#/components/responses/504'
post:
description: >
This method is not supported. When this method is requested on this resource, the API producer shall return a "405
Method Not Allowed" response as defined in SOL013 clause 6.4.
responses:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
put:
description: >
This method is not supported. When this method is requested on this resource, the API producer shall return a "405
Method Not Allowed" response as defined in SOL013 clause 6.4.
responses:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
patch:
description: >
This method is not supported. When this method is requested on this resource, the API producer shall return a "405
Method Not Allowed" response as defined in SOL013 clause 6.4.
responses:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
delete:
description: >
This method is not supported. When this method is requested on this resource, the API producer shall return a "405
Method Not Allowed" response as defined in SOL013 clause 6.4.
responses:
405:
$ref: ../responses/SOL002SOL003_resp.yaml#/components/responses/405
\ No newline at end of file
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment