aboutsummaryrefslogtreecommitdiffstats
path: root/src/main
diff options
context:
space:
mode:
authorDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-09-11 13:23:12 +0200
committerDeterme, Sebastien (sd378r) <sd378r@intl.att.com>2017-09-11 13:23:12 +0200
commit676a7325b3240d69270330928a00b7b2ec8e3861 (patch)
tree143c6bcb9004047f9e7f7398498454fbd6249b75 /src/main
parent97655250b373893157bfadd267ba21693b6fa905 (diff)
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) <sd378r@intl.att.com>
Diffstat (limited to 'src/main')
-rw-r--r--src/main/java/org/onap/clamp/clds/config/CldsConfiguration.java12
1 files changed, 12 insertions, 0 deletions
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