1 <beans xmlns="http://www.springframework.org/schema/beans"
2 xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
3 xmlns:util="http://www.springframework.org/schema/util"
5 http://www.springframework.org/schema/beans
6 http://www.springframework.org/schema/beans/spring-beans.xsd
7 http://www.springframework.org/schema/util
8 http://www.springframework.org/schema/util/spring-util.xsd
11 <bean id="champEventPublisher" class="org.onap.aai.event.client.DMaaPEventPublisher">
12 <constructor-arg name="host" value="mr.api.simpledemo.openecomp.org:3904"/>
13 <constructor-arg name="topic" value="champRawEventsOnap"/>
14 <constructor-arg name="username" value="test"/>
15 <constructor-arg name="password" value="test"/>
16 <constructor-arg name="maxBatchSize" value="100"/>
17 <constructor-arg name="maxAgeMs" value="250"/>
18 <constructor-arg name="delayBetweenBatchesMs" value="50"/>
19 <constructor-arg name="transportType" value="HTTPAUTH"/>
22 <!-- Graph Implementation Configuration-->
23 <util:map id="props" map-class="java.util.HashMap" key-type="java.lang.String" value-type="java.lang.Object">
24 <entry key="champcore.event.stream.buffer.capacity" value="50" value-type="java.lang.Integer"/>
25 <entry key="champcore.event.stream.publisher-pool-size" value="10" value-type="java.lang.Integer"/>
26 <entry key="champcore.event.stream.publisher" value-ref="champEventPublisher"/>
28 <entry key="graph.name" value="aaigraph"/>
29 <entry key="storage.backend" value="cassandra"/>
30 <entry key="storage.hostname" value="aai.hbase.simpledemo.onap.org"/>
33 <entry key="storage.hbase.ext.hbase.zookeeper.property.clientPort" value="2181"/>
34 <entry key="storage.hbase.ext.zookeeper.znode.parent" value="/hbase-unsecure"/>
37 <!-- Cassandra Config -->
38 <entry key="storage.port" value="9160"/>
41 <!-- Titan Implementation -->
43 <bean id="graphBuilder" class="org.onap.aai.champtitan.graph.impl.TitanChampGraphImpl$Builder">
44 <constructor-arg value="aaigraph-onap.dev"/>
45 <constructor-arg ref="props" />
47 <bean id="graphImpl" class="org.onap.aai.champtitan.graph.impl.TitanChampGraphImpl">
48 <constructor-arg ref="graphBuilder" />
52 <!-- Janus Implementation -->
53 <bean id="graphBuilder" class="org.onap.aai.champjanus.graph.impl.JanusChampGraphImpl$Builder">
54 <constructor-arg value="<%= @CHAMP_GRAPH_NAME %>"/>
55 <constructor-arg ref="props"/>
57 <bean id="graphImpl" class="org.onap.aai.champjanus.graph.impl.JanusChampGraphImpl">
58 <constructor-arg ref="graphBuilder"/>
61 <bean id="champUUIDService" class="org.onap.champ.service.ChampUUIDService">
62 <constructor-arg name="graphImpl" ref="graphImpl"/>
65 <bean id="cache" class="org.onap.champ.service.ChampTransactionCache">
66 <constructor-arg name="txTimeOutInSec" value="600"/>
67 <constructor-arg name="graphImpl" ref="graphImpl"/>
70 <bean id="champDataService" class="org.onap.champ.service.ChampDataService">
71 <constructor-arg name="champUUIDService" ref="champUUIDService"/>
72 <constructor-arg name="graphImpl" ref="graphImpl"/>
73 <constructor-arg name="cache" ref="cache"/>
76 <bean id="champRestService" class="org.onap.champ.ChampRESTAPI">
77 <constructor-arg name="champDataService" ref="champDataService"/>
78 <constructor-arg name="champAsyncRequestProcessor" ref="champAsyncRequestProcessor"/>