root/trunk/config/bwbuild/jboss/democal.options.xml

Revision 1935 (checked in by douglm, 5 years ago)

Further changes to the build.

Delete (most of) the jar files from the lib directory - we are downloading them from bedework.org at build time.

Use a macro to load the deployment properties adn define some deployment proeprties based on the run time options.

  • Property svn:eol-style set to LF
Line 
1 <!-- This provides run time options for each of the configured applications.
2   -->
3 <bedework-options>
4   <org>
5     <bedework>
6       <global>
7         <version>3.5</version>
8
9         <!-- This property is how the running system finds the system settings.
10              In theory we could have multiple settings with different names
11          -->
12         <systemName>bedework</systemName>
13
14         <!-- This is used to prefix administrative group names to distinguish
15              them from user group names. -->
16         <adminGroupsIdPrefix>agrp_</adminGroupsIdPrefix>
17
18         <module>
19           <!-- A dummy module with no directory. -->
20           <dir-config classname="org.bedework.calfacade.configs.DirConfigProperties">
21             <principalRoot>/principals</principalRoot>
22             <userPrincipalRoot>/principals/users</userPrincipalRoot>
23             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
24             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
25             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
26             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
27             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
28
29             <!-- List domains at your site separated by commas.
30                     A single leading wildcard "*" is allowed.
31                     If there is a single domain with no wildcard it wil be stripped from
32                     user accounts as they are entered and added as they are turned
33                     back into CUAs.
34                     Wildcarded or multiple domains will cause retention of the domain
35                     (partially untested feature) -->
36             <domains>mysite.edu</domains>
37
38             <!-- defaultDomain can be left unspecified for no default or a single
39                    exactly specified domain  -->
40             <defaultDomain>mysite.edu</defaultDomain>
41
42             <debug>true</debug>
43           </dir-config>
44
45           <!-- An example of how we might configure an ldap directory module. -->
46           <user-ldap-group classname="org.bedework.calfacade.configs.LdapConfigProperties">
47             <principalRoot>/principals</principalRoot>
48             <userPrincipalRoot>/principals/users</userPrincipalRoot>
49             <groupPrincipalRoot>/principals/groups</groupPrincipalRoot>
50             <resourcePrincipalRoot>/principals/resources</resourcePrincipalRoot>
51             <venuePrincipalRoot>/principals/locations</venuePrincipalRoot>
52             <ticketPrincipalRoot>/principals/tickets</ticketPrincipalRoot>
53             <hostPrincipalRoot>/principals/hosts</hostPrincipalRoot>
54
55             <domains>mysite.edu</domains>
56             <defaultDomain>mysite.edu</defaultDomain>
57
58             <initialContextFactory>com.sun.jndi.ldap.LdapCtxFactory</initialContextFactory>
59             <providerUrl>ldap://localhost/</providerUrl>
60             <groupContextDn>ou=groups, dc=bedework, dc=org</groupContextDn>
61             <groupMemberAttr>uniqueMember</groupMemberAttr>
62             <userDnPrefix>uid=</userDnPrefix>
63             <userDnSuffix>,ou=accounts, dc=bedework, dc=org</userDnSuffix>
64             <groupDnPrefix>cn=</groupDnPrefix>
65             <groupDnSuffix>,ou=groups, dc=bedework, dc=org</groupDnSuffix>
66             <debug>true</debug>
67           </user-ldap-group>
68
69           <testmail classname="org.bedework.mail.MailConfigProperties">
70             <protocol>smtp</protocol>
71             <protocolClass>com.sun.mail.smtp.SMTPTransport</protocolClass>
72             <serverIp>localhost</serverIp>
73             <from>calendar.myplace.edu</from>
74             <subject>Message from demo calendar server</subject>
75             <disabled>false</disabled>
76           </testmail>
77
78           <dummymail classname="org.bedework.mail.MailConfigProperties">
79             <disabled>false</disabled>
80           </dummymail>
81         </module>
82       </global>
83
84       <syspars classname="org.bedework.calfacade.BwSystem">
85         <!-- name must match the global system name -->
86         <name>bedework</name>
87         <tzid>America/New_York</tzid>
88         <systemid>demobedework@mysite.edu</systemid>
89
90         <publicCalendarRoot>public</publicCalendarRoot>
91         <userCalendarRoot>user</userCalendarRoot>
92         <userDefaultCalendar>calendar</userDefaultCalendar>
93         <defaultTrashCalendar>Trash</defaultTrashCalendar>
94         <userInbox>Inbox</userInbox>
95         <userOutbox>Outbox</userOutbox>
96         <deletedCalendar>Deleted</deletedCalendar>
97         <busyCalendar>Busy</busyCalendar>
98
99         <defaultUserViewName>All</defaultUserViewName>
100         <defaultUserHour24>true</defaultUserHour24>
101
102         <publicUser>public-user</publicUser>
103
104         <httpConnectionsPerUser>10</httpConnectionsPerUser>
105         <httpConnectionsPerHost>50</httpConnectionsPerHost>
106         <httpConnections>200</httpConnections>
107
108         <!-- size limits -->
109         <maxPublicDescriptionLength>500</maxPublicDescriptionLength>
110         <maxUserDescriptionLength>5000</maxUserDescriptionLength>
111         <maxUserEntitySize>100000</maxUserEntitySize>
112         <defaultUserQuota>10000000</defaultUserQuota> <!-- 10 Meg OK? -->
113
114         <!-- Max number of instances per recurring event -->
115         <maxInstances>1000</maxInstances>
116
117         <!-- Max number of years per recurring event -->
118         <maxYears>50</maxYears>
119
120         <userauthClass>org.bedework.calsvc.directory.UserAuthUWDbImpl</userauthClass>
121         <mailerClass>org.bedework.mail.DummyMailer</mailerClass>
122         <admingroupsClass>org.bedework.calsvc.directory.AdminGroupsDbImpl</admingroupsClass>
123         <!--
124         <usergroupsClass>org.bedework.calsvc.directory.UserGroupsLdapImpl</usergroupsClass>
125         -->
126         <usergroupsClass>org.bedework.calsvc.directory.GroupsDbImpl</usergroupsClass>
127
128         <directoryBrowsingDisallowed>@DIRECTORY-BROWSING-DISALLOWED@</directoryBrowsingDisallowed>
129
130         <indexRoot>lucene/indexroot</indexRoot>
131       </syspars>
132
133       <app>
134         <!-- ==================================================================
135                           Admin web client CalAdmin
136              ================================================================== -->
137         <CalAdmin classname="org.bedework.calfacade.configs.AdminConfig">
138           <autoCreateContacts>false</autoCreateContacts>
139           <autoDeleteContacts>false</autoDeleteContacts>
140           <autoCreateLocations>false</autoCreateLocations>
141           <autoDeleteLocations>false</autoDeleteLocations>
142           <allowEditAllCategories>false</allowEditAllCategories>
143           <allowEditAllLocations>false</allowEditAllLocations>
144           <allowEditAllContacts>false</allowEditAllContacts>
145           <categoryOptional>true</categoryOptional>
146
147           <noGroupAllowed>false</noGroupAllowed>
148
149           <appType>webadmin</appType>
150           <publicAdmin>true</publicAdmin>
151           <guestMode>false</guestMode>
152
153           <!-- This will become a system configuration in time -->
154           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
155
156           <!-- Default value for 24 hour mode -->
157           <hour24>true</hour24>
158
159           <!-- Default value for minute increments -->
160           <minIncrement>5</minIncrement>
161
162           <logPrefix>PubEventsAdmin</logPrefix>
163
164           <appRoot>http://localhost:8080/caladminrsrc</appRoot>
165           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
166         </CalAdmin>
167
168         <!-- ==================================================================
169                           Public event submission web client EventSubmit
170              ================================================================== -->
171         <EventSubmit classname="org.bedework.calfacade.configs.ClientConfig">
172           <autoCreateContacts>false</autoCreateContacts>
173           <autoDeleteContacts>false</autoDeleteContacts>
174           <autoCreateLocations>false</autoCreateLocations>
175           <autoDeleteLocations>false</autoDeleteLocations>
176
177           <appType>websubmit</appType>
178           <publicAdmin>false</publicAdmin>
179           <guestMode>false</guestMode>
180
181           <!-- This will become a system configuration in time -->
182           <submissionRoot>/public/unbrowsable/submissions</submissionRoot>
183
184           <!-- Default value for 24 hour mode -->
185           <hour24>true</hour24>
186
187           <!-- Default value for minute increments -->
188           <minIncrement>5</minIncrement>
189
190           <showYearData>false</showYearData>
191
192           <logPrefix>EventSubmit</logPrefix>
193
194           <appRoot>http://localhost:8080/eventsubmitrsrc</appRoot>
195           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
196
197           <refreshAction>setup.do</refreshAction>
198           <refreshInterval>900</refreshInterval>
199         </EventSubmit>
200
201         <!-- ==================================================================
202                           Public web client Events
203              ================================================================== -->
204         <Events classname="org.bedework.calfacade.configs.ClientConfig">
205           <cachingOn>true</cachingOn>
206           <cachePrefix>bwpubevents</cachePrefix>
207
208           <autoCreateContacts>false</autoCreateContacts>
209           <autoDeleteContacts>false</autoDeleteContacts>
210           <autoCreateLocations>false</autoCreateLocations>
211           <autoDeleteLocations>false</autoDeleteLocations>
212
213           <appType>webpublic</appType>
214           <publicAdmin>false</publicAdmin>
215           <guestMode>true</guestMode>
216           <runAsUser>public-user</runAsUser>
217
218           <!-- Default value for 24 hour mode -->
219           <hour24>true</hour24>
220
221           <!-- Default value for minute increments -->
222           <minIncrement>5</minIncrement>
223
224           <showYearData>false</showYearData>
225
226           <logPrefix>PubEvents</logPrefix>
227
228           <appRoot>http://localhost:8080/calrsrc</appRoot>
229           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
230
231           <refreshAction>setup.do</refreshAction>
232           <refreshInterval>300</refreshInterval>
233
234           <calSuite>MainCampus</calSuite>
235         </Events>
236
237         <!-- ==================================================================
238                           Demo departmental Public web client SoEDept
239              ================================================================== -->
240         <SoEDept classname="org.bedework.calfacade.configs.ClientConfig">
241           <cachingOn>true</cachingOn>
242           <cachePrefix>bwpubevents</cachePrefix>
243
244           <autoCreateContacts>false</autoCreateContacts>
245           <autoDeleteContacts>false</autoDeleteContacts>
246           <autoCreateLocations>false</autoCreateLocations>
247           <autoDeleteLocations>false</autoDeleteLocations>
248
249           <appType>webpublic</appType>
250           <publicAdmin>false</publicAdmin>
251           <guestMode>true</guestMode>
252           <runAsUser>public-user</runAsUser>
253
254           <!-- Default value for 24 hour mode -->
255           <hour24>true</hour24>
256
257           <!-- Default value for minute increments -->
258           <minIncrement>5</minIncrement>
259
260           <showYearData>false</showYearData>
261
262           <logPrefix>SoEDept</logPrefix>
263
264           <appRoot>/calrsrc</appRoot>
265           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
266
267           <refreshAction>setup.do</refreshAction>
268           <refreshInterval>300</refreshInterval>
269
270           <calSuite>SoEDepartmental</calSuite>
271         </SoEDept>
272
273         <!-- ==================================================================
274                           User web client UserCal
275              ================================================================== -->
276         <UserCal classname="org.bedework.calfacade.configs.ClientConfig">
277           <autoCreateContacts>false</autoCreateContacts>
278           <autoDeleteContacts>false</autoDeleteContacts>
279           <autoCreateLocations>false</autoCreateLocations>
280           <autoDeleteLocations>false</autoDeleteLocations>
281
282           <appType>webuser</appType>
283           <publicAdmin>false</publicAdmin>
284           <guestMode>false</guestMode>
285
286           <!-- Default value for 24 hour mode -->
287           <hour24>true</hour24>
288
289           <!-- Default value for minute increments -->
290           <minIncrement>5</minIncrement>
291
292           <showYearData>false</showYearData>
293
294           <logPrefix>PersonalCalendar</logPrefix>
295
296           <appRoot>/ucalrsrc</appRoot>
297           <portalPlatform>@PORTAL-PLATFORM@</portalPlatform>
298
299           <refreshAction>setup.do</refreshAction>
300           <refreshInterval>300</refreshInterval>
301         </UserCal>
302
303         <!-- ==================================================================
304                           User CalDAV server UserCalDAV
305              ================================================================== -->
306         <Usercaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
307           <publicAdmin>false</publicAdmin>
308           <guestMode>false</guestMode>
309
310           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
311
312           <!-- Comment out or delete for no real time server to server service
313                Currently under development and may present a security risk in
314                production systems -->
315           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
316
317           <!-- Comment out or delete for no freebusy url service -->
318           <fburlServiceURI>/fbsvc</fburlServiceURI>
319
320           <!-- Comment out or delete for no web calendar service -->
321           <webcalServiceURI>/webcal</webcalServiceURI>
322         </Usercaldav>
323
324         <!-- ==================================================================
325                           Public (unauthenticated) CalDAV server PublicCalDAV
326              ================================================================== -->
327         <Pubcaldav classname="org.bedework.calfacade.configs.CalDAVConfig">
328           <publicAdmin>false</publicAdmin>
329           <guestMode>true</guestMode>
330           <runAsUser>public-user</runAsUser>
331
332           <sysintfImpl>org.bedework.caldav.bwserver.BwSysIntfImpl</sysintfImpl>
333
334           <!-- Comment out or delete for no real time server to server service
335                Currently under development and may present a security risk in
336                production systems -->
337           <realTimeServiceURI>/rtsvc</realTimeServiceURI>
338
339           <!-- Comment out or delete for no freebusy url service -->
340           <fburlServiceURI>/fbsvc</fburlServiceURI>
341
342           <!-- Comment out or delete for no web calendar service -->
343           <webcalServiceURI>/webcal</webcalServiceURI>
344         </Pubcaldav>
345
346         <!-- ==================================================================
347                           Dump restore program dumpres
348              ================================================================== -->
349         <dumpres classname="org.bedework.calfacade.configs.DumpRestoreConfig">
350           <debug>true</debug>
351           <debugEntity>false</debugEntity>
352           <superGroupName>campusAdminGroups</superGroupName>
353           <defaultPublicCalPath>/public/Other Events/Other</defaultPublicCalPath>
354         </dumpres>
355       </app>
356     </bedework>
357   </org>
358 </bedework-options>
359
Note: See TracBrowser for help on using the browser.