aboutsummaryrefslogtreecommitdiffstats
path: root/hv-collector-core/src/main
diff options
context:
space:
mode:
authorkjaniak <kornel.janiak@nokia.com>2018-07-25 14:02:27 +0200
committerPiotr Jaszczyk <piotr.jaszczyk@nokia.com>2018-08-03 09:55:19 +0200
commitefceaa86a2fc3eb22b9e30bafd08c0fb6ad2a783 (patch)
treea56fc159369f44fec5be42d776285c867e81bf66 /hv-collector-core/src/main
parentfc6ab3e5fee2bc3e607848caa665b166d6f38dd6 (diff)
Enable UNDEFINED option in commonHeader GPB schema
Closes ONAP-655 Change-Id: I6fc830d2b8c7bdd726f306a6fbf7e979f39e03f0 Signed-off-by: kjaniak <kornel.janiak@nokia.com> Issue-ID: DCAEGEN2-601
Diffstat (limited to 'hv-collector-core/src/main')
-rw-r--r--hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/MessageValidator.kt4
1 files changed, 2 insertions, 2 deletions
diff --git a/hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/MessageValidator.kt b/hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/MessageValidator.kt
index 4586d30c..543d7dc6 100644
--- a/hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/MessageValidator.kt
+++ b/hv-collector-core/src/main/kotlin/org/onap/dcae/collectors/veshv/impl/MessageValidator.kt
@@ -27,11 +27,11 @@ internal object MessageValidator {
private val requiredFieldDescriptors = listOf(
"version",
"eventName",
- // "domain", TODO to be restored back when GPB schema will include default value
+ "domain",
"eventId",
"sourceName",
"reportingEntityName",
- // "priority", TODO to be restored back when GPB schema will include default value
+ "priority",
"startEpochMicrosec",
"lastEpochMicrosec",
"sequence")