repository.xml 2.34 KB
Newer Older
Peter Harrison's avatar
Peter Harrison committed
1 2 3 4 5 6
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" 
	xmlns:tx="http://www.springframework.org/schema/tx"
	xmlns:jee="http://www.springframework.org/schema/jee"
	xsi:schemaLocation="http://www.springframework.org/schema/beans 
7
	http://www.springframework.org/schema/beans/spring-beans-3.1.xsd 
Peter Harrison's avatar
Peter Harrison committed
8 9 10
	http://www.springframework.org/schema/tx 
	http://www.springframework.org/schema/tx/spring-tx.xsd 
	http://www.springframework.org/schema/jee
11
	http://www.springframework.org/schema/jee/spring-jee-3.1.xsd">
Peter Harrison's avatar
Peter Harrison committed
12
	
13
	<!-- 
Peter Harrison's avatar
Peter Harrison committed
14 15 16
	<bean id="repository" class="org.apache.jackrabbit.commons.JcrUtils" factory-method="getRepository">
		<constructor-arg value="${repository.url}"/>
	</bean>
17
	 -->
18 19 20 21
	 
	<bean id="repositoryFactory" class="nz.net.orcon.kanban.tools.MongoRepositoryFactory">
		<property name="host" value="${repository.url}"/>
	</bean>
Peter Harrison's avatar
Peter Harrison committed
22 23
	 	
	<bean id="ocmFactory" class="nz.net.orcon.kanban.tools.OcmMapperFactory">
24
		<property name="repositoryFactory" ref="repositoryFactory"/>
Peter Harrison's avatar
Peter Harrison committed
25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
		<property name="user" value="admin"/>
		<property name="password" value="admin"/>
		<property name="domainPackage" value="nz.net.orcon.kanban.model"/>
		<property name="mainNodes">
			<list>
				<value>board</value>
				<value>template</value>
				<value>resource</value>
				<value>form</value>
				<value>list</value>
				<value>notifications</value>
				<value>user</value>
				<value>team</value>
			</list>
		</property>
		<property name="classList">
			<list>
				<value>Template</value>
43
				<value>SimpleTemplate</value>
Peter Harrison's avatar
Peter Harrison committed
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74
				<value>TemplateField</value>
				<value>TemplateTask</value>
				<value>TemplateGroup</value>
				<value>Option</value>
				<value>Board</value>
				<value>Phase</value>
				<value>Card</value>
				<value>CardSummary</value>
				<value>CardAttachment</value>
				<value>CardEvent</value>
				<value>CardTask</value>
				<value>ObjectMapping</value>
				<value>Filter</value>
				<value>Form</value>
				<value>Condition</value>
				<value>View</value>
				<value>ViewField</value>
				<value>Rule</value>
				<value>Action</value>
				<value>ListResource</value>
				<value>CardNotification</value>
				<value>Notification</value>
				<value>User</value>
				<value>Team</value>
				<value>NotificationTypeMapping</value>
				<value>BoardRule</value>
			</list>
		</property>
	</bean>
	
</beans>