aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvasraz <vasyl.razinkov@est.tech>2022-12-08 14:27:23 +0000
committerMichael Morris <michael.morris@est.tech>2022-12-12 12:46:11 +0000
commit5405387e5858e44efa934e61d3e9ad2ee3e9e781 (patch)
tree1dbda4bf5f604eb8e2b3769bd1e58bdaa5946b1f
parentc4e23cbf41736a1c516d7dc77ca4e09f59bda7f4 (diff)
Add missing 'scalar-unit.bitrate' data type
Signed-off-by: Vasyl Razinkov <vasyl.razinkov@est.tech> Change-Id: I33faf90f04667ef2b8a334dfba39fe256a21c223 Issue-ID: SDC-4300
-rw-r--r--catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml3
-rw-r--r--catalog-be/src/main/resources/import/tosca/models/init/acm/tosca/data-types/dataTypes.yml2
-rw-r--r--catalog-be/src/main/resources/import/tosca/models/init/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml3
-rw-r--r--catalog-be/src/main/resources/import/tosca/models/upgrade/acm/tosca/data-types/dataTypes.yml2
-rw-r--r--catalog-be/src/main/resources/import/tosca/models/upgrade/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml3
-rw-r--r--catalog-be/src/test/resources/yamlValidation/test-no-valid.yml14
-rw-r--r--common/onap-tosca-datatype/src/main/resources/globalTypes/tosca/data.yml3
-rw-r--r--openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/tosca/data.yml3
-rw-r--r--openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/tosca/data.yml2
-rw-r--r--openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/globalServiceTemplates/data.yml3
10 files changed, 32 insertions, 6 deletions
diff --git a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
index 5ff50bfcad..aec45318d4 100644
--- a/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/data-types/dataTypes.yml
@@ -40,6 +40,9 @@ scalar-unit.time:
scalar-unit.frequency:
derived_from: scalar-unit
+scalar-unit.bitrate:
+ derived_from: scalar-unit
+
tosca.datatypes.Credential:
derived_from: tosca.datatypes.Root
properties:
diff --git a/catalog-be/src/main/resources/import/tosca/models/init/acm/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/models/init/acm/tosca/data-types/dataTypes.yml
index b879179697..5a34ccbe2a 100644
--- a/catalog-be/src/main/resources/import/tosca/models/init/acm/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/models/init/acm/tosca/data-types/dataTypes.yml
@@ -26,6 +26,8 @@ scalar-unit.time:
derived_from: scalar-unit
scalar-unit.frequency:
derived_from: scalar-unit
+scalar-unit.bitrate:
+ derived_from: scalar-unit
onap.datatypes.ToscaConceptIdentifier:
derived_from: tosca.datatypes.Root
properties:
diff --git a/catalog-be/src/main/resources/import/tosca/models/init/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/models/init/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
index fa5e0e1e16..8d8b779d25 100644
--- a/catalog-be/src/main/resources/import/tosca/models/init/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/models/init/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
@@ -40,6 +40,9 @@ scalar-unit.time:
scalar-unit.frequency:
derived_from: scalar-unit
+scalar-unit.bitrate:
+ derived_from: scalar-unit
+
tosca.datatypes.nfv.L2AddressData:
derived_from: tosca.datatypes.Root
description: Describes the information on the MAC addresses to be assigned to a connection point.
diff --git a/catalog-be/src/main/resources/import/tosca/models/upgrade/acm/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/models/upgrade/acm/tosca/data-types/dataTypes.yml
index b879179697..5a34ccbe2a 100644
--- a/catalog-be/src/main/resources/import/tosca/models/upgrade/acm/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/models/upgrade/acm/tosca/data-types/dataTypes.yml
@@ -26,6 +26,8 @@ scalar-unit.time:
derived_from: scalar-unit
scalar-unit.frequency:
derived_from: scalar-unit
+scalar-unit.bitrate:
+ derived_from: scalar-unit
onap.datatypes.ToscaConceptIdentifier:
derived_from: tosca.datatypes.Root
properties:
diff --git a/catalog-be/src/main/resources/import/tosca/models/upgrade/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml b/catalog-be/src/main/resources/import/tosca/models/upgrade/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
index fa5e0e1e16..8d8b779d25 100644
--- a/catalog-be/src/main/resources/import/tosca/models/upgrade/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
+++ b/catalog-be/src/main/resources/import/tosca/models/upgrade/etsi-SOL001-v2.5.1/tosca/data-types/dataTypes.yml
@@ -40,6 +40,9 @@ scalar-unit.time:
scalar-unit.frequency:
derived_from: scalar-unit
+scalar-unit.bitrate:
+ derived_from: scalar-unit
+
tosca.datatypes.nfv.L2AddressData:
derived_from: tosca.datatypes.Root
description: Describes the information on the MAC addresses to be assigned to a connection point.
diff --git a/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml b/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
index 4d6bd8992d..ae98ac054e 100644
--- a/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
+++ b/catalog-be/src/test/resources/yamlValidation/test-no-valid.yml
@@ -34,17 +34,19 @@ scalar-unit.time:
scalar-unit.frequency:
derived_from: scalar-unit
-
-tosca.datatypes.Credential:
+scalar-unit.bitrate:
+ derived_from: scalar-unit
+
+tosca.datatypes.Credential:
derived_from: tosca.datatypes.Root
- properties:
- protocol:
+ properties:
+ protocol:
type: string
required: false
- token_type:
+ token_type:
type: string
default: password
- token:
+ token:
type: string
keys:
type: map
diff --git a/common/onap-tosca-datatype/src/main/resources/globalTypes/tosca/data.yml b/common/onap-tosca-datatype/src/main/resources/globalTypes/tosca/data.yml
index a799d0d25b..3d3d5539cf 100644
--- a/common/onap-tosca-datatype/src/main/resources/globalTypes/tosca/data.yml
+++ b/common/onap-tosca-datatype/src/main/resources/globalTypes/tosca/data.yml
@@ -62,6 +62,9 @@ data_types:
scalar-unit.time:
derived_from: tosca.datatypes.Root
+ scalar-unit.bitrate:
+ derived_from: tosca.datatypes.Root
+
tosca.datatypes.network.NetworkInfo:
derived_from: tosca.datatypes.Root
description: The Network type is a complex TOSCA data type used to describe logical network information.
diff --git a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/tosca/data.yml b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/tosca/data.yml
index c77b89c10f..b0e74d3137 100644
--- a/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/tosca/data.yml
+++ b/openecomp-be/backend/openecomp-sdc-vendor-software-product-manager/src/test/resources/extractServiceComposition/toscaGlobalServiceTemplates/tosca/data.yml
@@ -62,6 +62,9 @@ data_types:
scalar-unit.time:
derived_from: tosca.datatypes.Root
+ scalar-unit.bitrate:
+ derived_from: tosca.datatypes.Root
+
tosca.datatypes.network.NetworkInfo:
derived_from: tosca.datatypes.Root
description: The Network type is a complex TOSCA data type used to describe logical network information.
diff --git a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/tosca/data.yml b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/tosca/data.yml
index 68e3363e31..36ea256c66 100644
--- a/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/tosca/data.yml
+++ b/openecomp-be/lib/openecomp-sdc-enrichment-lib/openecomp-sdc-enrichment-impl/src/test/resources/mock/toscaGlobalServiceTemplates/tosca/data.yml
@@ -32,6 +32,8 @@ data_types:
derived_from: tosca.datatypes.Root
scalar-unit.time:
derived_from: tosca.datatypes.Root
+ scalar-unit.bitrate:
+ derived_from: tosca.datatypes.Root
tosca.datatypes.network.NetworkInfo:
derived_from: tosca.datatypes.Root
description: The Network type is a complex TOSCA data type used to describe logical network information.
diff --git a/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/globalServiceTemplates/data.yml b/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/globalServiceTemplates/data.yml
index 3197845dfd..38aa6c8b42 100644
--- a/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/globalServiceTemplates/data.yml
+++ b/openecomp-be/lib/openecomp-tosca-lib/src/test/resources/mock/globalServiceTemplates/data.yml
@@ -62,6 +62,9 @@ data_types:
scalar-unit.time:
derived_from: tosca.datatypes.Root
+ scalar-unit.bitrate:
+ derived_from: tosca.datatypes.Root
+
tosca.datatypes.network.NetworkInfo:
derived_from: tosca.datatypes.Root
description: The Network type is a complex TOSCA data type used to describe logical network information.