[jboss-svn-commits] JBL Code SVN: r12354 - in labs/jbosslabs/trunk/stats-server/kosmos: conf/server and 1 other directories.

jboss-svn-commits at lists.jboss.org jboss-svn-commits at lists.jboss.org
Wed Jun 6 10:53:40 EDT 2007


Author: wrzep
Date: 2007-06-06 10:53:40 -0400 (Wed, 06 Jun 2007)
New Revision: 12354

Added:
   labs/jbosslabs/trunk/stats-server/kosmos/to-copy/slide.war
Modified:
   labs/jbosslabs/trunk/stats-server/kosmos/
   labs/jbosslabs/trunk/stats-server/kosmos/conf/server/kosmos-services-servlet.xml
   labs/jbosslabs/trunk/stats-server/kosmos/conf/server/web.xml
   labs/jbosslabs/trunk/stats-server/kosmos/maven.xml
Log:
JBLAB-868
configuration
-Pawel



Property changes on: labs/jbosslabs/trunk/stats-server/kosmos
___________________________________________________________________
Name: svn:ignore
   - build.properties


   + build.properties
target




Modified: labs/jbosslabs/trunk/stats-server/kosmos/conf/server/kosmos-services-servlet.xml
===================================================================
--- labs/jbosslabs/trunk/stats-server/kosmos/conf/server/kosmos-services-servlet.xml	2007-06-06 14:42:31 UTC (rev 12353)
+++ labs/jbosslabs/trunk/stats-server/kosmos/conf/server/kosmos-services-servlet.xml	2007-06-06 14:53:40 UTC (rev 12354)
@@ -2,28 +2,10 @@
 <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
 
 <beans>
-  <!-- CC service -->
-  <bean id="ccService" class="hu.midori.kosmos.server.cc.CcServiceImpl">
-	<property name="store" ref="labsCachedDataStore"/>
-  </bean>
 
-  <bean id="ccServiceProxy" class="org.springframework.aop.framework.ProxyFactoryBean">
-	<property name="targetName" value="ccService"/>
-	<property name="interceptorNames">
-	  <list>
-		<value>serviceCachePointCutAdvisor</value>
-	  </list>
-	</property>
-  </bean>
-
-  <bean name="/cc-service" class="org.springframework.remoting.caucho.HessianServiceExporter">
-	<property name="service" ref="ccServiceProxy"/>
-	<property name="serviceInterface" value="hu.midori.kosmos.protocol.CcService"/>
-  </bean>
-
   <!-- JIRA service -->
   <bean id="jiraService" class="hu.midori.kosmos.server.jira.JiraWebCrawlingServiceImpl">
-	<property name="store" ref="labsCachedDataStore"/>
+	<property name="store" ref="webdavStaticContentStore"/>
   </bean>
 
   <bean id="jiraServiceProxy" class="org.springframework.aop.framework.ProxyFactoryBean">
@@ -42,7 +24,7 @@
 
   <!-- SVN service -->
   <bean id="svnService" class="hu.midori.kosmos.server.svn.SvnServiceImpl">
-	<property name="store" ref="labsCachedDataStore"/>
+	<property name="store" ref="webdavStaticContentStore"/>
   </bean>
 
   <bean id="svnServiceProxy" class="org.springframework.aop.framework.ProxyFactoryBean">
@@ -80,9 +62,7 @@
 	</property>
 	<property name="patterns">
 	  <list>
-		<value>hu.midori.kosmos.protocol.CcService.getProjects</value>
 		<value>hu.midori.kosmos.protocol.JiraService.getProjects</value>
-		<value>hu.midori.kosmos.protocol.SfService.getFileReleases</value>
 		<value>hu.midori.kosmos.protocol.SvnService.getRepositories</value>
 	  </list>
 	</property>
@@ -111,8 +91,18 @@
 	</property>
   </bean>
 
-  <!-- Labs cached data store -->
-  <bean id="labsCachedDataStore" class="org.jboss.kosmos.LabsCachedDataStore">
+  <!-- WebDAV static content store -->
+  <bean id="webdavStaticContentStore" class="hu.midori.kosmos.server.store.WebdavStaticContentStore">
+	<property name="webdavUrl" value="http://localhost:8180/slide/files"/><!-- Both HTTP and HTTPS protocol can be used here. -->
+	<property name="webdavUser" value=""/>
+	<property name="webdavPassword" value=""/>
+	<!--
+	  This URL will be used as base URL for the generated images.
+	  If you don't specify anything here, the value of "webdavUrl"
+	  will be used. Uncomment this, if you want to override that.
+
+	  <property name="clientUrl" value="http://myserver/my-webdav/kosmos-images"/>
+	-->
   </bean>
 
 </beans>

Modified: labs/jbosslabs/trunk/stats-server/kosmos/conf/server/web.xml
===================================================================
--- labs/jbosslabs/trunk/stats-server/kosmos/conf/server/web.xml	2007-06-06 14:42:31 UTC (rev 12353)
+++ labs/jbosslabs/trunk/stats-server/kosmos/conf/server/web.xml	2007-06-06 14:53:40 UTC (rev 12354)
@@ -6,25 +6,7 @@
     
 <web-app>  
   <display-name>Kosmos services servlet</display-name>
-  <description>Server component of Kosmos</description>
-  
-  <context-param>
-    <param-name>webdav.url</param-name>
-    <param-value>https://labs-stats:jbossforgeadmin@cms.labs.jboss.com/trunk/forge/portal-content/kosmos/images</param-value>
-  </context-param>  
-  <context-param>
-    <param-name>webdav.user</param-name>
-    <param-value>labs-stats</param-value>
-  </context-param>  
-  <context-param>
-    <param-name>webdav.password</param-name>
-    <param-value>jbossforgeadmin</param-value>
-  </context-param>  
-  <context-param>
-    <param-name>webdav.clientUrl</param-name>
-    <param-value>/file-access/kosmos/images</param-value>
-  </context-param>  
-  
+  <description>Server component of Kosmos</description>  
   <servlet>
     <servlet-name>kosmos-services</servlet-name>
     <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>

Modified: labs/jbosslabs/trunk/stats-server/kosmos/maven.xml
===================================================================
--- labs/jbosslabs/trunk/stats-server/kosmos/maven.xml	2007-06-06 14:42:31 UTC (rev 12353)
+++ labs/jbosslabs/trunk/stats-server/kosmos/maven.xml	2007-06-06 14:53:40 UTC (rev 12354)
@@ -19,12 +19,12 @@
 		<!-- Copying configuration files -->
 		<ant:copy todir="target/kosmos-server.war/WEB-INF" overwrite="true">
 		    <ant:fileset dir="conf/server">
-			<ant:filename name="**/*" />
+				<ant:filename name="**/*" />
 		    </ant:fileset>
-		</ant:copy>		
+		</ant:copy>
 
 		<!-- Delete log4j jars to avoid classloader issues -->
-		<ant:delete file="target/kosmos-server.war/WEB-INF/lib/log4j-1.2.8.jar" />
+		<!-- <ant:delete file="target/kosmos-server.war/WEB-INF/lib/log4j-1.2.8.jar" />  -->
 		
 		<!-- Deploying new packages -->
 		<ant:copy todir="${local.deploy.dir}" overwrite="true">
@@ -32,12 +32,8 @@
 				<ant:filename name="kosmos-server*/**" />
 		    </ant:fileset>
 		</ant:copy>
+		
+		<ant:copy todir="${local.deploy.dir}" file="to-copy/slide.war" overwrite="true"/>
 	</goal>
-
-<!-- 
-	<ant:copy todir="${local.deploy.dir}"
-              file="${maven.repo.local}/com.lowagie/jars/itext-1.4.jar"
-	      overwrite="true" />
-	       -->
     
 </project>

Added: labs/jbosslabs/trunk/stats-server/kosmos/to-copy/slide.war
===================================================================
(Binary files differ)


Property changes on: labs/jbosslabs/trunk/stats-server/kosmos/to-copy/slide.war
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream




More information about the jboss-svn-commits mailing list