From fa23f880f56ff45c98a2f09d7b60ac98c6006301 Mon Sep 17 00:00:00 2001 From: Samir Medjiah Date: Wed, 17 Jul 2019 12:43:45 +0200 Subject: [PATCH] SOL002_148 POST Method (on "Subscriptions") description and response updated --- src/SOL002/VNFIndicator/VNFIndicator.yaml | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/src/SOL002/VNFIndicator/VNFIndicator.yaml b/src/SOL002/VNFIndicator/VNFIndicator.yaml index ec930ad4..6bfa0a73 100644 --- a/src/SOL002/VNFIndicator/VNFIndicator.yaml +++ b/src/SOL002/VNFIndicator/VNFIndicator.yaml @@ -484,7 +484,11 @@ paths: type: string post: summary: Create a new subscription to VNF indicator change notifications - description: Create a new subscription + description: > + This method creates a new subscription. + As the result of successfully executing this method, a new "Individual + subscription" resource as defined in clause 8.4.6 shall have been created. + This method shall not trigger any notification. parameters: - name: vnfIndicatorSubscriptionRequest in: body @@ -497,8 +501,9 @@ paths: description: > 201 CREATED - The subscription was created successfully. - The response body shall contain a representation of the created subscription resource. + Shall be returned when the subscription has been created successfully. + The response body shall contain a representation of the created + "Individual subscription" resource. schema: $ref: '../../definitions/SOL002SOL003VNFIndicator_def.yaml#/definitions/VnfIndicatorSubscription' headers: @@ -521,10 +526,11 @@ paths: description: > 303 SEE OTHER - A subscription with the same callbackURI and the same filter already exists and the policy - of the VNFM is to not create redundant subscriptions. - The HTTP response shall include a "Location" HTTP header that contains the resource URI of - the existing subscription resource. + Shall be returned when a subscription with the same callbackURI and + the same filter already exists and the policy of the VNFM is to not + create redundant subscriptions. + The HTTP response shall include a "Location" HTTP header that contains + the resource URI of the existing "Individual subscription" resource. The response body shall be empty. $ref: "../../responses/SOL002SOL003_resp.yaml#/responses/303" 400: -- GitLab