aboutsummaryrefslogtreecommitdiffstats
path: root/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
diff options
context:
space:
mode:
authorgrabinsk <maciej.grabinski@nokia.com>2019-06-27 12:25:59 +0200
committergrabinsk <maciej.grabinski@nokia.com>2019-06-28 15:15:33 +0200
commit768ab8275b35750ebf46411be54e7bd452a95578 (patch)
treefbd7c81e0dd293daa7a228c9517c6a31baf325d5 /prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
parent3e9dc9c5421fe2997e2e5032c6c587c389d9f483 (diff)
fix PRH dmaap content type configuration after breaking changes introduced to SDK
and mix of minor code cleanups Change-Id: I568f49b8b6635f23b2089a4355eb78451102c2b1 Issue-ID: DCAEGEN2-1647 Signed-off-by: grabinsk <maciej.grabinski@nokia.com>
Diffstat (limited to 'prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java')
-rw-r--r--prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
index 31794f6b..c21fd400 100644
--- a/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
+++ b/prh-app-server/src/main/java/org/onap/dcaegen2/services/prh/configuration/PrhAppConfig.java
@@ -43,8 +43,8 @@ public class PrhAppConfig {
private Resource gitInfo;
- @EventListener
- public void onApplicationStartedEvent(ApplicationStartedEvent applicationStartedEvent) throws IOException {
+ @EventListener(ApplicationStartedEvent.class)
+ public void onApplicationStarted() throws IOException {
if(LOGGER.isDebugEnabled()) {
LOGGER.debug("Git info={}", StreamUtils.copyToString(gitInfo.getInputStream(), Charset.defaultCharset()));
}