commit | 9727be561bc336337cb82aa843c11d514c678a29 | [log] [tgz] |
---|---|---|
author | saul.gill <saul.gill@est.tech> | Fri Feb 17 15:02:29 2023 +0000 |
committer | saul.gill <saul.gill@est.tech> | Fri Feb 17 15:03:25 2023 +0000 |
tree | 0991c6fee2c5c21ce0bdc22071f27b1ed832aeb8 | |
parent | 4b45a63b9e8512f0502680eb99a7b6457b48b5a3 [diff] |
Fix deregister message timing Deregister message was not sent in time before participant shutdown Issue-ID: POLICY-4499 Change-Id: If830299e15d784df589b83d9e3e2e0aa20289df7 Signed-off-by: saul.gill <saul.gill@est.tech>
diff --git a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/ParticipantHandler.java b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/ParticipantHandler.java index bf9fbbc..ff96779 100644 --- a/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/ParticipantHandler.java +++ b/participant/participant-intermediary/src/main/java/org/onap/policy/clamp/acm/participant/intermediary/handler/ParticipantHandler.java
@@ -172,9 +172,8 @@ public void sendParticipantDeregister() { var participantDeregister = new ParticipantDeregister(); participantDeregister.setParticipantId(participantId); - - undeployInstancesOnParticipant(); publisher.sendParticipantDeregister(participantDeregister); + undeployInstancesOnParticipant(); } private void undeployInstancesOnParticipant() {