From 32ff3e346b875442a04119c7376697dc5eee8513 Mon Sep 17 00:00:00 2001 From: vempo Date: Wed, 24 Oct 2018 06:18:06 +0000 Subject: Moved config tests into config module Change-Id: I7b99fdeeeb66f5de9bcd9283d815976c3d7520b0 Issue-ID: SDC-1867 Signed-off-by: vempo --- .../NotificationOnPropVal/config-NS.properties | 13 +++++++++++++ .../test/resources/NotificationOnPropVal/config.json | 12 ++++++++++++ .../resources/NotificationOnPropVal/config.properties | 3 +++ .../test/resources/NotificationOnPropVal/config.xml | 18 ++++++++++++++++++ .../test/resources/NotificationOnPropVal/config.yaml | 9 +++++++++ 5 files changed, 55 insertions(+) create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config-NS.properties create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.json create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.properties create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.xml create mode 100644 common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.yaml (limited to 'common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal') diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config-NS.properties b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config-NS.properties new file mode 100644 index 0000000000..279d407664 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/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=NotificationOnPropVal \ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.json new file mode 100644 index 0000000000..1027e072cc --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.json @@ -0,0 +1,12 @@ +{ + "artifact": { + "name": { + "minlength": "6" + }, + "extension": "pdf,tgz,xls" + }, + "_config": { + "mergeStrategy": "union", + "namespace": "NotificationOnPropVal" + } +} \ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.properties b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.properties new file mode 100644 index 0000000000..4daad19dcc --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/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/NotificationOnPropVal/config.xml b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.xml new file mode 100644 index 0000000000..cb88bb3363 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.xml @@ -0,0 +1,18 @@ + + + + + 28 + + gz,tgz + Base64 + deleted + + true + + + <_config> + NotificationOnPropVal + merge + + \ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.yaml b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.yaml new file mode 100644 index 0000000000..7283df4ecb --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/NotificationOnPropVal/config.yaml @@ -0,0 +1,9 @@ + + artifact: + name: + allowedChar: "a-zA-Z_0-9" + encoded: true + consumer: "appc,catalog" + _config: + mergeStrategy: "override" + namespace: "NotificationOnPropVal" \ No newline at end of file -- cgit 1.2.3-korg