[jboss-svn-commits] JBL Code SVN: r33940 - labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF.
jboss-svn-commits at lists.jboss.org
jboss-svn-commits at lists.jboss.org
Fri Jul 16 08:44:40 EDT 2010
Author: mark.proctor at jboss.com
Date: 2010-07-16 08:44:40 -0400 (Fri, 16 Jul 2010)
New Revision: 33940
Removed:
labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/configuration.xml
labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/core.xml
labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/services.xml
labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/sessions.xml
labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/web.xml
Log:
JBRULES-2347 Camel
-migrating drools-server to camel
Deleted: labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/configuration.xml
===================================================================
--- labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/configuration.xml 2010-07-16 12:41:27 UTC (rev 33939)
+++ labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/configuration.xml 2010-07-16 12:44:40 UTC (rev 33940)
@@ -1,14 +0,0 @@
-<?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:context="http://www.springframework.org/schema/context"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd"
- default-autowire="byName">
-
- <import resource="sessions.xml" />
- <import resource="services.xml" />
- <import resource="core.xml" />
-
-</beans>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/core.xml
===================================================================
--- labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/core.xml 2010-07-16 12:41:27 UTC (rev 33939)
+++ labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/core.xml 2010-07-16 12:44:40 UTC (rev 33940)
@@ -1,49 +0,0 @@
-<?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:context="http://www.springframework.org/schema/context"
- xmlns:cxf="http://cxf.apache.org/core"
- xmlns:jaxws="http://cxf.apache.org/jaxws"
- xmlns:jaxrs="http://cxf.apache.org/jaxrs"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
- http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
- http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
- http://cxf.apache.org/jaxrs http://cxf.apache.org/schemas/jaxrs.xsd"
- default-autowire="byName">
-
- <!-- Load CXF modules from cxf.jar -->
- <import resource="classpath:META-INF/cxf/cxf.xml" />
- <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
- <import resource="classpath:META-INF/cxf/cxf-extension-jaxrs-binding.xml" />
- <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
-
- <!-- Here are defined the REST/SOAP services endpoint. You don't need to modify this -->
-
- <bean id="knowledgeServiceSoapImpl" class="org.drools.server.service.KnowledgeServiceSoapImpl">
- <property name="service">
- <ref bean="service" />
- </property>
- </bean>
-
- <!-- Service endpoint -->
- <jaxws:endpoint id="knowledgeServiceSoap"
- implementorClass="org.drools.server.service.KnowledgeServiceSoapImpl"
- implementor="#knowledgeServiceSoapImpl"
- address="/soap">
- </jaxws:endpoint>
-
- <jaxrs:server id="knowledgeServiceRest" address="/">
- <jaxrs:serviceBeans>
- <ref bean="knowledgeServiceRestImpl" />
- </jaxrs:serviceBeans>
- </jaxrs:server>
-
- <bean id="knowledgeServiceRestImpl" class="org.drools.server.service.KnowledgeServiceRest" >
- <property name="service">
- <ref bean="service" />
- </property>
- </bean>
-
-</beans>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/services.xml
===================================================================
--- labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/services.xml 2010-07-16 12:41:27 UTC (rev 33939)
+++ labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/services.xml 2010-07-16 12:44:40 UTC (rev 33940)
@@ -1,35 +0,0 @@
-<?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:context="http://www.springframework.org/schema/context"
- xmlns:camel="http://camel.apache.org/schema/spring"
- xmlns:drools-service="http://drools.org/schema/drools-service-spring"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
- http://drools.org/schema/drools-service-spring http://drools.org/schema/drools-service-spring.xsd
- http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"
- default-autowire="byName">
-
- <!-- Only needed when deployed on JBoss AS 5.X -->
-<!-- <bean id="jbossResolver" class="org.apache.camel.jboss.JBossPackageScanClassResolver"/>-->
-
- <!-- This camel context bean is required -->
- <camelContext id="executionContext" xmlns="http://camel.apache.org/schema/spring" />
-
- <!-- Example service configuration
- <drools-service:configuration id="service-conf-2" marshaller="XSTREAM" session="ksession2" />
- -->
-
- <!-- If you change the service definition id you MUST change this in the core.xml file -->
- <drools-service:definition id="service" node="node1" camelContext="executionContext">
- <!-- Here you can add your service configuration
- <drools-service:configuration marshaller="JAXB" session="ksession1">
- <drools-service:class>org.drools.model.Person</drools-service:class>
- </drools-service:configuration> -->
- <!-- or add a reference to an external configuration definition
- <drools-service:configuration-ref id="service-conf-2" />
- -->
- </drools-service:definition>
-
-</beans>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/sessions.xml
===================================================================
--- labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/sessions.xml 2010-07-16 12:41:27 UTC (rev 33939)
+++ labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/sessions.xml 2010-07-16 12:44:40 UTC (rev 33940)
@@ -1,36 +0,0 @@
-<?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:context="http://www.springframework.org/schema/context"
- xmlns:drools="http://drools.org/schema/drools-spring"
- xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
- http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-2.5.xsd
- http://drools.org/schema/drools-spring http://drools.org/schema/drools-spring.xsd"
- default-autowire="byName">
-
- <!-- Grid Connection bean is required -->
- <drools:connection id="connection1" type="local" />
-
- <drools:execution-node id="node1" connection="connection1" />
-
- <!-- Here you define your knowledge base, adding resources and, optionally, an XSD model definition
- <drools:kbase id="kbase1" node="node1">
- <drools:resource source="classpath:model/person.xsd" type="XSD">
- <drools:jaxb-conf system-id="xsd" />
- </drools:resource>
- <drools:resource source="classpath:changesets/change-set-1.xml" type="CHANGE_SET" />
- </drools:kbase>
-
- <drools:kbase id="kbase2" node="node1">
- <drools:resource source="classpath:changesets/change-set-2.xml" type="CHANGE_SET" />
- </drools:kbase>
-
- and create your own stateless/stateful knowledge sessions
-
- <drools:ksession id="ksession1" type="stateful" kbase="kbase1" node="node1"/>
-
- <drools:ksession id="ksession2" type="stateless" kbase="kbase2" node="node1"/>
- -->
-
-</beans>
\ No newline at end of file
Deleted: labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/web.xml
===================================================================
--- labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/web.xml 2010-07-16 12:41:27 UTC (rev 33939)
+++ labs/jbossrules/trunk/drools-server/drools-server-app/src/main/webapp/WEB-INF/web.xml 2010-07-16 12:44:40 UTC (rev 33940)
@@ -1,30 +0,0 @@
-<?xml version="1.0"?>
-<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd">
-<web-app>
-
- <display-name>JBoss Drools Execution Server</display-name>
-
- <context-param>
- <param-name>contextConfigLocation</param-name>
- <param-value>/WEB-INF/configuration.xml</param-value>
- </context-param>
-
- <listener>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
-
- <servlet>
- <servlet-name>CXFServlet</servlet-name>
- <servlet-class>org.apache.cxf.transport.servlet.CXFServlet</servlet-class>
- </servlet>
-
- <servlet-mapping>
- <servlet-name>CXFServlet</servlet-name>
- <url-pattern>/services/*</url-pattern>
- </servlet-mapping>
-
- <session-config>
- <session-timeout>10</session-timeout>
- </session-config>
-
-</web-app>
More information about the jboss-svn-commits
mailing list