diff --git a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml index d8ad0f13cb74e5ba062543f13365bb993b207ecd..98ea0a12667e5529a5d526183260a46ed8f5a6cf 100644 --- a/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml +++ b/src/SOL005/NSLifecycleManagement/NSLifecycleManagement.yaml @@ -95,27 +95,27 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + $ref: "#/definitions/NsInstance" 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" get: summary: "NS instances" description: > @@ -213,27 +213,27 @@ paths: schema: type: array items: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + $ref: "#/definitions/NsInstance" 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" ############################################################################### # Individual NS instance # ############################################################################### @@ -298,28 +298,28 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + $ref: "#/definitions/NsInstance" 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" delete: summary: Individual NS instance. @@ -355,21 +355,21 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-INSTANTIATED" 412: $ref: "responses/SOL005_resp.yaml#/responses/412" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -446,21 +446,21 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-INSTANTIATED" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -525,19 +525,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: $ref: "responses/SOL005_resp.yaml#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-NOT-INSTANTIATED" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -595,21 +595,21 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-NOT-INSTANTIATED" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" ############################################################################### # Heal NS task # @@ -669,21 +669,21 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-NOT-INSTANTIATED" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" ############################################################################### # Terminate NS task # @@ -745,19 +745,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-NOT-INSTANTIATED" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -862,19 +862,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -958,23 +958,23 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" ############################################################################### # Retry operation task # @@ -1019,19 +1019,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists-NS-LCM" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-not-FAILED_TEMP" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1076,19 +1076,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-not-found" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-not-FAILED_TEMP" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1129,19 +1129,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-not-found" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-not-FAILED_TEMP" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1217,19 +1217,19 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-not-found" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-state-conflict-not-FAILED_TEMP" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1288,15 +1288,15 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-resource-not-exists-NS-LCM" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: description: > 409 Conflict @@ -1325,9 +1325,9 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "definitions/SOL005_def.yaml#/definitions/ProblemDetails" + $ref: "#/definitions/ProblemDetails" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1441,17 +1441,17 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-not-suported-NS-LCM" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" get: @@ -1524,19 +1524,19 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "definitions/SOL005_def.yaml#/definitions/ProblemDetails" + $ref: "#/definitions/ProblemDetails" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-not-suported-NS-LCM" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1606,17 +1606,17 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: $ref: "responses/SOL005_resp.yaml#/responses/404-task-not-suported-NS-LCM" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" delete: @@ -1652,15 +1652,15 @@ paths: 400: $ref: "responses/SOL005_resp.yaml#/responses/400" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: $ref: "responses/SOL005_resp.yaml#/responses/503" @@ -1672,7 +1672,7 @@ paths: ############################################################################### '/notification_endpoint': #ETSI GS NFV-SOL 005 V2.4.1 location: 6.4.18 - description: > + x-description: > This resource represents a notification endpoint. The server can use this resource to send notifications to a subscribed client, which has provided the URI of this resource during the subscription process. post: @@ -1688,8 +1688,8 @@ paths: operation occurrence. in: body required: true - schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsLcmOperationOccurrenceNotification" + schema: + $ref: "#/definitions/NsLcmOperationOccurrenceNotification" - name: nsIdentifierCreationNotification description: > A notification about the creation of a NS identifier and the related @@ -1697,7 +1697,7 @@ paths: in: body required: true schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsIdentifierCreationNotification" + $ref: "#/definitions/NsIdentifierCreationNotification" - name: nsIdentifierDeletionNotification description: > A notification about the deletion of a NS identifier and the related @@ -1705,7 +1705,7 @@ paths: in: body required: true schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsIdentifierDeletionNotification" + $ref: "#/definitions/NsIdentifierDeletionNotification" - name: Accept description: > Content-Types that are acceptable for the response. @@ -1750,27 +1750,27 @@ paths: maximum: 1 minimum: 0 schema: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + $ref: "#/definitions/NsInstance" 400: - $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" + $ref: "#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: - $ref: "responses/SOL005_resp.yaml#/responses/404" + $ref: "#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" + $ref: "#/responses/503" get: summary: Notification endpoint. description: > @@ -1816,24 +1816,56 @@ paths: schema: type: array items: - $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + $ref: "#/definitions/NsInstance" 400: - $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" + $ref: "#/responses/400-attr-selector" 401: - $ref: "responses/SOL005_resp.yaml#/responses/401" + $ref: "#/responses/401" 403: - $ref: "responses/SOL005_resp.yaml#/responses/403" + $ref: "#/responses/403" 404: - $ref: "responses/SOL005_resp.yaml#/responses/404" + $ref: "#/responses/404" 405: - $ref: "responses/SOL005_resp.yaml#/responses/405" + $ref: "#/responses/405" 406: - $ref: "responses/SOL005_resp.yaml#/responses/406" + $ref: "#/responses/406" 409: - $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + $ref: "#/responses/409-inconsistent-state" 416: - $ref: "responses/SOL005_resp.yaml#/responses/416" + $ref: "#/responses/416" 500: - $ref: "responses/SOL005_resp.yaml#/responses/500" + $ref: "#/responses/500" 503: - $ref: "responses/SOL005_resp.yaml#/responses/503" \ No newline at end of file + $ref: "#/responses/503" +definitions: + NsInstance: + $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsInstance" + NsLcmOperationOccurrenceNotification: + $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsLcmOperationOccurrenceNotification" + NsIdentifierCreationNotification: + $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsIdentifierCreationNotification" + NsIdentifierDeletionNotification: + $ref: "definitions/SOL005NSLifecycleManagement_def.yaml#/definitions/NsIdentifierDeletionNotification" + ProblemDetails: + $ref: "definitions/SOL005_def.yaml#/definitions/ProblemDetails" +responses: + 400: + $ref: "responses/SOL005_resp.yaml#/responses/400-attr-selector" + 401: + $ref: "responses/SOL005_resp.yaml#/responses/401" + 403: + $ref: "responses/SOL005_resp.yaml#/responses/403" + 404: + $ref: "responses/SOL005_resp.yaml#/responses/404" + 405: + $ref: "responses/SOL005_resp.yaml#/responses/405" + 406: + $ref: "responses/SOL005_resp.yaml#/responses/406" + 409: + $ref: "responses/NSLifecycleManagement_resp.yaml#/responses/409-inconsistent-state" + 416: + $ref: "responses/SOL005_resp.yaml#/responses/416" + 500: + $ref: "responses/SOL005_resp.yaml#/responses/500" + 503: + $ref: "responses/SOL005_resp.yaml#/responses/503" diff --git a/src/SOL005/NSLifecycleManagement/definitions/NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/NSLifecycleManagement_def.yaml index 622ab54d14d2950a4380cc504f937813cef6525e..2bf8d656f34f8c8aefd0c410c05df35e18ecb006 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/NSLifecycleManagement_def.yaml @@ -325,4 +325,6 @@ definitions: Timestamp indicating the end time of the NS, i.e. the NS will be terminated automatically at this timestamp. Cardinality "0" indicates the NS termination takes place immediately - $ref: "SOL005_def.yaml#/definitions/DateTime" \ No newline at end of file + $ref: "SOL005_def.yaml#/definitions/DateTime" + DateTime: + $ref: "SOL005_def.yaml#/definitions/DateTime" \ No newline at end of file diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml index 97c444eda8113a10c42553048b70d450dd154079..c8ffbd91750d9d6c9428da966dd5c167f26391d0 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005NSLifecycleManagement_def.yaml @@ -1280,7 +1280,8 @@ definitions: description: > Timestamp indicating the earliest time to instantiate the NS. Cardinality "0" indicates the NS instantiation takes place immediately. - $ref: "SOL005_def.yaml#/definitions/DateTime" + type: string + format: "date-time" nsInstantiationLevelId: description: > Identifies one of the NS instantiation levels declared in @@ -1433,7 +1434,7 @@ definitions: required: - scaleType properties: - scaleType: + scaleType: description: > Indicates the type of scaling to be performed. Possible values: @@ -1443,25 +1444,26 @@ definitions: enum: - SCALE_NS - SCALE_VNF - scaleNsData: + scaleNsData: description: > The necessary information to scale the referenced NS instance. It shall be present when scaleType = SCALE_NS. $ref: "#/definitions/ScaleNsData" - scaleVnfData: - description: > - The necessary information to scale the referenced NS instance. - It shall be present when scaleType = SCALE_VNF. - type: array - items: + scaleVnfData: + description: > + The necessary information to scale the referenced NS instance. + It shall be present when scaleType = SCALE_VNF. + type: array + items: $ref: "#/definitions/ScaleVnfData" - scaleTime: - description: > - Timestamp indicating the scale time of the NS, i.e. the - NS will be scaled at this timestamp. Cardinality "0" - indicates the NS scaling takes place immediately". - $ref: "SOL005_def.yaml#/definitions/DateTime" - + scaleTime: + description: > + Timestamp indicating the scale time of the NS, i.e. the + NS will be scaled at this timestamp. Cardinality "0" + indicates the NS scaling takes place immediately". + type: string + format: "date-time" + UpdateNsRequest: summary: > This operation supports the update of a NS instance, @@ -2412,14 +2414,15 @@ definitions: description: > Information about the changed VNF instance information, including VNF configurable properties, if applicable. + When the "changedInfo" attribute is present, + either the "changedVnfInfo" attribute or the + "changedExtConnectivity" attribute or both shall be present type: object required: - self - properties: - description: > - When the "changedInfo" attribute is present, - either the "changedVnfInfo" attribute or the - "changedExtConnectivity" attribute or both shall be present + properties: + self: + type: string changedVnfInfo: description: > Information about the changed VNF instance @@ -2918,7 +2921,8 @@ definitions: timestamp: description: > Date-time of the generation of the notification. - $ref: "#/definitions/DateTime" + type: string + format: "date-time" notificationStatus: description: > Indicates whether this notification reports about the start @@ -2946,10 +2950,11 @@ definitions: composite NS. Set to false otherwise. type: boolean affectedVnf: - description: > - Information about the VNF instances that were affected - during the lifecycle operation. - $ref: "SOL005_def.yaml#/definitions/AffectedVnf" + #description: > + # Information about the VNF instances that were affected + # during the lifecycle operation. + #schema: + $ref: "#/definitions/AffectedVnf" affectedPnf: description: > Information about the PNF instances that were affected @@ -3011,7 +3016,8 @@ definitions: timestamp: description: > Date-time of the generation of the notification. - $ref: "#/definitions/DateTime" + type: string + format: "date-time" nsInstanceId: description: > The created NS instance identifier @@ -3040,7 +3046,8 @@ definitions: timestamp: description: > Date-time of the generation of the notification. - $ref: "#/definitions/DateTime" + type: string + format: "date-time" nsInstanceId: description: > The created NS instance identifier @@ -3406,4 +3413,6 @@ definitions: - COMPLETED - PARTIALLY_COMPLETED - FAILED - - ROLLED_BACK \ No newline at end of file + - ROLLED_BACK + DateTime: + $ref: "SOL005_def.yaml#/definitions/DateTime" \ No newline at end of file diff --git a/src/SOL005/NSLifecycleManagement/responses/SOL005_resp.yaml b/src/SOL005/NSLifecycleManagement/responses/SOL005_resp.yaml index 59992fb9b0650de3face733143254d893c1a3bee..5a19b5f22c23115020ca2aec0ee55e7aeacf1dbd 100644 --- a/src/SOL005/NSLifecycleManagement/responses/SOL005_resp.yaml +++ b/src/SOL005/NSLifecycleManagement/responses/SOL005_resp.yaml @@ -156,13 +156,13 @@ maximum: 1 minimum: 1 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 + 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 schema: $ref: "../definitions/SOL005_def.yaml#/definitions/ProblemDetails" 403: