Fix participantHtml issue with multi instances in ACM 73/133273/1
authorFrancescoFioraEst <francesco.fiora@est.tech>
Thu, 16 Feb 2023 11:28:29 +0000 (11:28 +0000)
committerFrancesco Fiora <francesco.fiora@est.tech>
Thu, 16 Feb 2023 11:34:08 +0000 (11:34 +0000)
commit1ae7e832bebe07b6c4a34d50320f5726493c5c0b
tree808a451b82f25e126ee440bf13dc956069f4df3c
parent2d3db6e64ef37448b419b31e2af7412aeb2b42ca
Fix participantHtml issue with multi instances in ACM

In AutomationCompositionElementHandler of participantHtml in ACM,
refactor the result of the httpClient, that should not be a
parameter class, and handle InterruptedException

Issue-ID: POLICY-4560
Change-Id: Id5af639734f29f3600b12205bb83d315a162df99
Signed-off-by: FrancescoFioraEst <francesco.fiora@est.tech>
participant/participant-impl/participant-impl-http/src/main/java/org/onap/policy/clamp/acm/participant/http/main/handler/AutomationCompositionElementHandler.java
participant/participant-impl/participant-impl-http/src/main/java/org/onap/policy/clamp/acm/participant/http/main/webclient/AcHttpClient.java
participant/participant-impl/participant-impl-http/src/test/java/org/onap/policy/clamp/acm/participant/http/handler/AcElementHandlerTest.java
participant/participant-impl/participant-impl-http/src/test/java/org/onap/policy/clamp/acm/participant/http/webclient/AcHttpClientTest.java