summaryrefslogtreecommitdiffstats
path: root/asdctool/src/main
diff options
context:
space:
mode:
authorWojciech Sliwka <wojciech.sliwka@nokia.com>2019-07-16 14:02:03 +0200
committerWojciech Sliwka <wojciech.sliwka@nokia.com>2019-07-16 14:02:03 +0200
commit3338a073437dfd2f43c3b2572d7964d98a3bfb08 (patch)
tree111d1b98377370ae16ab7996781103be736b2735 /asdctool/src/main
parentaf504ed5e03899ebf214d0fec6bd78ac4adb1b77 (diff)
Fixing build
Change-Id: Ia75cdf511e44347294bb646add89b6c1f60f239c Issue-ID: SDC-2403 Signed-off-by: Wojciech Sliwka <wojciech.sliwka@nokia.com>
Diffstat (limited to 'asdctool/src/main')
-rw-r--r--asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java10
1 files changed, 8 insertions, 2 deletions
diff --git a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
index 47dd7fda0f..764e6d93b1 100644
--- a/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
+++ b/asdctool/src/main/java/org/openecomp/sdc/asdctool/impl/validator/config/ValidationToolConfiguration.java
@@ -40,6 +40,7 @@ import org.openecomp.sdc.be.dao.JanusGraphClientStrategy;
import org.openecomp.sdc.be.dao.cassandra.ArtifactCassandraDao;
import org.openecomp.sdc.be.dao.cassandra.CassandraClient;
import org.openecomp.sdc.be.dao.config.DAOSpringConfig;
+import org.openecomp.sdc.be.dao.impl.HealingPipelineDao;
import org.openecomp.sdc.be.dao.janusgraph.JanusGraphClient;
import org.openecomp.sdc.be.dao.janusgraph.JanusGraphGenericDao;
import org.openecomp.sdc.be.dao.jsongraph.HealingJanusGraphDao;
@@ -219,9 +220,14 @@ public class ValidationToolConfiguration {
return new VrfObjectFixHandler(janusGraphDao);
}
+ @Bean(name = "healingPipelineDao")
+ public HealingPipelineDao healingPipelineDao(){
+ return new HealingPipelineDao();
+ }
+
@Bean(name = "janusgraph-dao")
- public HealingJanusGraphDao healingJanusGraphDao(JanusGraphClient janusGraphClient) {
- return new HealingJanusGraphDao(janusGraphClient);
+ public HealingJanusGraphDao healingJanusGraphDao(HealingPipelineDao healingPipelineDao, JanusGraphClient janusGraphClient) {
+ return new HealingJanusGraphDao(healingPipelineDao, janusGraphClient);
}
@Bean