Loading src/SOL012/PolicyManagement/PolicyManagement.yaml +14 −6 Original line number Original line Diff line number Diff line Loading @@ -628,6 +628,10 @@ components: description: > description: > Status of the policy on whether it is activated or deactivated. Status of the policy on whether it is activated or deactivated. $ref: "../components/SOL012_schemas.yaml#/components/schemas/ActivationStatus" $ref: "../components/SOL012_schemas.yaml#/components/schemas/ActivationStatus" transferStatus: description: > Status of the policy on whether the content of the policy has been transferred. $ref: "../components/SOL012_schemas.yaml#/components/schemas/TransferStatus" associations: associations: description: > description: > Identifiers of the entities that the PF manages and to which the policy associates to. Identifiers of the entities that the PF manages and to which the policy associates to. Loading Loading @@ -666,6 +670,7 @@ components: - name - name - policy - policy - activationStatus - activationStatus - transferStatus - _links - _links PolicySubscriptionRequest: PolicySubscriptionRequest: Loading Loading @@ -917,10 +922,13 @@ components: Shall be returned upon the following error: The operation cannot be executed currently, due to a conflict Shall be returned upon the following error: The operation cannot be executed currently, due to a conflict with the state of the resource. with the state of the resource. Typically, this is due to the fact that no version of the policy has been transferred; that activating a Typical reasons are attempts to: policy in ACTIVATED state; that deactivating a policy in DEACTIVATED state. • modify a policy in CREATED state; The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall convey • activate a policy in ACTIVATED state; more information about the error. • deactivate a policy in DEACTIVATED state. The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall convey more information about the error. headers: headers: WWW-Authenticate: WWW-Authenticate: description: > description: > Loading Loading @@ -1024,8 +1032,8 @@ components: target resource or is not willing to disclose that one exists. target resource or is not willing to disclose that one exists. The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013 [6], The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013 [6], including rules for the presence of the response body. including rules for the presence of the response body. Specifically in case of this resource, the response code 404 shall also be returned if no version of the Specifically in case of this resource, the response code 404 shall also be returned if the policy is in policy has been transferred. CREATED state. In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the "detail" attribute shall convey more information about the error. the "detail" attribute shall convey more information about the error. headers: headers: Loading src/SOL012/components/SOL012_schemas.yaml +9 −0 Original line number Original line Diff line number Diff line Loading @@ -291,6 +291,15 @@ components: - ACTIVATED - ACTIVATED - DEACTIVATED - DEACTIVATED TransferStatus: description: > The enumeration TransferStatus shall comply with the provisions defined in table 5.6.4.4-1. It indicates the transfer status of a policy type: string enum: - CREATED - TRANSFERRED PolicyModifications: PolicyModifications: description: > description: > This type represents the parameters for modifying a policy. It shall comply with the provisions This type represents the parameters for modifying a policy. It shall comply with the provisions Loading Loading
src/SOL012/PolicyManagement/PolicyManagement.yaml +14 −6 Original line number Original line Diff line number Diff line Loading @@ -628,6 +628,10 @@ components: description: > description: > Status of the policy on whether it is activated or deactivated. Status of the policy on whether it is activated or deactivated. $ref: "../components/SOL012_schemas.yaml#/components/schemas/ActivationStatus" $ref: "../components/SOL012_schemas.yaml#/components/schemas/ActivationStatus" transferStatus: description: > Status of the policy on whether the content of the policy has been transferred. $ref: "../components/SOL012_schemas.yaml#/components/schemas/TransferStatus" associations: associations: description: > description: > Identifiers of the entities that the PF manages and to which the policy associates to. Identifiers of the entities that the PF manages and to which the policy associates to. Loading Loading @@ -666,6 +670,7 @@ components: - name - name - policy - policy - activationStatus - activationStatus - transferStatus - _links - _links PolicySubscriptionRequest: PolicySubscriptionRequest: Loading Loading @@ -917,10 +922,13 @@ components: Shall be returned upon the following error: The operation cannot be executed currently, due to a conflict Shall be returned upon the following error: The operation cannot be executed currently, due to a conflict with the state of the resource. with the state of the resource. Typically, this is due to the fact that no version of the policy has been transferred; that activating a Typical reasons are attempts to: policy in ACTIVATED state; that deactivating a policy in DEACTIVATED state. • modify a policy in CREATED state; The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall convey • activate a policy in ACTIVATED state; more information about the error. • deactivate a policy in DEACTIVATED state. The response body shall contain a ProblemDetails structure, in which the "detail" attribute shall convey more information about the error. headers: headers: WWW-Authenticate: WWW-Authenticate: description: > description: > Loading Loading @@ -1024,8 +1032,8 @@ components: target resource or is not willing to disclose that one exists. target resource or is not willing to disclose that one exists. The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013 [6], The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013 [6], including rules for the presence of the response body. including rules for the presence of the response body. Specifically in case of this resource, the response code 404 shall also be returned if no version of the Specifically in case of this resource, the response code 404 shall also be returned if the policy is in policy has been transferred. CREATED state. In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which In this case, the response body shall be present, and shall contain a ProblemDetails structure, in which the "detail" attribute shall convey more information about the error. the "detail" attribute shall convey more information about the error. headers: headers: Loading
src/SOL012/components/SOL012_schemas.yaml +9 −0 Original line number Original line Diff line number Diff line Loading @@ -291,6 +291,15 @@ components: - ACTIVATED - ACTIVATED - DEACTIVATED - DEACTIVATED TransferStatus: description: > The enumeration TransferStatus shall comply with the provisions defined in table 5.6.4.4-1. It indicates the transfer status of a policy type: string enum: - CREATED - TRANSFERRED PolicyModifications: PolicyModifications: description: > description: > This type represents the parameters for modifying a policy. It shall comply with the provisions This type represents the parameters for modifying a policy. It shall comply with the provisions Loading