From 676a7325b3240d69270330928a00b7b2ec8e3861 Mon Sep 17 00:00:00 2001 From: "Determe, Sebastien (sd378r)" Date: Mon, 11 Sep 2017 13:23:12 +0200 Subject: Fix Holmes delegates and sdc Fix holmes delegates not declared in the cldsconfiguration and SDC IT tests that reports some exceptions Change-Id: I19dae11ad994e78e1f71fc78a2ff4627d91e66c1 Issue-Id: CLAMP-27 Signed-off-by: Determe, Sebastien (sd378r) --- .../java/org/onap/clamp/clds/config/CldsConfiguration.java | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'src/main') diff --git a/src/main/java/org/onap/clamp/clds/config/CldsConfiguration.java b/src/main/java/org/onap/clamp/clds/config/CldsConfiguration.java index eee179111..fa0ca9615 100644 --- a/src/main/java/org/onap/clamp/clds/config/CldsConfiguration.java +++ b/src/main/java/org/onap/clamp/clds/config/CldsConfiguration.java @@ -37,6 +37,8 @@ import org.onap.clamp.clds.client.DcaeDispatcherServices; import org.onap.clamp.clds.client.DcaeInventoryServices; import org.onap.clamp.clds.client.DcaeReqDelegate; import org.onap.clamp.clds.client.DcaeReqDeleteDelegate; +import org.onap.clamp.clds.client.HolmesPolicyDelegate; +import org.onap.clamp.clds.client.HolmesPolicyDeleteDelegate; import org.onap.clamp.clds.client.OperationalPolicyDelegate; import org.onap.clamp.clds.client.OperationalPolicyDeleteDelegate; import org.onap.clamp.clds.client.PolicyClient; @@ -172,4 +174,14 @@ public class CldsConfiguration { return new TcaPolicyDeleteDelegate(); } + @Bean(name = "holmesPolicyDelegate") + public HolmesPolicyDelegate getHolmesPolicyDelegate() { + return new HolmesPolicyDelegate(); + } + + @Bean(name = "holmesPolicyDeleteDelegate") + public HolmesPolicyDeleteDelegate getHolmesPolicyDeleteDelegate() { + return new HolmesPolicyDeleteDelegate(); + } + } \ No newline at end of file -- cgit 1.2.3-korg