root/releases/bedework-3.8/config/bwbuild/.defaults/synch-config.xml

Revision 3392 (checked in by douglm, 2 years ago)

More synch work on linking bedework collection to a subscription. New messages to provide information and (partially) implemented unsubscribe.

Fix to mitigate effect of icalendar parsing errors. The x-prop ical copy is causing more issues. More logging to track them down.

Add some simple xcal cloning methods to rpiutil

Line 
1 <?xml version="1.0" encoding="UTF-8"?>
2 <beans xmlns="http://www.springframework.org/schema/beans"
3        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
4        xsi:schemaLocation="http://www.springframework.org/schema/beans
5                 http://www.springframework.org/schema/beans/spring-beans-2.0.xsd">
6
7   <!-- =====================================================================
8        Synch engine configuration
9        
10        Eventually this data will migrate into a database to allow for dynamic
11        persistent configuration of the system. Many of these properties can be
12        changed via the jmx console but currently the chanegs will not survive
13        a restart.
14        ===================================================================== -->
15   <bean id="synchConfig"
16         class="org.bedework.synch.SynchConfig">
17     <!-- Size of synchling pool. This effectively limits the number of
18          concurrent threads processing synch actions  -->
19     <property name="synchlingPoolSize"
20               value="20" />
21
22     <!-- timeout in millisecs for synchling pool. Processes waiting for a free 
23          synchling will timeout after this period and fail  -->
24     <property name="synchlingPoolTimeout"
25               value="5000" />
26
27     <!-- How often we retry a synch when one of the targets goes missing.
28          It's possible a file target might get deleted and replaced rather than
29          updated. Also changing access might make a collection disappear for a
30          while. -->
31     <property name="missingTargetRetries"
32               value="10" />
33
34     <!-- callback. Comment out for no service. MUST end in "/" -->
35     <property name="callbackURI"
36               value="http://128.113.124.225:8080/synch/" />
37              
38     <!-- Path to keystore - comment out to use default. Used for ssl etc. -->         
39     <property name="keystore"
40               value="@APPSERVER-DATA-DIR@/synchcerts" />
41
42     <!-- Public/private key locations -->
43     <property name="privKeys"
44               value="@DATA_DIR@/privkeys" />
45     <property name="pubKeys"
46               value="@DATA_DIR@/pubkeys" />
47
48     <!-- Timezone server location -->
49     <property name="timezonesURI"
50               value="http://localhost:8080/tzsvr" />
51
52     <!-- The table of connectors we define. Each has an id, the key and a
53          value which is the class of the connector for that id. The ids must be
54          unique, but we may have more than one occurrence of connectors with the
55           class.
56          
57           For example we could have two bedework connectors to allow synch
58           between the local bedework and some other remote bedework.
59      -->               
60     <property name="connectors">
61       <map>
62         <!-- manager is a special connector which provides a way of
63              communicating with the synch engine. There must always be
64              one, and only one, of this class. -->
65         <entry key="manager"
66                value="org.bedework.synch.cnctrs.manager.SynchConnector" />
67
68         <!-- An exchange connector -->               
69         <entry key="exdemo"
70                value="org.bedework.synch.cnctrs.exchange.ExchangeConnector" />
71
72         <!-- A local bedework connector. This handles connections to the local
73              bedework system. This name is configured in to bedework so that
74              it can locate its own connections.
75           -->               
76         <entry key="localBedework"
77                value="org.bedework.synch.cnctrs.bedework.BedeworkConnector" />
78
79         <!-- A file connector -->               
80         <entry key="read-only-file"
81                value="org.bedework.synch.cnctrs.file.FileConnector" />
82       </map>
83     </property>
84   </bean>
85
86   <!-- The connector "exdemo" will load the following config -
87        the suffix "ExchangeConfig" is appended to the connector id -->
88   <bean id="exdemoExchangeConfig"
89         class="org.bedework.synch.cnctrs.exchange.ExchangeConnectorConfig">
90     <property name="readOnly" value="false" />
91
92     <property name="trustLastmod" value="true" />
93
94     <!-- location of the WSDL - modified to include server element
95          This corresponds to the wsdl deploy location defined in the
96          build properties file.
97     -->
98     <property name="exchangeWSDLURI"
99               value="http://localhost:8080/wsdls/exchange/Services.wsdl" />
100               <!--
101     <property name="props">
102       <props>
103         <prop key="x1">y1</prop>
104         <prop key="x2">y2</prop>
105       </props>
106     </property>
107      -->
108   </bean>
109  
110   <!-- The connector "localBedework" will load the following config -
111        the suffix "BedeworkConfig" is appended to the connector id -->
112   <bean id="localBedeworkBedeworkConfig"
113         class="org.bedework.synch.cnctrs.bedework.BedeworkConnectorConfig">
114     <property name="readOnly" value="false" />
115
116     <property name="trustLastmod" value="true" />
117
118     <!-- location of the WSDL for the remote web service
119          This corresponds to the wsdl deploy location defined in the
120          build properties file.
121     -->
122     <property name="bwWSDLURI"
123               value="http://localhost:8080/wsdls/synch/wssvc.wsdl" />
124              
125     <!-- seconds before retry on failure  -->
126     <property name="retryInterval"
127               value="10" />
128              
129     <!-- seconds before we ping just to say we're still around -->
130     <property name="keepAliveInterval"
131               value="300" />
132   </bean>
133  
134   <!-- The connector "read-only-file" will load the following config -
135        the suffix "FileConfig" is appended to the connector id -->
136   <bean id="read-only-fileFileConfig"
137         class="org.bedework.synch.cnctrs.file.FileConnectorConfig">
138     <property name="readOnly" value="true" />
139
140     <property name="trustLastmod" value="false" />
141
142     <!-- seconds  -->
143     <property name="minPoll" value="15" />
144   </bean>
145 </beans>
Note: See TracBrowser for help on using the browser.