From 237b28af1cb0cd71312d8b86f4cd2e1e6d6d85b9 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 8 Mar 2019 16:07:26 +0100 Subject: [PATCH 1/3] Renamed NS Performance Management API for compliance with build script --- ...{NSperformanceManagement.yaml => NSPerformanceManagement.yaml} | 0 1 file changed, 0 insertions(+), 0 deletions(-) rename src/SOL005/NSPerformanceManagement/{NSperformanceManagement.yaml => NSPerformanceManagement.yaml} (100%) diff --git a/src/SOL005/NSPerformanceManagement/NSperformanceManagement.yaml b/src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml similarity index 100% rename from src/SOL005/NSPerformanceManagement/NSperformanceManagement.yaml rename to src/SOL005/NSPerformanceManagement/NSPerformanceManagement.yaml -- GitLab From 3af4c61d84a901ed90004cc1050df067f4554714 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 8 Mar 2019 16:11:08 +0100 Subject: [PATCH 2/3] fix: replaced type unsignedInt with type integer and mimimum value 0 --- .../definitions/SOL005NSPerfomananceManagement_def.yaml | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/SOL005/NSPerformanceManagement/definitions/SOL005NSPerfomananceManagement_def.yaml b/src/SOL005/NSPerformanceManagement/definitions/SOL005NSPerfomananceManagement_def.yaml index 9bca927..5e0d8c1 100644 --- a/src/SOL005/NSPerformanceManagement/definitions/SOL005NSPerfomananceManagement_def.yaml +++ b/src/SOL005/NSPerformanceManagement/definitions/SOL005NSPerfomananceManagement_def.yaml @@ -60,7 +60,8 @@ definitions: within one reporting period are reported together. In particular when choosing short collection and reporting periods, the number of PM jobs that can be supported depends on the capability of the producing entity. - type: UnsignedInt + type: integer + minimum: 0 default: 0 reportingPeriod: description: > @@ -73,7 +74,8 @@ definitions: within one reporting period are reported together. In particular when choosing short collection and reporting periods, the number of PM jobs that can be supported depends on the capability of the producing entity. - type: UnsignedInt + type: integer + minimum: 0 default: 0 reportingBoundary: description: > -- GitLab From b19ce8af9b6c9568d3722755ca6934f1628a3da4 Mon Sep 17 00:00:00 2001 From: Michele Carignani Date: Fri, 8 Mar 2019 17:36:21 +0100 Subject: [PATCH 3/3] added minimum value 0 requirement where SOL005 specifies UnsignedInt --- .../NSLifecycleManagement/definitions/SOL005_def.yaml | 4 +++- .../definitions/SOL005VNFPMManagement_def.yaml | 11 +++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml b/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml index 5e4c195..8c49260 100644 --- a/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml +++ b/src/SOL005/NSLifecycleManagement/definitions/SOL005_def.yaml @@ -496,10 +496,12 @@ description: > Identifies the lower bound of the port range. upperPort Integer type: integer + minimum: 0 upperPort: description: > Identifies the upper bound of the port range. type: integer + minimum: 0 Mask: description: > @@ -611,4 +613,4 @@ description: > The token endpoint from which the access token can be obtained. Shall be present if it has not been provisioned out of band. - $ref: "#/definitions/Uri" \ No newline at end of file + $ref: "#/definitions/Uri" diff --git a/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml b/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml index 9a511cd..2f97803 100644 --- a/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml +++ b/src/SOL005/VNFPackageManagement/definitions/SOL005VNFPMManagement_def.yaml @@ -249,15 +249,18 @@ definitions: minDisk: description: > The minimal disk for this software image in bytes. - type: integer + type: integer + minimum: 0 minRam: description: > The minimal RAM for this software image in bytes. - type: integer + type: integer + minimum: 0 size: description: > Size of this software image in bytes. - type: integer + type: integer + minimum: 0 userMetadata: description: > User-defined data. @@ -655,4 +658,4 @@ definitions: - PKG_DELETE: The VNF package has been deleted. enum: - "OP_STATE_CHANGE" - - "PKG_DELETE" \ No newline at end of file + - "PKG_DELETE" -- GitLab