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 <!-- Event publisher to pass to the Champ library for logging raw graph
12 events (Kafka implementation). -->
13 <bean id="champEventPublisher" class="org.onap.aai.event.client.KafkaEventPublisher" >
14 <constructor-arg name="hosts" value="global-kafka.{{.Release.Namespace}}:9092" />
15 <constructor-arg name="topic" value="champRawEvents" />
18 <!-- Graph Implementation Configuration-->
19 <util:map id="props" map-class="java.util.HashMap" key-type="java.lang.String" value-type="java.lang.Object">
20 <entry key="champcore.event.stream.buffer.capacity" value="50" value-type="java.lang.Integer"/>
21 <entry key="champcore.event.stream.publisher-pool-size" value="10" value-type="java.lang.Integer"/>
22 <entry key="champcore.event.stream.publisher" value-ref="champEventPublisher"/>
24 <entry key="graph.name" value="aaigraph.dev"/>
25 <entry key="storage.backend" value="hbase"/>
26 <entry key="storage.hostname" value="aai-hbase.{{.Release.Namespace}}"/>
29 <entry key="storage.hbase.ext.hbase.zookeeper.property.clientPort" value="2181"/>
30 <entry key="storage.hbase.ext.zookeeper.znode.parent" value="/hbase"/>
33 <!-- Janus Implementation -->
34 <bean id="graphBuilder" class="org.onap.aai.champjanus.graph.impl.JanusChampGraphImpl$Builder">
35 <constructor-arg value="aaigraph.dev"/>
36 <constructor-arg ref="props" />
39 <bean id="graphImpl" class="org.onap.aai.champjanus.graph.impl.JanusChampGraphImpl">
40 <constructor-arg ref="graphBuilder" />
43 <bean id="champUUIDService" class="org.onap.champ.service.ChampUUIDService" >
44 <constructor-arg name="graphImpl" ref="graphImpl" />
47 <bean id="cache" class="org.onap.champ.service.ChampTransactionCache" >
48 <constructor-arg name="txTimeOutInSec" value="600" />
49 <constructor-arg name="graphImpl" ref="graphImpl" />
52 <bean id="champDataService" class="org.onap.champ.service.ChampDataService" >
53 <constructor-arg name="champUUIDService" ref="champUUIDService" />
54 <constructor-arg name="graphImpl" ref="graphImpl" />
55 <constructor-arg name="cache" ref="cache" />
58 <bean id="champRestService" class="org.onap.champ.ChampRESTAPI" >
59 <constructor-arg name="champDataService" ref="champDataService" />
60 <constructor-arg name="champAsyncRequestProcessor"><null/></constructor-arg>