summaryrefslogtreecommitdiffstats
path: root/engine-d/src/main
diff options
context:
space:
mode:
Diffstat (limited to 'engine-d/src/main')
-rw-r--r--engine-d/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/engine-d/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java b/engine-d/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java
index 2c9d88b..8c3d4f5 100644
--- a/engine-d/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java
+++ b/engine-d/src/main/java/org/onap/holmes/dsa/dmaappolling/Subscriber.java
@@ -77,15 +77,15 @@ public class Subscriber {
}
}
- private List<String> getDMaaPData() throws Exception {
- return new JerseyClient()
+ private List<String> getDMaaPData() {
+ return JerseyClient.newInstance()
.path(consumerGroup)
.path(consumer)
.queryParam("timeout", period)
.get(url, List.class);
}
- private List<VesAlarm> extractVesAlarm(List<String> responseEntity) throws IOException {
+ private List<VesAlarm> extractVesAlarm(List<String> responseEntity) {
List<VesAlarm> vesAlarmList = new ArrayList<>();
for (String entity : responseEntity) {
vesAlarmList.add(dMaaPResponseUtil.convertJsonToVesAlarm(entity));