diff options
author | ramverma <ram.krishna.verma@est.tech> | 2019-04-02 18:22:41 +0000 |
---|---|---|
committer | ramverma <ram.krishna.verma@est.tech> | 2019-04-02 18:22:41 +0000 |
commit | 563ba59d9fb967681216eda454b0be9a3f13607d (patch) | |
tree | 330c70cc75eada6bd0a852409b37f69412be0eba /models-pdp/src/main/java/org | |
parent | e47ec5069a6304a028c4144e8abaa58d6462b8e2 (diff) |
Adding pdpHeartbeatIntervalMs to PdpUpdate message
Adding pdpHeartbeatIntervalMs to PdpUpdate message. The value of which
can be used by Pdp to override its own interval for sending PdpStatus
message as heartbeat to PAP.
Change-Id: I720713b9b569cf09bf393ac797da29e7f330f8bf
Issue-ID: POLICY-1443
Signed-off-by: ramverma <ram.krishna.verma@est.tech>
Diffstat (limited to 'models-pdp/src/main/java/org')
-rw-r--r-- | models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java index 80d4e94bd..200515cc4 100644 --- a/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java +++ b/models-pdp/src/main/java/org/onap/policy/models/pdp/concepts/PdpUpdate.java @@ -43,6 +43,7 @@ public class PdpUpdate extends PdpMessage { private String description; private String pdpGroup; private String pdpSubgroup; + private long pdpHeartbeatIntervalMs; private List<ToscaPolicy> policies; /** @@ -65,6 +66,7 @@ public class PdpUpdate extends PdpMessage { this.description = source.description; this.pdpGroup = source.pdpGroup; this.pdpSubgroup = source.pdpSubgroup; + this.pdpHeartbeatIntervalMs = source.pdpHeartbeatIntervalMs; this.policies = (source.policies == null ? null : source.policies.stream().map(ToscaPolicy::new).collect(Collectors.toList())); } |