summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorLiam Fallon <liam.fallon@est.tech>2022-08-29 20:42:38 +0000
committerGerrit Code Review <gerrit@onap.org>2022-08-29 20:42:38 +0000
commitde9211996ad934d231c4950debc2bd49094d547b (patch)
treeb238f35dfdc68fd4b847604fd14a548fa1f06433 /models
parent71c9053f4b27fd1b8f30fd358c9b465b057eaea3 (diff)
parentdf9dc5ca6f5a6fed5af6c322a582d70d8114b21b (diff)
Merge "Add new topic for publishing events in Acm Element Impl"
Diffstat (limited to 'models')
-rw-r--r--models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/DmaapConfig.java4
-rw-r--r--models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/ElementConfig.java4
2 files changed, 5 insertions, 3 deletions
diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/DmaapConfig.java b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/DmaapConfig.java
index 0d13bcda5..dad92afa9 100644
--- a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/DmaapConfig.java
+++ b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/DmaapConfig.java
@@ -26,7 +26,9 @@ import lombok.Data;
public class DmaapConfig {
private String server;
- private String topic;
+ private String listenerTopic;
+
+ private String publisherTopic;
private Integer fetchTimeout;
diff --git a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/ElementConfig.java b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/ElementConfig.java
index d1f064823..c86f7f225 100644
--- a/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/ElementConfig.java
+++ b/models/src/main/java/org/onap/policy/clamp/models/acm/messages/rest/element/ElementConfig.java
@@ -26,11 +26,11 @@ import org.onap.policy.models.tosca.authorative.concepts.ToscaConceptIdentifier;
@Data
public class ElementConfig {
- private ToscaConceptIdentifier elementId;
+ private ToscaConceptIdentifier receiverId;
private ElementType elementType;
- private Integer timerSec;
+ private Integer timerMs;
private DmaapConfig topicParameterGroup;
}