aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-be/src
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 /catalog-be/src
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
Diffstat (limited to 'catalog-be/src')
-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
6 files changed, 21 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