diff options
author | vempo <vitaliy.emporopulo@amdocs.com> | 2018-10-24 06:18:06 +0000 |
---|---|---|
committer | vempo <vitaliy.emporopulo@amdocs.com> | 2018-10-24 06:18:06 +0000 |
commit | 32ff3e346b875442a04119c7376697dc5eee8513 (patch) | |
tree | c4a067866456fbafc08b5ef66dbfe189a4b9906b /common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration | |
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/JSONConfiguration')
4 files changed, 72 insertions, 0 deletions
diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-M.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-M.json new file mode 100644 index 0000000000..eb657ec497 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-M.json @@ -0,0 +1,18 @@ +{ + "artifact": { + "name": { + "maxlength": "28" + }, + "maxsize": "1048576", + "extension": "gz,tgz", + "supportedencryption": "Base64", + "status": "deleted", + "mandatory": { + "name": "true" + } + }, + "_config": { + "namespace": "JSONConfig", + "mergeStrategy": "merge" + } +}
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-O.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-O.json new file mode 100644 index 0000000000..a397a1bcd5 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-O.json @@ -0,0 +1,13 @@ +{ + "artifact": { + "name": { + "allowedChar": "a-zA-Z_0-9" + }, + "encoded": "true", + "consumer": "appc,catalog" + }, + "_config": { + "namespace": "JSONConfig", + "mergeStrategy": "override" + } +}
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-U.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-U.json new file mode 100644 index 0000000000..18fbfb3670 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config-U.json @@ -0,0 +1,13 @@ +{ + "artifact": { + "name": { + "minlength": "6" + }, + "maxsize": "1048", + "extension": "pdf,tgz,xls" + }, + "_config": { + "namespace": "JSONConfig", + "mergeStrategy": "union" + } +}
\ No newline at end of file diff --git a/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config.json b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config.json new file mode 100644 index 0000000000..1bb4e330b1 --- /dev/null +++ b/common/onap-common-configuration-management/onap-configuration-management-core/src/test/resources/JSONConfiguration/config.json @@ -0,0 +1,28 @@ +{ + "artifact": { + "name": { + "maxlength": "14", + "allowedChar": "a-zA-Z", + "allowedchar": "a-zA-Z" + }, + "extension": [ + "pdf", + "zip,xml" + ], + "supportedEncryption": [ + "Base64", + "MD5" + ], + "status": [ + "deleted", + "Deleted" + ], + "persistLocation": "/opt/spool,${sys:user.home}/asdc", + "jsonSchema": "@GeneratorList.json", + "xmlSchema": "@${env:path}/myschema.json", + "consumerAPPC": "${artifact.consumer}" + }, + "_config": { + "namespace": "JSONConfig" + } +}
\ No newline at end of file |