diff options
Diffstat (limited to 'common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp')
4 files changed, 42 insertions, 0 deletions
diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.json b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.json new file mode 100644 index 0000000000..7c6d552b82 --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.json @@ -0,0 +1,8 @@ +{ + "artifact": { + "name": { "minlength": "6" }, + "maxsize": "1048", + "extension": "pdf,tgz,xls" + }, + "_config": { "mergeStrategy": "union" , "namespace":"ModeAsConfigProp" } +}
\ No newline at end of file diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.properties b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.properties new file mode 100644 index 0000000000..a82e6b23fe --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.properties @@ -0,0 +1,10 @@ +artifact.name.maxlength=14 +artifact.extension=pdf,zip,xml +artifact.supportedEncryption=Base64,MD5 +artifact.name.allowedChar=a-zA-Z +artifact.status=Deleted +artifact.persistLocation=/opt/spool, ${sys:user.home}/asdc +artifact.jsonSchema=@${sys:user.home}/TestResources/GeneratorsList.json +artifact.xmlSchema=@${env:path}/myschema.json +artifact.consumerAPPC=${artifact.consumer} +_config.namespace=ModeAsConfigProp
\ No newline at end of file diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.xml b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.xml new file mode 100644 index 0000000000..2d05d2724c --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.xml @@ -0,0 +1,16 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <artifact> + <name> + <maxlength>28</maxlength> + </name> + <extension>gz,tgz</extension> + <mandatory> + <name>true</name> + </mandatory> + </artifact> + <_config> + <namespace>ModeAsConfigProp</namespace> + <mergeStrategy>merge</mergeStrategy> + </_config> +</configuration>
\ No newline at end of file diff --git a/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.yaml b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.yaml new file mode 100644 index 0000000000..ef08bba6ce --- /dev/null +++ b/common/openecomp-common-configuration-management/openecomp-configuration-management-test/src/test/resources/MergeStrategyAsConfigProp/config.yaml @@ -0,0 +1,8 @@ +artifact: + name: + allowedChar: "a-zA-Z_0-9" + encoded: true + consumer: "appc,catalog" +_config: + mergeStrategy: "override" + namespace: "ModeAsConfigProp"
\ No newline at end of file |