From c5434807b5329f98ac0b00190df5a05562641370 Mon Sep 17 00:00:00 2001 From: vishnu-alapati <89137504+vishnu-alapati@users.noreply.github.com> Date: Wed, 3 Nov 2021 14:32:52 +0530 Subject: [PATCH] Added a new abstract method for /message_protocol endpoint. (#34) Co-authored-by: Vishnu Alapati --- CHANGELOG.md | 3 +++ pom.xml | 2 +- .../com/ericsson/eiffel/remrem/protocol/MsgService.java | 9 +++++++++ 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 6b352e6..d900c94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,6 @@ +## 2.1.2 +- Added a new abstract method for /message_protocol endpoint. + ## 2.1.1 - Uplifted eiffel-remrem-parent version from 2.0.4 to 2.0.5 to resolve security vulnerability issue. diff --git a/pom.xml b/pom.xml index 2fd79e1..d4cbba5 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ 2.0.5 eiffel-remrem-protocol-interface - 2.1.1 + 2.1.2 jitpack.io diff --git a/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java b/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java index 2869ae8..280d19c 100644 --- a/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java +++ b/src/main/java/com/ericsson/eiffel/remrem/protocol/MsgService.java @@ -70,13 +70,22 @@ public interface MsgService { * @return Json of template file */ JsonElement getEventTemplate(String eventType); + + /** + * Returns message protocol edition name + * + * @return edition name + */ + String getProtocolEdition(); + /** * Returns service name. * * @return service name from the messaging library. */ + String getServiceName(); /**