From 516014379cdc27d163be223bb8ce9f87d72dea1f Mon Sep 17 00:00:00 2001 From: Michal Banka Date: Wed, 31 Mar 2021 13:43:34 +0200 Subject: Add stndDefined domain to HV-VES - Updated SDK dependency to 1.8.2 so HV-VES recognizes stndDefinedNamespace field during events deserialization - Added new domain stndDefined - Added routings specific for stndDefined events which is controled by stndDefinedNamespace field, not domain - Bumped HV-VES to 1.8.0 Signed-off-by: Michal Banka Change-Id: Ia27f2de7a4b64df5e8a182888006f7e8a941ca63 Issue-ID: DCAEGEN2-2702 --- .../dcae/collectors/veshv/domain/VesEventDomain.kt | 3 ++- .../veshv/domain/VesEventStndDefinedNamespace.kt | 27 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) create mode 100644 sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventStndDefinedNamespace.kt (limited to 'sources/hv-collector-domain/src') diff --git a/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventDomain.kt b/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventDomain.kt index 0b18337d..b5b3d0ab 100644 --- a/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventDomain.kt +++ b/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventDomain.kt @@ -2,7 +2,7 @@ * ============LICENSE_START======================================================= * dcaegen2-collectors-veshv * ================================================================================ - * Copyright (C) 2018 NOKIA + * Copyright (C) 2018-2021 NOKIA * ================================================================================ * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -28,6 +28,7 @@ enum class VesEventDomain(val domainName: String) { PNF_REGISTRATION("pnfRegistration"), SIP_SIGNALING("sipSignaling"), STATE_CHANGE("stateChange"), + STND_DEFINED("stndDefined"), SYSLOG("syslog"), THRESHOLD_CROSSING_ALERT("thresholdCrossingAlert"), VOICE_QUALITY("voiceQuality"), diff --git a/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventStndDefinedNamespace.kt b/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventStndDefinedNamespace.kt new file mode 100644 index 00000000..05c7684e --- /dev/null +++ b/sources/hv-collector-domain/src/main/kotlin/org/onap/dcae/collectors/veshv/domain/VesEventStndDefinedNamespace.kt @@ -0,0 +1,27 @@ +/* + * ============LICENSE_START======================================================= + * dcaegen2-collectors-veshv + * ================================================================================ + * Copyright (C) 2018-2021 NOKIA + * ================================================================================ + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + * ============LICENSE_END========================================================= + */ +package org.onap.dcae.collectors.veshv.domain + +enum class VesEventStndDefinedNamespace(val stndDefinedNamespace: String) { + VES_3GPP_FAULT_SUPERVISION("ves-3gpp-fault-supervision"), + VES_3GPP_PROVISIONING("ves-3gpp-provisioning"), + VES_3GPP_HEARTBEAT("ves-3gpp-heartbeat"), + VES_3GPP_PERFORMANCE_ASSURANCE("ves-3gpp-performance-assurance") +} -- cgit 1.2.3-korg