diff options
author | 2018-10-24 06:18:06 +0000 | |
---|---|---|
committer | 2018-10-24 06:18:06 +0000 | |
commit | 32ff3e346b875442a04119c7376697dc5eee8513 (patch) | |
tree | c4a067866456fbafc08b5ef66dbfe189a4b9906b /common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS | |
parent | 983f006941760e02fbdec6e458105698deb51f8c (diff) |
Moved config tests into config module
Change-Id: I7b99fdeeeb66f5de9bcd9283d815976c3d7520b0
Issue-ID: SDC-1867
Signed-off-by: vempo <vitaliy.emporopulo@amdocs.com>
Diffstat (limited to 'common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS')
5 files changed, 55 insertions, 0 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config-NS.properties b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config-NS.properties new file mode 100644 index 0000000000..b7e985b90a --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config-NS.properties @@ -0,0 +1,13 @@ +artifact.name.maxlength=14 +artifact.extension=pdf, zip, xml +artifact.supportedEncryption=Base64 +artifact.supportedEncryption=MD5 +artifact.name.allowedChar=a-zA-Z +artifact.name.allowedchar=a-zA-Z +artifact.status=deleted +artifact.status=Deleted +artifact.persistLocation=/opt/spool, ${sys:user.home}/asdc +artifact.jsonSchema=@GeneratorsList.json +artifact.xmlSchema=@${env:path}/myschema.json +artifact.consumerAPPC=${artifact.consumer} +_config.namespace=FallbackToGlobalNS
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.json new file mode 100644 index 0000000000..165e318d38 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.json @@ -0,0 +1,12 @@ +{ + "artifact": { + "name": { + "minlength": "6" + }, + "extension": "pdf,tgz,xls" + }, + "_config": { + "namespace": "FallbackToGlobalNS", + "mergeStrategy": "union" + } +}
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.properties b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.properties new file mode 100644 index 0000000000..4daad19dcc --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.properties @@ -0,0 +1,3 @@ +maxCachedBufferSize=1024 +artifact.maxsize=1024 +artifact.name.maxlength=28
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.xml b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.xml new file mode 100644 index 0000000000..9e45acf8d4 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.xml @@ -0,0 +1,19 @@ +<?xml version="1.0" encoding="UTF-8"?> +<configuration> + <artifact> + <name> + <maxlength>28</maxlength> + </name> + <extension>gz,tgz</extension> + <supportedencryption>Base64</supportedencryption> + <status>deleted</status> + <mandatory> + <name>true</name> + </mandatory> + </artifact> + <_config> + <namespace>FallbackToGlobalNS</namespace> + <mergeStrategy>merge</mergeStrategy> + </_config> + +</configuration>
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.yaml b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.yaml new file mode 100644 index 0000000000..46f50b6087 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/FallbackToGlobalNS/config.yaml @@ -0,0 +1,8 @@ +artifact: + name: + allowedChar: "a-zA-Z_0-9" + encoded: true + consumer: "appc,catalog" + _config: + namespace: "FallbackToGlobalNS" + mergeStrategy: "override" |