Commit b5509559 authored by Muhammad Hamza's avatar Muhammad Hamza
Browse files

Minor fixes

parent 7a7c7ce0
Pipeline #7728 running with stage
...@@ -955,6 +955,8 @@ components: ...@@ -955,6 +955,8 @@ components:
This type represents a subscription request related to notifications This type represents a subscription request related to notifications
about NFV-MANO configuration and information management changes. about NFV-MANO configuration and information management changes.
type: object type: object
required:
- callbackUri
properties: properties:
filter: filter:
description: > description: >
...@@ -975,14 +977,16 @@ components: ...@@ -975,14 +977,16 @@ components:
This attribute shall only be present if the subscriber requires This attribute shall only be present if the subscriber requires
authorization of notifications. authorization of notifications.
$ref: "../components/SOL009_schemas.yaml#/components/schemas/SubscriptionAuthentication" $ref: "../components/SOL009_schemas.yaml#/components/schemas/SubscriptionAuthentication"
required:
- callbackUri
CimSubscription: CimSubscription:
description: > description: >
This type represents a subscription related to notifications about This type represents a subscription related to notifications about
NFV-MANO configuration and information management changes NFV-MANO configuration and information management changes
type: object type: object
required:
- id
- callbackUri
- _links
properties: properties:
id: id:
description: > description: >
...@@ -1009,10 +1013,6 @@ components: ...@@ -1009,10 +1013,6 @@ components:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/Link" $ref: "../components/SOL009_schemas.yaml#/components/schemas/Link"
required: required:
- self - self
required:
- id
- callbackUri
- _links
ChangeStateRequest: ChangeStateRequest:
description: > description: >
...@@ -1067,6 +1067,12 @@ components: ...@@ -1067,6 +1067,12 @@ components:
description: > description: >
This type represents a Change state operation occurrence. This type represents a Change state operation occurrence.
type: object type: object
required:
- id
- operationState
- stateEnteredTime
- startTime
- managedObjectRef
properties: properties:
id: id:
description: > description: >
...@@ -1116,12 +1122,6 @@ components: ...@@ -1116,12 +1122,6 @@ components:
to reading an individual resource, and may be present according to the chosen to reading an individual resource, and may be present according to the chosen
attribute selector parameter if this data type is returned in a response to attribute selector parameter if this data type is returned in a response to
a query of a container resource. a query of a container resource.
required:
- id
- operationState
- stateEnteredTime
- startTime
- managedObjectRef
ManoServiceInterface: ManoServiceInterface:
description: > description: >
...@@ -1604,6 +1604,12 @@ components: ...@@ -1604,6 +1604,12 @@ components:
* NOTE: A cardinality greater than one supports having different interface versions or api Endpoints * NOTE: A cardinality greater than one supports having different interface versions or api Endpoints
to be used for accessing the same instance of an NFV-MANO service. to be used for accessing the same instance of an NFV-MANO service.
type: object type: object
required:
- id
- name
- description
- manoServiceInterfaceIds
- _links
properties: properties:
id: id:
description: > description: >
...@@ -1646,12 +1652,6 @@ components: ...@@ -1646,12 +1652,6 @@ components:
minItems: 1 minItems: 1
required: required:
- manoServiceInterfaces - manoServiceInterfaces
required:
- id
- name
- description
- manoServiceInterfaceIds
- _links
NfvoSpecificInfo: NfvoSpecificInfo:
description: > description: >
...@@ -1661,6 +1661,9 @@ components: ...@@ -1661,6 +1661,9 @@ components:
of the specification. For instance, "ETSI GS NFV-SOL 001 (V2.5.1)". of the specification. For instance, "ETSI GS NFV-SOL 001 (V2.5.1)".
NOTE 2: If this attribute is not present, the value of this parameter is undefined. NOTE 2: If this attribute is not present, the value of this parameter is undefined.
type: object type: object
required:
- supportedVnfdFormats
- supportedNsdFormats
properties: properties:
maxOnboardedNsdNum: maxOnboardedNsdNum:
description: > description: >
...@@ -1720,9 +1723,6 @@ components: ...@@ -1720,9 +1723,6 @@ components:
required: required:
- nsdFormat - nsdFormat
- standardVersion - standardVersion
required:
- supportedVnfdFormats
- supportedNsdFormats
VnfmSpecificInfo: VnfmSpecificInfo:
description: > description: >
...@@ -1731,6 +1731,10 @@ components: ...@@ -1731,6 +1731,10 @@ components:
* NOTE: The information to be provided in this attribute shall relate to the specification and version * NOTE: The information to be provided in this attribute shall relate to the specification and version
of the specification. For instance, "ETSI GS NFV-SOL 001 (V2.5.1)". of the specification. For instance, "ETSI GS NFV-SOL 001 (V2.5.1)".
type: object type: object
required:
- resoruceMgmtModeSupport
- managedVnfInstanceInfos
- supportedVnfdFormats
properties: properties:
resoruceMgmtModeSupport: resoruceMgmtModeSupport:
description: > description: >
...@@ -1782,10 +1786,6 @@ components: ...@@ -1782,10 +1786,6 @@ components:
- vnfdFormat - vnfdFormat
- standardVersion - standardVersion
minItems: 1 minItems: 1
required:
- resoruceMgmtModeSupport
- managedVnfInstanceInfos
- supportedVnfdFormats
VimSpecificInfo: VimSpecificInfo:
description: > description: >
...@@ -1866,6 +1866,10 @@ components: ...@@ -1866,6 +1866,10 @@ components:
This type represents list of parameters that can be configured on the This type represents list of parameters that can be configured on the
NFV MANO functional entity. NFV MANO functional entity.
type: object type: object
required:
- clockSyncs
- defaultLogCompileBySizeValue
- defaultLogCompileByTimerValue
properties: properties:
clockSyncs: clockSyncs:
description: > description: >
...@@ -1886,10 +1890,6 @@ components: ...@@ -1886,10 +1890,6 @@ components:
description: description:
Default value for the log compilation by timer to be used. Default value for the log compilation by timer to be used.
$ref: "../components/SOL009_schemas.yaml#/components/schemas/UnsignedInt" $ref: "../components/SOL009_schemas.yaml#/components/schemas/UnsignedInt"
required:
- clockSyncs
- defaultLogCompileBySizeValue
- defaultLogCompileByTimerValue
ConsumedManoInterfaceInfo: ConsumedManoInterfaceInfo:
description: > description: >
...@@ -1905,6 +1905,13 @@ components: ...@@ -1905,6 +1905,13 @@ components:
modify the value of the security sensitive attribute, and the modification request includes new modify the value of the security sensitive attribute, and the modification request includes new
attribute values, the whole modification request shall be rejected, and proper error information returned. attribute values, the whole modification request shall be rejected, and proper error information returned.
type: object type: object
required:
- id
- name
- type
- standardVersion
- apiVersion
- apiEndpoint
properties: properties:
name: name:
description: > description: >
...@@ -1966,13 +1973,6 @@ components: ...@@ -1966,13 +1973,6 @@ components:
Security related information including credentials information if needed Security related information including credentials information if needed
for consuming the API. See note 2. for consuming the API. See note 2.
$ref: "#/components/schemas/ClientInterfaceSecurityInfo" $ref: "#/components/schemas/ClientInterfaceSecurityInfo"
required:
- id
- name
- type
- standardVersion
- apiVersion
- apiEndpoint
CimNotificationsFilter: CimNotificationsFilter:
description: > description: >
...@@ -2008,6 +2008,8 @@ components: ...@@ -2008,6 +2008,8 @@ components:
This type represents parameters for connecting to an NTP server. This type represents parameters for connecting to an NTP server.
* NOTE: Either ipAddress or hostname shall be set, but not both at the same time. * NOTE: Either ipAddress or hostname shall be set, but not both at the same time.
type: object type: object
required:
- type
properties: properties:
type: type:
description: > description: >
...@@ -2038,8 +2040,6 @@ components: ...@@ -2038,8 +2040,6 @@ components:
Information for the other types of clock synchronization. Information for the other types of clock synchronization.
May be present if type = "OTHER". May be present if type = "OTHER".
$ref: "../components/SOL009_schemas.yaml#/components/schemas/KeyValuePairs" $ref: "../components/SOL009_schemas.yaml#/components/schemas/KeyValuePairs"
required:
- type
ServerInterfaceSecurityInfo: ServerInterfaceSecurityInfo:
description: > description: >
...@@ -3056,7 +3056,7 @@ components: ...@@ -3056,7 +3056,7 @@ components:
description: > description: >
303 SEE OTHER 303 SEE OTHER
SShall be returned when a subscription with the same Shall be returned when a subscription with the same
callbackURI and the same filter already exists and the callbackURI and the same filter already exists and the
policy of NFV-MANO functional entity is to not create policy of NFV-MANO functional entity is to not create
redundant subscriptions. redundant subscriptions.
......
...@@ -164,6 +164,15 @@ components: ...@@ -164,6 +164,15 @@ components:
configuration and information of the NFV-MANO functional entity configuration and information of the NFV-MANO functional entity
have been changed. have been changed.
type: object type: object
required:
- id
- notificationType
- subscriptionId
- timeStamp
- informationChangedTime
- manoEntityId
- changedInfo
- _links
properties: properties:
id: id:
description: > description: >
...@@ -212,20 +221,21 @@ components: ...@@ -212,20 +221,21 @@ components:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink" $ref: "../components/SOL009_schemas.yaml#/components/schemas/NotificationLink"
required: required:
- self - self
required:
- id
- notificationType
- subscriptionId
- timeStamp
- informationChangedTime
- manoEntityId
- changedInfo
- _links
ChangeStateNotification: ChangeStateNotification:
description: > description: >
This type represents a Change state operation occurrence. This type represents a Change state operation occurrence.
type: object type: object
required:
- id
- notificationType
- subscriptionId
- timestamp
- changeStateOpOccId
- stateChangedTime
- changeStateOperationState
- managedObjectRef
- _links
properties: properties:
id: id:
description: > description: >
...@@ -297,14 +307,4 @@ components: ...@@ -297,14 +307,4 @@ components:
required: required:
- subscription - subscription
- objectInstance - objectInstance
- changeStateOpOcc - changeStateOpOcc
required: \ No newline at end of file
- id
- notificationType
- subscriptionId
- timestamp
- changeStateOpOccId
- stateChangedTime
- changeStateOperationState
- managedObjectRef
- _links
\ No newline at end of file
...@@ -576,7 +576,7 @@ components: ...@@ -576,7 +576,7 @@ components:
description: > description: >
303 SEE OTHER 303 SEE OTHER
SShall be returned when a subscription with the same Shall be returned when a subscription with the same
callbackURI and the same filter already exists and the callbackURI and the same filter already exists and the
policy of NFV-MANO functional entity is to not create policy of NFV-MANO functional entity is to not create
redundant subscriptions. redundant subscriptions.
......
...@@ -238,8 +238,8 @@ paths: ...@@ -238,8 +238,8 @@ paths:
requestBody: requestBody:
$ref: "#/components/requestBodies/CompileLogRequest" $ref: "#/components/requestBodies/CompileLogRequest"
responses: responses:
"200": "201":
$ref: '#/components/responses/LogReportCompiled.Post.200' $ref: '#/components/responses/LogReportCompiled.Post.201'
"202": "202":
$ref: '#/components/responses/LogReportCompiled.Post.202' $ref: '#/components/responses/LogReportCompiled.Post.202'
"303": "303":
...@@ -472,7 +472,9 @@ components: ...@@ -472,7 +472,9 @@ components:
responses: responses:
Subscription.Delete.204: Subscription.Delete.204:
description: >- description: >
204 NO CONTENT
Shall be returned when the "Individual subscription" resource has been deleted successfully. Shall be returned when the "Individual subscription" resource has been deleted successfully.
The response body shall be empty. The response body shall be empty.
headers: headers:
...@@ -494,7 +496,9 @@ components: ...@@ -494,7 +496,9 @@ components:
type: string type: string
Subscription.Get.200: Subscription.Get.200:
description: >- description: >
200 OK
Shall be returned when the subscription has been read successfully. Shall be returned when the subscription has been read successfully.
The response body shall contain a representation of the "Individual subscription" resource, The response body shall contain a representation of the "Individual subscription" resource,
as defined in clause 8.6.2.3. as defined in clause 8.6.2.3.
...@@ -521,7 +525,9 @@ components: ...@@ -521,7 +525,9 @@ components:
$ref: "#/components/schemas/LogmSubscription" $ref: "#/components/schemas/LogmSubscription"
Subscriptions.Get.200: Subscriptions.Get.200:
description: >- description: >
200 OK
Shall be returned when the list of subscriptions has been queried successfully. Shall be returned when the list of subscriptions has been queried successfully.
The response body shall contain in an array the representations of all active subscriptions of The response body shall contain in an array the representations of all active subscriptions of
the functional block that invokes the method, i.e. zero or more representations of log management the functional block that invokes the method, i.e. zero or more representations of log management
...@@ -556,7 +562,9 @@ components: ...@@ -556,7 +562,9 @@ components:
$ref: "#/components/schemas/LogmSubscription" $ref: "#/components/schemas/LogmSubscription"
Subscriptions.Post.201: Subscriptions.Post.201:
description: >- description: >
201 CREATED
Shall be returned when the subscription has been created successfully. Shall be returned when the subscription has been created successfully.
A representation of the created "Individual subscription" resource shall be returned in the response body, A representation of the created "Individual subscription" resource shall be returned in the response body,
as defined in clause 8.6.2.3. as defined in clause 8.6.2.3.
...@@ -590,7 +598,9 @@ components: ...@@ -590,7 +598,9 @@ components:
$ref: "#/components/schemas/LogmSubscription" $ref: "#/components/schemas/LogmSubscription"
Subscriptions.Post.303: Subscriptions.Post.303:
description: >- description: >
303 SEE OTHER
Shall be returned when a subscription with the same callbackURI and the same filter already exists and the Shall be returned when a subscription with the same callbackURI and the same filter already exists and the
policy of the NFV-MANO functional entity is to not create redundant subscriptions. policy of the NFV-MANO functional entity is to not create redundant subscriptions.
The HTTP response shall include a "Location" HTTP header that contains the resource URI of the existing The HTTP response shall include a "Location" HTTP header that contains the resource URI of the existing
...@@ -619,8 +629,10 @@ components: ...@@ -619,8 +629,10 @@ components:
schema: schema:
type: string type: string
LogReportCompiled.Post.200: LogReportCompiled.Post.201:
description: >- description: >
201 CREATED
Shall be returned for a successful compilation of the log data and creation of the associated log report Shall be returned for a successful compilation of the log data and creation of the associated log report
(synchronous mode). (synchronous mode).
The response body shall contain a representation of the log report resource, as defined in clause 8.6.2.7. The response body shall contain a representation of the log report resource, as defined in clause 8.6.2.7.
...@@ -655,7 +667,7 @@ components: ...@@ -655,7 +667,7 @@ components:
subscriptions.post.422: subscriptions.post.422:
description: > description: >
422 Unprocessable Entity 422 UNPROCESSABLE ENTITY
Shall be returned upon the following error: The content type Shall be returned upon the following error: The content type
of the payload body is supported and the payload body of a request of the payload body is supported and the payload body of a request
...@@ -690,7 +702,9 @@ components: ...@@ -690,7 +702,9 @@ components:
$ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails" $ref: "../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails"
LogReportCompiled.Post.202: LogReportCompiled.Post.202:
description: >- description: >
202 ACCEPTED
Shall be returned when the request has been accepted for processing, and it is expected to take some Shall be returned when the request has been accepted for processing, and it is expected to take some
time to compile the log file and create the associated log report (asynchronous mode). time to compile the log file and create the associated log report (asynchronous mode).
The response body shall be empty. The response body shall be empty.
...@@ -721,7 +735,9 @@ components: ...@@ -721,7 +735,9 @@ components:
type: string type: string
LogReportCompiled.Post.303: LogReportCompiled.Post.303:
description: >- description: >
303 SEE OTHER
Shall be returned when a log data compilation and report creation is already ongoing, or a log report has just been Shall be returned when a log data compilation and report creation is already ongoing, or a log report has just been
created, for the specified logging job at the time of processing the request. created, for the specified logging job at the time of processing the request.
The response body shall be empty. The response body shall be empty.
...@@ -752,7 +768,9 @@ components: ...@@ -752,7 +768,9 @@ components:
type: string type: string
LogReportCompiled.Post.422: LogReportCompiled.Post.422:
description: >- description: >
422 UNPROCESSABLE ENTITY
The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013, The general cause for this error and its handling is specified in clause 6.4 of ETSI GS NFV-SOL 013,
including rules for the presence of the response body. including rules for the presence of the response body.
Specifically, in case of this task resource, the response code 422 shall also be returned if the Specifically, in case of this task resource, the response code 422 shall also be returned if the
...@@ -783,7 +801,9 @@ components: ...@@ -783,7 +801,9 @@ components:
$ref: '../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails' $ref: '../components/SOL009_schemas.yaml#/components/schemas/ProblemDetails'
LogReport.Get.200: LogReport.Get.200:
description: >- description: >
200 OK
Shall be returned when information of an individual log report has been read successfully. Shall be returned when information of an individual log report has been read successfully.
The response body shall contain a representation of the "Individual log report" resource, as The response body shall contain a representation of the "Individual log report" resource, as
defined in clause 8.6.2.7. defined in clause 8.6.2.7.
...@@ -810,7 +830,9 @@ components: ...@@ -810,7 +830,9 @@ components:
$ref: "#/components/schemas/LogReport" $ref: "#/components/schemas/LogReport"
LogReport.Get.202: LogReport.Get.202:
description: >- description: >
202 ACCEPTED
Shall be returned if the creation of the log report is ongoing and no log report is available yet Shall be returned if the creation of the log report is ongoing and no log report is available yet
(applicable in asynchronous mode of the "Compile log task" resource). (applicable in asynchronous mode of the "Compile log task" resource).
The response body shall be empty. The response body shall be empty.
...@@ -833,7 +855,9 @@ components: ...@@ -833,7 +855,9 @@ components:
type: string