Commit 54fbe24c authored by Michele Carignani's avatar Michele Carignani

several changes to use local definitions and responses, and quick fixes

parent 2f050f6d
Pipeline #151 failed with stage
in 0 seconds
......@@ -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
......@@ -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
......@@ -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:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment