Commit 95ee33b9 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

Updated Responses and Refs

parent 55384c3f
Pipeline #7681 passed with stage
in 0 seconds
......@@ -40,7 +40,7 @@ paths:
See clause 9.4.2.3.2.
responses:
"200":
$ref: '#/components/responses/Configuration.Get'
$ref: '#/components/responses/Configuration.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -71,7 +71,7 @@ paths:
$ref: '#/components/requestBodies/ConfigurationRequest'
responses:
"200":
$ref: '#/components/responses/Configuration.Patch'
$ref: '#/components/responses/Configuration.Patch.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -111,7 +111,7 @@ components:
required: true
responses:
Configuration.Get:
Configuration.Get.200:
description: |
200 OK
Shall be returned when configuration information about a VNF instance has been read successfully. The response
......@@ -142,7 +142,7 @@ components:
schema:
$ref: ./definitions/SOL002VNFConfiguration_def.yaml#/definitions/VnfConfiguration
Configuration.Patch:
Configuration.Patch.200:
description: |
200 OK
Shall be returned when the request has been accepted and completed. The response body shall contain the
......
......@@ -44,7 +44,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/Alarms.Get'
$ref: '#/components/responses/Alarms.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -83,7 +83,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
responses:
"200":
$ref: '#/components/responses/IndividualAlarm.Get'
$ref: '#/components/responses/IndividualAlarm.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -119,7 +119,7 @@ paths:
$ref: '#/components/requestBodies/IndividualAlarmRequest'
responses:
"200":
$ref: '#/components/responses/IndividualAlarm.Patch'
$ref: '#/components/responses/IndividualAlarm.Patch.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -161,8 +161,8 @@ paths:
requestBody:
$ref: '#/components/requestBodies/IndividualAlarmEscalateRequest'
responses:
"200":
$ref: '#/components/responses/IndividualAlarmEscalate.Post'
"204":
$ref: '#/components/responses/IndividualAlarmEscalate.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -203,7 +203,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/Subscriptions.Get'
$ref: '#/components/responses/Subscriptions.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -239,7 +239,7 @@ paths:
$ref: '#/components/requestBodies/FmSubscriptionRequest'
responses:
"201":
$ref: '#/components/responses/Subscriptions.Post'
$ref: '#/components/responses/Subscriptions.Post.201'
"303":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/303
"400":
......@@ -281,7 +281,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/ContentType
responses:
"200":
$ref: '#/components/responses/IndividualSubscription.Get'
$ref: '#/components/responses/IndividualSubscription.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -312,7 +312,7 @@ paths:
This method terminates an individual subscription. See clause 7.4.6.3.5.
responses:
"204":
$ref: '#/components/responses/IndividualSubscription.Delete'
$ref: '#/components/responses/IndividualSubscription.Delete.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -392,7 +392,7 @@ components:
required: true
responses:
Alarms.Get:
Alarms.Get.200:
description: |
200 OK
Shall be returned when information about zero or more alarms was queried successfully. The response body shall
......@@ -434,7 +434,7 @@ components:
schema:
$ref: ./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm
IndividualAlarm.Get:
IndividualAlarm.Get.200:
description: |
200 OK
Shall be returned when information about an individual alarm read successfully. The response body shall contain
......@@ -465,7 +465,7 @@ components:
schema:
$ref: ./definitions/SOL002VNFFaultManagement_def.yaml#/definitions/Alarm
IndividualAlarm.Patch:
IndividualAlarm.Patch.200:
description: |
200 OK
Shall be returned when the request was accepted and completed. The response body shall contain attribute
......@@ -496,7 +496,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/AlarmModifications
IndividualAlarmEscalate.Post:
IndividualAlarmEscalate.Post.204:
description: |
204 No Content
Shall be returned when the VNFM has received the proposed "escalated perceived severity" value successfully.
......@@ -510,7 +510,7 @@ components:
type: string
content: {}
Subscriptions.Get:
Subscriptions.Get.200:
description: |
200 OK
Shall be returned when the list of subscriptions has been queried successfully.
......@@ -553,7 +553,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription
Subscriptions.Post:
Subscriptions.Post.201:
description: |
201 CREATED
The subscription was created successfully. The response body shall contain a representation of the created
......@@ -593,7 +593,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription
IndividualSubscription.Get:
IndividualSubscription.Get.200:
description: |
200 OK
Shall be returned when information about an individual subscription has been read successfully.
......@@ -624,7 +624,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFFaultManagement_def.yaml#/definitions/FmSubscription
IndividualSubscription.Delete:
IndividualSubscription.Delete.204:
description: |
204 NO CONTENT
Shall be returned when the "Individual subscription" resource has been deleted successfully.
......
......@@ -37,7 +37,7 @@ paths:
e.g. during subscription. See clause 7.4.7.3.2.
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Get'
$ref: '#/components/responses/VNFFMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -63,7 +63,7 @@ paths:
$ref: '#/components/requestBodies/AlarmNotification'
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Post'
$ref: '#/components/responses/VNFFMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -89,7 +89,7 @@ paths:
e.g. during subscription. See clause 7.4.7.3.2.
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Get'
$ref: '#/components/responses/VNFFMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -115,7 +115,7 @@ paths:
$ref: '#/components/requestBodies/AlarmClearedNotification'
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Post'
$ref: '#/components/responses/VNFFMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -141,7 +141,7 @@ paths:
e.g. during subscription. See clause 7.4.7.3.2.
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Get'
$ref: '#/components/responses/VNFFMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -167,7 +167,7 @@ paths:
$ref: '#/components/requestBodies/AlarmListRebuiltNotification'
responses:
"204":
$ref: '#/components/responses/VNFFMNotification.Post'
$ref: '#/components/responses/VNFFMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -213,9 +213,9 @@ components:
required: true
responses:
VNFFMNotification.Get:
VNFFMNotification.Get.204:
description: |
201 NO CONTENT
204 NO CONTENT
Shall be returned to indicate the notification endpoint has been tested successfully. The response body
shall be empty.
headers:
......@@ -236,7 +236,7 @@ components:
type: string
content: {}
VNFFMNotification.Post:
VNFFMNotification.Post.204:
description: |
204 NO CONTENT
Shall be returned when the notification has been delivered successfully. The response body shall be empty.
......
......@@ -42,7 +42,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/Indicators.Get'
$ref: '#/components/responses/Indicators.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -81,7 +81,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/VnfIndicators.Get'
$ref: '#/components/responses/VnfIndicators.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -118,7 +118,7 @@ paths:
The GET method reads a VNF indicator. See clause 8.4.4.3.2.
responses:
"200":
$ref: '#/components/responses/VnfIndividualIndicator.Get'
$ref: '#/components/responses/VnfIndividualIndicator.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -157,7 +157,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/VnfIndicatorSubscriptions.Get'
$ref: '#/components/responses/VnfIndicatorSubscriptions.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -193,7 +193,7 @@ paths:
$ref: '#/components/requestBodies/VnfIndicatorSubscriptionRequest'
responses:
"201":
$ref: '#/components/responses/VnfIndicatorSubscription.Post'
$ref: '#/components/responses/VnfIndicatorSubscription.Post.201'
"303":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/303
"400":
......@@ -231,7 +231,7 @@ paths:
The GET method reads an individual subscription. See clause 8.4.6.3.2.
responses:
"200":
$ref: '#/components/responses/VnfIndicatorSubscription.Get'
$ref: '#/components/responses/VnfIndicatorSubscription.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -262,7 +262,7 @@ paths:
The DELETE method terminates an individual subscription. See clause 8.4.6.3.5.
responses:
"204":
$ref: '#/components/responses/VnfIndicatorSubscription.Delete'
$ref: '#/components/responses/VnfIndicatorSubscription.Delete.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -340,7 +340,7 @@ components:
required: true
responses:
Indicators.Get:
Indicators.Get.200:
description: |
200 OK
Shall be returned when information about zero or more VNF indicators was queried successfully.
......@@ -378,7 +378,7 @@ components:
items:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator
VnfIndicators.Get:
VnfIndicators.Get.200:
description: |
200 OK
Shall be returned when information about zero or more VNF indicators was queried successfully.
......@@ -416,7 +416,7 @@ components:
items:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator
VnfIndividualIndicator.Get:
VnfIndividualIndicator.Get.200:
description: |
200 OK
Shall be returned when the VNF indicator has been read successfully. The response body shall contain the
......@@ -439,7 +439,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicator
VnfIndicatorSubscriptions.Get:
VnfIndicatorSubscriptions.Get.200:
description: |
200 OK
Shall be returned when the list of subscriptions was queried successfully.
......@@ -477,7 +477,7 @@ components:
items:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription
VnfIndicatorSubscription.Post:
VnfIndicatorSubscription.Post.201:
description: |
201 CREATED
Shall be returned when the subscription has been created successfully. The response body shall contain a
......@@ -518,7 +518,7 @@ components:
items:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription
VnfIndicatorSubscription.Get:
VnfIndicatorSubscription.Get.200:
description: |
200 OK
Shall be returned when information about an individual subscription has been read successfully.
......@@ -541,7 +541,7 @@ components:
schema:
$ref: ../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription
VnfIndicatorSubscription.Delete:
VnfIndicatorSubscription.Delete.204:
description: |
204 NO CONTENT
Shall be returned when the subscription has been deleted successfully. The response body shall be empty.
......
......@@ -37,7 +37,7 @@ paths:
API consumer, e.g. during subscription. See clause 8.4.7.3.2.
responses:
"204":
$ref: '#/components/responses/VNFInNotification.Get'
$ref: '#/components/responses/VNFInNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -63,7 +63,7 @@ paths:
$ref: '#/components/requestBodies/VnfIndicatorValueChangeNotification'
responses:
"204":
$ref: '#/components/responses/VNFInNotification.Post'
$ref: '#/components/responses/VNFInNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -89,7 +89,7 @@ paths:
API consumer, e.g. during subscription. See clause 8.4.7.3.2.
responses:
"204":
$ref: '#/components/responses/VNFInNotification.Get'
$ref: '#/components/responses/VNFInNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -115,7 +115,7 @@ paths:
$ref: '#/components/requestBodies/SupportedIndicatorsChangeNotification'
responses:
"204":
$ref: '#/components/responses/VNFInNotification.Post'
$ref: '#/components/responses/VNFInNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -152,9 +152,9 @@ components:
required: true
responses:
VNFInNotification.Get:
VNFInNotification.Get.204:
description: |
201 NO CONTENT
204 NO CONTENT
Shall be returned to indicate the notification endpoint has been tested successfully. The response body
shall be empty.
headers:
......@@ -175,7 +175,7 @@ components:
type: string
content: {}
VNFInNotification.Post:
VNFInNotification.Post.204:
description: |
204 NO CONTENT
Shall be returned when the notification has been delivered successfully. The response body shall be empty.
......
......@@ -45,9 +45,9 @@ paths:
$ref: '#/components/requestBodies/LcmCoordRequest'
responses:
"201":
$ref: '#/components/responses/Coordination.Post'
$ref: '#/components/responses/Coordination.Post.201'
"202":
$ref: '#/components/responses/Coordination_async.Post'
$ref: '#/components/responses/Coordination_async.Post.202'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -81,7 +81,7 @@ paths:
The GET method reads a coordination result. See clause 10.4.3.3.2.
responses:
"200":
$ref: '#/components/responses/IndividualLcmCoord.Get'
$ref: '#/components/responses/IndividualLcmCoord.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -118,7 +118,7 @@ paths:
See clause 10.4.4.3.1.
responses:
"202":
$ref: '#/components/responses/coordinationCancel.Post'
$ref: '#/components/responses/CoordinationCancel.Post.202'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -172,8 +172,9 @@ components:
required: true
responses:
Coordination.Post:
Coordination.Post.201:
description: |
201 CREATED
Shall be returned returned to indicate a finished coordination action when the API producer has
chosen the synchronous mode, which may be selected for coordination actions that finish within the time
frame in which an HTTP response is expected.
......@@ -218,8 +219,9 @@ components:
schema:
$ref: ./definitions/SOL002VNFLifecycleCoordination_def.yaml#/definitions/LcmCoord
Coordination_async.Post:
Coordination_async.Post.202:
description: |
202 ACCEPTED
Shall be returned when the API producer has chosen the asynchronous mode and the
request has been accepted for processing.
The response body shall be empty.
......@@ -266,8 +268,9 @@ components:
format: url
content: {}
IndividualLcmCoord.Get:
IndividualLcmCoord.Get.200:
description: |
200 OK
Shall be returned when the coordination is finished and the coordination result has been read successfully.
A representation of the "Individual coordination action" resource shall be returned in the response body.
headers:
......@@ -296,8 +299,9 @@ components:
schema:
$ref: ./definitions/SOL002VNFLifecycleCoordination_def.yaml#/definitions/LcmCoord
coordinationCancel.Post:
CoordinationCancel.Post.202:
description: |
202 ACCEPTED
Shall be returned when the cancellation request has been accepted for processing.
The response shall have an empty payload body.
headers:
......
......@@ -37,7 +37,7 @@ paths:
e.g. during subscription. See clause 5.4.20.3.2.
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Get'
$ref: '#/components/responses/VNFLCMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -63,7 +63,7 @@ paths:
$ref: '#/components/requestBodies/VnfLcmOperationOccurrenceNotification'
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Post'
$ref: '#/components/responses/VNFLCMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -89,7 +89,7 @@ paths:
e.g. during subscription. See clause 5.4.20.3.2.
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Get'
$ref: '#/components/responses/VNFLCMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -115,7 +115,7 @@ paths:
$ref: '#/components/requestBodies/VnfIdentifierCreationNotification'
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Post'
$ref: '#/components/responses/VNFLCMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -141,7 +141,7 @@ paths:
e.g. during subscription. See clause 5.4.20.3.2.
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Get'
$ref: '#/components/responses/VNFLCMNotification.Get.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -167,7 +167,7 @@ paths:
$ref: '#/components/requestBodies/VnfIdentifierDeletionNotification'
responses:
"204":
$ref: '#/components/responses/VNFLCMNotification.Post'
$ref: '#/components/responses/VNFLCMNotification.Post.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -213,9 +213,9 @@ components:
required: true
responses:
VNFLCMNotification.Get:
VNFLCMNotification.Get.204:
description: |
201 NO CONTENT
204 NO CONTENT
Shall be returned to indicate the notification endpoint has been tested successfully. The response body
shall be empty.
headers:
......@@ -236,7 +236,7 @@ components:
type: string
content: {}
VNFLCMNotification.Post:
VNFLCMNotification.Post.204:
description: |
204 NO CONTENT
Shall be returned when the notification has been delivered successfully. The response body shall be empty.
......
......@@ -48,7 +48,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/nextpage_opaque_marker
responses:
"200":
$ref: '#/components/responses/PmJobs.Get'
$ref: '#/components/responses/PmJobs.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -84,7 +84,7 @@ paths:
$ref: '#/components/requestBodies/PmJobCreationRequest'
responses:
"201":
$ref: '#/components/responses/PmJobs.Post'
$ref: '#/components/responses/PmJobs.Post.201'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -122,7 +122,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
responses:
"200":
$ref: '#/components/responses/IndividualPmJob.Get'
$ref: '#/components/responses/IndividualPmJob.Get.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -153,7 +153,7 @@ paths:
This method terminates an individual PM job. See clause 6.4.3.3.5.
responses:
"204":
$ref: '#/components/responses/IndividualPmJob.Delete'
$ref: '#/components/responses/IndividualPmJob.Delete.204'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -186,7 +186,7 @@ paths:
$ref: '#/components/requestBodies/PmJobModificationRequest'
responses:
"200":
$ref: '#/components/responses/IndividualPmJob.Patch'
$ref: '#/components/responses/IndividualPmJob.Patch.200'
"400":
$ref: ../../responses/SOL002SOL003_resp.yaml#/components/responses/400
"401":
......@@ -229,7 +229,7 @@ paths:
- $ref: ../../components/SOL002SOL003_params.yaml#/components/parameters/Accept
responses:
"200":
$ref: '#/components/responses/IndividualPmJobReport.Get'
$ref: '#/components/responses/IndividualPmJobReport.Get.200'