X-Git-Url: https://osm.etsi.org/gitweb/?a=blobdiff_plain;f=osm-openapi.yaml;h=15b712faef6d9713398daca10d3553cf30a40d8e;hb=2c8be0875eb3886828525b51376fa50c5e03c87a;hp=590ba21f38f9703d8ce62c844154e4e56c6f1c9b;hpb=6229f2f163c12fe88597264a4afe0e7b9a8c87b1;p=osm%2FSOL005.git diff --git a/osm-openapi.yaml b/osm-openapi.yaml index 590ba21..15b712f 100644 --- a/osm-openapi.yaml +++ b/osm-openapi.yaml @@ -2223,6 +2223,49 @@ paths: $ref: '#/components/responses/UnexpectedError' default: $ref: '#/components/responses/UnexpectedError' + '/nslcm/v1/ns_lcm_op_occs/{nsLcmOpOccId}/cancel': + parameters: + - name: nsLcmOpOccId + in: path + required: true + description: NS LCM Operation Occurrence ID + schema: + type: string + post: + tags: + - "NS instances" + summary: Cancel an ongoing NS lifecycle management operation + description: Cancel an ongoing NS lifecycle management operation while it is being executed or rolled back + operationId: cancelNSLCMOpOcc + requestBody: + $ref: '#/components/requestBodies/CancelNSLCMOpOccRequest' + responses: + '202': + description: Accepted + '400': + $ref: '#/components/responses/BadRequest' + '401': + $ref: '#/components/responses/Unauthorized' + '403': + $ref: '#/components/responses/Forbidden' + '404': + $ref: '#/components/responses/NotFound' + '405': + $ref: '#/components/responses/MethodNotAllowed' + '406': + $ref: '#/components/responses/NotAcceptable' + '409': + $ref: '#/components/responses/Conflict' + '422': + $ref: '#/components/responses/UnprocessableEntity' + '500': + $ref: '#/components/responses/InternalServerError' + '503': + $ref: '#/components/responses/ServiceUnavailable' + '5XX': + $ref: '#/components/responses/UnexpectedError' + default: + $ref: '#/components/responses/UnexpectedError' '/nslcm/v1/vnf_instances': get: tags: @@ -7933,6 +7976,8 @@ components: type: string admin: type: boolean + admin_show: + type: boolean project_id: type: string format: uuid @@ -7946,6 +7991,13 @@ components: issued_at: type: number format: float + user_show: + type: boolean + last_login: + type: number + format: float + login_count: + type: number expires: type: number format: float @@ -8083,6 +8135,15 @@ components: type: string password: type: string + old_password: + type: string + system_admin_id: + type: string + format: uuid + unlock: + type: boolean + renew: + type: boolean projects: oneOf: - $ref: '#/components/schemas/ShortNameList' @@ -8726,8 +8787,6 @@ components: K8sClusterDeploymentMethods: type: object properties: - helm-chart: - type: boolean juju-bundle: type: boolean helm-chart-v3: @@ -9162,6 +9221,14 @@ components: $ref: '#/components/schemas/Authenticationschema' required: - CallbackUri + CancelNSLCMOpOccRequest: + type: object + properties: + cancelMode: + type: string + enum: + - GRACEFUL + - FORCEFUL # END SCHEMAS requestBodies: @@ -9507,6 +9574,14 @@ components: application/yaml: schema: $ref: '#/components/schemas/NslcmSubscriptionRequest' + CancelNSLCMOpOccRequest: + content: + application/json: + schema: + $ref: '#/components/schemas/CancelNSLCMOpOccRequest' + application/yaml: + schema: + $ref: '#/components/schemas/CancelNSLCMOpOccRequest' # END REQUEST BODIES securitySchemes: