diff options
author | Michal Banka <michal.banka@nokia.com> | 2020-08-06 10:54:00 +0200 |
---|---|---|
committer | Michal Banka <michal.banka@nokia.com> | 2020-08-06 11:10:20 +0200 |
commit | 2cb7186ef6cdcfed3e7783794c9562121d1bd91f (patch) | |
tree | bbf803510ec2c1c06556d7867e43e69a90938303 | |
parent | 6f58fd51da0b6f2a96492403e49547f1ba361aa0 (diff) |
Add VES properties for stndDefined validation
Updated collector.properties file which override default properties file
when running tests for https. New properties override default values
required for proper stndDefined domain validation.
Build will fail until merge of https://gerrit.onap.org/r/c/dcaegen2/collectors/ves/+/110433
Also should be merged after: https://gerrit.onap.org/r/c/integration/csit/+/110719
Change-Id: I35b1f47e8322bec6d2852764155bffac85517dc4
Signed-off-by: Michal Banka <michal.banka@nokia.com>
Issue-ID: DCAEGEN2-2254
-rwxr-xr-x | tests/dcaegen2/testcases/resources/collector.properties | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/dcaegen2/testcases/resources/collector.properties b/tests/dcaegen2/testcases/resources/collector.properties index 211979d4..088b6352 100755 --- a/tests/dcaegen2/testcases/resources/collector.properties +++ b/tests/dcaegen2/testcases/resources/collector.properties @@ -50,6 +50,16 @@ collector.truststore.passwordfile=etc/trustpasswordfile collector.schema.checkflag=1 collector.schema.file={\"v1\":\"./etc/CommonEventFormat_27.2.json\",\"v2\":\"./etc/CommonEventFormat_27.2.json\",\"v3\":\"./etc/CommonEventFormat_27.2.json\",\"v4\":\"./etc/CommonEventFormat_27.2.json\",\"v5\":\"./etc/CommonEventFormat_28.4.1.json\",\"v7\":\"./etc/CommonEventFormat_30.2_ONAP.json\"} +## Schema StndDefinedFields Validation checkflag +## default no validation checkflag (-1) +## If enabled (1) - schema files locations must be specified, mapping file path must be specified, schema reference path +## in event json must be specified, path to stndDefined data field in event json must be specified +collector.externalSchema.2ndStageValidation=-1 +collector.externalSchema.schemasLocation=./etc/externalRepo/ +collector.externalSchema.mappingFileLocation=./etc/externalRepo/schema-map.json +collector.externalSchema.schemaRefPath=/event/stndDefinedFields/schemaReference +collector.externalSchema.stndDefinedDataPath=/event/stndDefinedFields/data + ## List all streamid per domain to be supported. The streamid should match to channel name on dmaapfile collector.dmaap.streamid=fault=ves-fault|syslog=ves-syslog|heartbeat=ves-heartbeat|measurementsForVfScaling=ves-measurement|mobileFlow=ves-mobileflow|other=ves-other|stateChange=ves-statechange|thresholdCrossingAlert=ves-thresholdCrossingAlert|voiceQuality=ves-voicequality|sipSignaling=ves-sipsignaling|notification=ves-notification|pnfRegistration=ves-pnfRegistration|3GPP-FaultSupervision=ves-3gpp-fault-supervision|3GPP-Heartbeat=ves-3gpp-heartbeat|3GPP-Provisioning=ves-3gpp-provisioning|3GPP-PerformanceAssurance=ves-3gpp-performance-assurance collector.dmaapfile=./etc/DmaapConfig.json |