Changeset 3307

Show
Ignore:
Timestamp:
08/11/11 13:58:57
Author:
douglm
Message:

Change the bedework end of things to use an extension of CalWs? for synch.

Schema changes related to that.

Another commit of the unfinished new synch service

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/build/quickstart/linux/bw

    r3271 r3307  
    8585  echo "     -catsvr      Target is for the Catsvr build" 
    8686  echo "     -client      Target is for the bedework client application build" 
    87   echo "     -exsynch     Target is for the Exchange synch build" 
     87  echo "     -synch       Target is for the synch build" 
    8888  echo "     -naming      Target is for the abstract naming api" 
    8989  echo "     The default is a calendar build" 
     
    262262catsvr= 
    263263client= 
    264 exsynch= 
     264synch= 
    265265monitor= 
    266266naming= 
     
    399399      shift 
    400400      ;; 
    401     -exsynch) 
    402       exsynch="yes" 
     401    -synch) 
     402      synch="yes" 
    403403      pkgdefault= 
    404404      shift 
     
    498498fi 
    499499 
    500 if [ "$exsynch" != "" ] ; then 
    501   cd $QUICKSTART_HOME/exchgsynch 
     500if [ "$synch" != "" ] ; then 
     501  cd $QUICKSTART_HOME/synch 
    502502fi 
    503503 
  • trunk/config/bwbuild/jboss-postgresql/cal.options.xml

    r3298 r3307  
    797797          <webcalServiceURI>/webcal</webcalServiceURI> 
    798798 
    799           <!-- The bedework end of the exchange synch service. This is a web 
     799          <!-- The bedework end of the synch service. This is a web 
    800800               service called by the synch engine to get information out of 
    801801               bedework and to update events and status. 
     
    806806               Comment out or delete for no exchange synch service  
    807807                
    808                NOTE: tthe value below is defined in the build properties  
     808               NOTE: the value below is defined in the build properties  
    809809               --> 
    810           <exsynchWsURI>@exsynchWsURI@</exsynchWsURI> 
     810          <synchWsURI>@synchWsURI@</synchWsURI> 
    811811        </Pubcaldav> 
    812812 
     
    916916          <debugEntity>false</debugEntity> 
    917917        </iosched> 
    918  
    919         <!-- ================================================================== 
    920                           Exchange synch 
    921              ================================================================== --> 
    922         <Exsynch classname="org.bedework.exchgsynch.ExsynchConfig"> 
    923           <appType>exsynch</appType> 
    924  
    925           <!-- location of the WSDL - modified to include server element  
    926                This corresponds to the wsdl deploy location defined in the 
    927                build properties file. 
    928           --> 
    929           <exchangeWSDLURI>http://localhost:8080/wsdls/exchange/Services.wsdl</exchangeWSDLURI> 
    930  
    931           <!-- location of the WSDL for the remote web service  
    932                This corresponds to the wsdl deploy location defined in the 
    933                build properties file. 
    934           --> 
    935           <remoteWSDLURI>http://localhost:8080/wsdls/exsynch/wssvc.wsdl</remoteWSDLURI> 
    936  
    937           <!-- Exchange sync callback. Comment out for no service --> 
    938           <exchangeWsPushURI>http://128.113.124.225:8080/exsynch/</exchangeWsPushURI> 
    939  
    940           <!-- Path to keystore - comment out to use default -->           
    941           <keystore>@APPSERVER-DATA-DIR@/exsynchcerts</keystore> 
    942            
    943           <remoteWsURL>http://localhost:8080/pubcaldav/exsynchws/</remoteWsURL> 
    944            
    945           <!-- seconds  -->  
    946           <remoteKeepAliveInterval>60</remoteKeepAliveInterval> 
    947         </Exsynch> 
    948918 
    949919        <!-- =============================================================== 
  • trunk/config/bwbuild/jboss-postgresql/cal.properties

    r3298 r3307  
    7474org.bedework.global.jboss.db.datasource.jndiname=/CalendarDS 
    7575org.bedework.global.jboss.carddb.datasource.jndiname=/CardDS 
    76 org.bedework.global.jboss.exsynch.datasource.jndiname=/ExsynchDS 
     76org.bedework.global.jboss.synch.datasource.jndiname=/SynchDS 
    7777org.bedework.global.jboss.tzdb.datasource.jndiname=/TzDS 
    7878 
     
    179179org.bedework.global.copy.bedeworktzds.config=yes 
    180180# 
    181 # If set to true or yes will copy in the bedework exchange synch db datasource def  
    182 org.bedework.global.copy.bedeworkexsynchds.config=yes 
     181# If set to true or yes will copy in the bedework synch db datasource def  
     182org.bedework.global.copy.bedeworksynchds.config=yes 
    183183 
    184184# If set to true or yes will build the web (CASifiable) version of carddav also  
     
    209209org.bedework.exchange.wsdl.deploy.dir=${org.bedework.wsdl.deploy.dir}/exchange 
    210210 
    211 # Exchange synch - wsdl 
    212 org.bedework.exsynch.wsdl.deploy.dir=${org.bedework.wsdl.deploy.dir}/exsynch 
    213 # Exchange synch - service 
    214 org.bedework.exsynch.uri=/exsynchws/ 
    215 org.bedework.exsynch.service=http://localhost:8080/pubcaldav${org.bedework.exsynch.uri} 
     211# synch - wsdl 
     212org.bedework.synch.wsdl.deploy.dir=${org.bedework.wsdl.deploy.dir}/synch 
     213# synch - service 
     214org.bedework.synch.uri=/synchws/ 
     215org.bedework.synch.service=http://localhost:8080/pubcaldav${org.bedework.synch.uri} 
    216216 
    217217org.bedework.calws.wsdl.deploy.dir=${org.bedework.wsdl.deploy.dir}/calws-soap 
     
    752752# -------------------------------------------------------------------- 
    753753# 
    754 # Exchange synchronization Service - callback web server 
    755 # 
    756 org.bedework.app.exsynchwcb.project=exsynch 
    757 org.bedework.app.exsynchwcb.sou.dir=server 
    758  
    759 org.bedework.app.exsynchwcb.web.xml=war/WEB-INF/web.xml 
    760 org.bedework.app.exsynchwcb.war.name=exsynch 
    761 org.bedework.app.exsynchwcb.context.root=/exsynch 
     754# Synchronization Service - callback web server. 
     755# 
     756org.bedework.app.synchwcb.project=synch 
     757org.bedework.app.synchwcb.sou.dir=server 
     758 
     759org.bedework.app.synchwcb.web.xml=war/WEB-INF/web.xml 
     760org.bedework.app.synchwcb.war.name=synch 
     761org.bedework.app.synchwcb.context.root=/synch 
    762762# Set for jboss 
    763763#org.bedework.app.usercarddav.virtual.host=events.rpi.edu 
    764764 
    765 org.bedework.app.exsynchwcb.description=Bedework exsynch callback server. 
    766 org.bedework.app.exsynchwcb.display.name=Bedework exsynch callback server 
    767 org.bedework.app.exsynchwcb.name=Demoexsynchw 
    768 #org.bedework.app.exsynchwcb.deploy.dir=${org.bedework.appserver.deploy.dir} 
    769 org.bedework.app.exsynchwcb.wsdl,deploy.dir=/wsdl/exsynch 
    770 org.bedework.app.exsynchwcb.logprefix=exsynch 
    771  
    772  
     765org.bedework.app.synchwcb.description=Bedework synch callback server. 
     766org.bedework.app.synchwcb.display.name=Bedework synch callback server 
     767org.bedework.app.synchwcb.name=Demosynchw 
     768#org.bedework.app.synchwcb.deploy.dir=${org.bedework.appserver.deploy.dir} 
     769org.bedework.app.synchwcb.wsdl,deploy.dir=/wsdl/synch 
     770org.bedework.app.synchwcb.logprefix=synch 
     771 
     772 
  • trunk/config/bwbuild/jboss-postgresql/synch-config.xml

    r3306 r3307  
    44       xsi:schemaLocation="http://www.springframework.org/schema/beans 
    55                http://www.springframework.org/schema/beans/spring-beans-2.0.xsd"> 
     6 
     7  <!-- ===================================================================== 
     8       Synch engine configuration 
     9       ===================================================================== --> 
     10  <bean id="synchConfig"  
     11        class="org.bedework.synch.SynchConfig"> 
     12    <!-- callback. Comment out for no service. MUST end in "/" --> 
     13    <property name="callbackURI" 
     14              value="http://128.113.124.225:8080/synch/" /> 
     15               
     16    <!-- Path to keystore - comment out to use default -->           
     17    <property name="keystore" 
     18              value="@APPSERVER-DATA-DIR@/synchcerts" /> 
     19               
     20    <property name="connectors"> 
     21      <map> 
     22        <entry key="exdemo"  
     23               value="org.bedework.synch.cnctrs.exchange.ExchangeConnector" /> 
     24        <entry key="bwdemo"  
     25               value="org.bedework.synch.cnctrs.bedework.BedeworkConnector" /> 
     26      </map> 
     27    </property> 
     28  </bean> 
     29 
    630  <!-- The connector "exdemo" will load the following config -  
    731       the suffix "ExchangeConfig" is appended to the connector id --> 
  • trunk/deployment/bw-core-appjars.xml

    r3286 r3307  
    3131      <getJar lib="${org.bedework.temp.extrajars.dir}" 
    3232              libcache="${org.bedework.libcache.dir}" 
    33               name="bw-exsynchwsschema" version="${org.bedework.bwxml.version}" 
     33              name="bw-synchwsschema" version="${org.bedework.bwxml.version}" 
    3434              projecthome="${bw.project.home}/../bwxml" /> 
    3535