summaryrefslogtreecommitdiffstats
path: root/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java
diff options
context:
space:
mode:
authorMukesh Paliwal <mukesh.paliwal1@huawei.com>2022-01-19 17:43:21 +0530
committerMukesh Paliwal <mukesh.paliwal1@huawei.com>2022-02-25 08:59:10 +0530
commita72ce419bce29ba8cf421eb74afad730d7cf374b (patch)
tree8ea71656ed6a6dfb7d1e5d01243c7b9ddb036bb4 /src/main/java/org/onap/dcae/common/publishing/EventPublisher.java
parentbc40a9d58fe7ede6a41863b60466c776b388bbb3 (diff)
RESTConf - Switch CBS client library to 1.8.7 or higher
Issue-ID: DCAEGEN2-2857 Signed-off-by: Mukesh Paliwal <mukesh.paliwal1@huawei.com> Change-Id: I3242a29e2e09fae65dd1738b6883970ce436bf2a
Diffstat (limited to 'src/main/java/org/onap/dcae/common/publishing/EventPublisher.java')
-rw-r--r--src/main/java/org/onap/dcae/common/publishing/EventPublisher.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java b/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java
index 91736ec..8042215 100644
--- a/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java
+++ b/src/main/java/org/onap/dcae/common/publishing/EventPublisher.java
@@ -3,7 +3,7 @@
* org.onap.dcaegen2.restconfcollector
* ================================================================================
* Copyright (C) 2018 Nokia. All rights reserved.
- * Copyright (C) 2018-2019 Huawei. All rights reserved.
+ * Copyright (C) 2018-2022 Huawei. All rights reserved.
* ================================================================================
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -30,7 +30,7 @@ import org.slf4j.Logger;
public interface EventPublisher {
static EventPublisher createPublisher(Logger outputLogger, Map<String, PublisherConfig> dMaaPConfig) {
- return new DMaaPEventPublisher(new DMaaPPublishersCache(dMaaPConfig), outputLogger);
+ return new DMaaPEventPublisher(dMaaPConfig);
}
void sendEvent(JSONObject event, String domain);