diff options
Diffstat (limited to 'catalog-model/src/test/resources')
5 files changed, 43 insertions, 0 deletions
diff --git a/catalog-model/src/test/resources/modelOperation/expected-additional_types-3.yaml b/catalog-model/src/test/resources/modelOperation/expected-additional_types-3.yaml new file mode 100644 index 0000000000..3284b491e0 --- /dev/null +++ b/catalog-model/src/test/resources/modelOperation/expected-additional_types-3.yaml @@ -0,0 +1,11 @@ +tosca_definitions_version: tosca_simple_yaml_1_3 +description: Auto-generated file that contains package custom types or types added + after system installation. +artifact_types: + tosca.artifacts.Implementation.Python: + derived_from: tosca.artifacts.Implementation + description: Python replacement. + tosca.artifacts.Implementation.Python.V3: + derived_from: tosca.artifacts.Implementation.Python + description: This artifact type represents a Python3 file that contains Python + language constructs that can be executed within a Python interpreter. diff --git a/catalog-model/src/test/resources/modelOperation/expected-import-3.yaml b/catalog-model/src/test/resources/modelOperation/expected-import-3.yaml new file mode 100644 index 0000000000..a59439b794 --- /dev/null +++ b/catalog-model/src/test/resources/modelOperation/expected-import-3.yaml @@ -0,0 +1,9 @@ +tosca_definitions_version: tosca_simple_yaml_1_2 +description: ETSI NFV SOL 001 nsd types definitions version 2.5.1 +artifact_types: + tosca.artifacts.File: + derived_from: tosca.artifacts.Root + description: This artifact type is used when an artifact definition needs to have + its associated file simply treated as a file and no special handling/handlers + are invoked (i.e., it is not treated as either an implementation or deployment + artifact type). diff --git a/catalog-model/src/test/resources/modelOperation/input-artifact_types.yaml b/catalog-model/src/test/resources/modelOperation/input-artifact_types.yaml new file mode 100644 index 0000000000..90240ba609 --- /dev/null +++ b/catalog-model/src/test/resources/modelOperation/input-artifact_types.yaml @@ -0,0 +1,6 @@ +tosca.artifacts.Implementation.Python: + derived_from: tosca.artifacts.Implementation + description: Python replacement. +tosca.artifacts.Implementation.Python.V3: + derived_from: tosca.artifacts.Implementation.Python + description: This artifact type represents a Python3 file that contains Python language constructs that can be executed within a Python interpreter. diff --git a/catalog-model/src/test/resources/modelOperation/original-additional_types-2.yaml b/catalog-model/src/test/resources/modelOperation/original-additional_types-2.yaml new file mode 100644 index 0000000000..8395bbacb2 --- /dev/null +++ b/catalog-model/src/test/resources/modelOperation/original-additional_types-2.yaml @@ -0,0 +1,7 @@ +tosca_definitions_version: tosca_simple_yaml_1_3 +description: Auto-generated file that contains package custom types or types added + after system installation. +artifact_types: + tosca.artifacts.Implementation.Python: + derived_from: tosca.artifacts.Implementation + description: Python replacement. diff --git a/catalog-model/src/test/resources/modelOperation/original-import-3.yaml b/catalog-model/src/test/resources/modelOperation/original-import-3.yaml new file mode 100644 index 0000000000..7853411821 --- /dev/null +++ b/catalog-model/src/test/resources/modelOperation/original-import-3.yaml @@ -0,0 +1,10 @@ +tosca_definitions_version: tosca_simple_yaml_1_2 +description: ETSI NFV SOL 001 nsd types definitions version 2.5.1 + +artifact_types: + tosca.artifacts.Implementation.Python: + derived_from: tosca.artifacts.Implementation + description: Python replacement. + tosca.artifacts.File: + derived_from: tosca.artifacts.Root + description: This artifact type is used when an artifact definition needs to have its associated file simply treated as a file and no special handling/handlers are invoked (i.e., it is not treated as either an implementation or deployment artifact type). |