diff options
Diffstat (limited to 'catalog-be/src')
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 |