You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@synapse.apache.org by sa...@apache.org on 2005/11/25 10:33:50 UTC
svn commit: r348919 - in /incubator/synapse/trunk/scratch/prototype3: ./
synpase-test-resources/ synpase-test-resources/axis2/
synpase-test-resources/axis2/modules/ synpase-test-resources/axis2/services/
synpase-test-resources/axis2/services/emptymedia...
Author: saminda
Date: Fri Nov 25 01:33:23 2005
New Revision: 348919
URL: http://svn.apache.org/viewcvs?rev=348919&view=rev
Log:
Cleaning up the package structure
Added:
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/axis2.xml
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/modules/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/modules/addressing.mar (with props)
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/services.xml
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/
incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/services.xml
Removed:
incubator/synapse/trunk/scratch/prototype3/target/
incubator/synapse/trunk/scratch/prototype3/test-resources /
Modified:
incubator/synapse/trunk/scratch/prototype3/project.xml
incubator/synapse/trunk/scratch/prototype3/test/org/apache/synapse/util/Axis2EvnSetup.java
Modified: incubator/synapse/trunk/scratch/prototype3/project.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/project.xml?rev=348919&r1=348918&r2=348919&view=diff
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/project.xml (original)
+++ incubator/synapse/trunk/scratch/prototype3/project.xml Fri Nov 25 01:33:23 2005
@@ -18,9 +18,9 @@
<inceptionYear>2005</inceptionYear>
<package>org.apache.synapse</package>
<logo/>
- <description>Discription of the project</description>
- <!-- a short description of what the project does -->
- <!--<shortDescription></shortDescription>-->
+ <description>The Synapse project will create a robust, lightweight
+ implementation of a highly scalable and distributed service mediation
+ framework based on Web services specifications.</description>
<!-- the project home page -->
<!--todo: need to setup uri, issueTracker, site, and dist dir -->
@@ -241,7 +241,6 @@
<module>true</module>
</properties>
</dependency>
-
</dependencies>
<!-- ================================= -->
@@ -257,16 +256,16 @@
<include>**/*Test.java</include>
</includes>
<!--<excludes>-->
- <!--<exclude>**/NaughtyTest.java</exclude>-->
+ <!--<exclude>**/NaughtyTest.java</exclude>-->
<!--</excludes>-->
</unitTest>
<resources>
- <resource>
- <directory>repo</directory>
- <includes>
- <include>*.*</include>
- </includes>
- </resource>
+ <!--<resource>-->
+ <!--<directory>test-resources</directory>-->
+ <!--<includes>-->
+ <!--<include>*.*</include>-->
+ <!--</includes>-->
+ <!--</resource>-->
</resources>
</build>
Added: incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/axis2.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/axis2.xml?rev=348919&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/axis2.xml (added)
+++ incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/axis2.xml Fri Nov 25 01:33:23 2005
@@ -0,0 +1,140 @@
+<axisconfig name="AxisJava2.0">
+ <!-- ================================================= -->
+ <!-- Parameters -->
+ <!-- ================================================= -->
+ <parameter name="hotdeployment" locked="false">true</parameter>
+ <parameter name="hotupdate" locked="false">false</parameter>
+ <parameter name="enableMTOM" locked="false">true</parameter>
+ <!-- Uncomment this to enable REST support -->
+ <!-- <parameter name="enableREST" locked="false">true</parameter>-->
+
+
+ <parameter name="userName" locked="false">admin</parameter>
+ <parameter name="password" locked="false">axis2</parameter>
+
+ <parameter name="seralizeLocation" locked="false">.</parameter>
+
+ <parameter name="SynapseConfiguration" locked="false">synapse.xml</parameter>
+
+ <!--if you want to extract the service archive file and work with that please uncomment this-->
+ <!--else , it wont extract archive file or does not take into consideration if someone drop-->
+ <!--exploded directory into /service directory-->
+ <!--<parameter name="extractServiceArchive" locked="false">true</parameter>-->
+
+
+ <!-- The way of adding listener to the system-->
+ <!-- <listener class="org.apache.axis2.ObserverIMPL">-->
+ <!-- <parameter name="RSS_URL" locked="false">http://127.0.0.1/rss</parameter>-->
+ <!-- </listener>-->
+
+ <!--Registering Axis Storage Class if you comment this default one will -->
+ <!--does the job (org.apache.axis2.storage.impl.AxisMemoryStorage) , if you-->
+ <!--want to register new one write a class by extanding AbastractStorage-->
+ <!--and put that name here-->
+ <axisStorage
+ class="org.apache.axis2.storage.impl.AxisMemoryStorage">
+ <parameter name="StoreLocation" locked="false">N:S</parameter>
+ </axisStorage>
+
+
+
+ <!-- ================================================= -->
+ <!-- Message Receivers -->
+ <!-- ================================================= -->
+ <!-- This is the Deafult Message Receiver for the Request Response style Operations -->
+ <messageReceiver mep="INOUT"
+ class="org.apache.axis2.receivers.RawXMLINOutMessageReceiver" />
+
+ <!-- ================================================= -->
+ <!-- Transport Ins -->
+ <!-- ================================================= -->
+ <transportReceiver name="http"
+ class="org.apache.axis2.transport.http.SimpleHTTPServer">
+ <parameter name="port" locked="false">6060</parameter>
+ </transportReceiver>
+
+ <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
+ <transportReceiver name="mail" class="org.apache.axis2.transport.mail.SimpleMailListener">
+ <parameter name="transport.mail.pop3.host" locked="false">127.0.0.1</parameter>
+ <parameter name="transport.mail.pop3.user" locked="false">axis2</parameter>
+ <parameter name="transport.mail.pop3.password" locked="false">axis2</parameter>
+ <parameter name="transport.mail.pop3.port" locked="false">110</parameter>
+ <parameter name="transport.mail.replyToAddress" locked="false">axis2@127.0.0.1</parameter>
+ </transportReceiver> -->
+
+ <transportReceiver name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPServer">
+ <parameter name="port" locked="false">6060</parameter>
+ </transportReceiver>
+
+ <!-- ================================================= -->
+ <!-- Transport Outs -->
+ <!-- ================================================= -->
+
+ <transportSender name="tcp"
+ class="org.apache.axis2.transport.tcp.TCPTransportSender" />
+ <transportSender name="local"
+ class="org.apache.axis2.transport.local.LocalTransportSender" />
+ <transportSender name="http"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.0</parameter>
+ </transportSender>
+ <transportSender name="https"
+ class="org.apache.axis2.transport.http.CommonsHTTPTransportSender">
+ <parameter name="PROTOCOL" locked="false">HTTP/1.1</parameter>
+ </transportSender>
+
+ <!-- Uncomment this one with the appropriate papameters to enable the SMTP transport Receiver
+ <transportSender name="mail" class="org.apache.axis2.transport.mail.MailTransportSender">
+ <parameter name="transport.mail.smtp.host" locked="false">127.0.0.1</parameter>
+ <parameter name="transport.mail.smtp.user" locked="false">axis2</parameter>
+ <parameter name="transport.mail.smtp.password" locked="false">axis2</parameter>
+ <parameter name="transport.mail.smtp.port" locked="false">25</parameter>
+ </transportSender>
+ -->
+
+ <!-- ================================================= -->
+ <!-- Global Modules -->
+ <!-- ================================================= -->
+ <!-- Comment this to disable Addressing -->
+ <!-- <module ref="addressing" /> -->
+ <!--module ref="addressing" /-->
+
+
+ <!--Configuring module , providing paramters for modules whether they refer or not-->
+ <!--<moduleConfig name="addressing">-->
+ <!--<parameter name="addressingPara" locked="false">N/A</parameter>-->
+ <!--</moduleConfig>-->
+
+ <dispatchOrder>
+ <dispatcher name="SynapseDispatcher"
+ class="org.apache.synapse.axis2.SynapseDispatcher" />
+ </dispatchOrder>
+
+ <!-- ================================================= -->
+ <!-- Phases -->
+ <!-- ================================================= -->
+ <phaseOrder type="inflow">
+ <!-- System pre defined phases -->
+ <phase name="TransportIn" />
+ <phase name="PreDispatch" />
+ <phase name="Dispatch" />
+ <phase name="PostDispatch" />
+ <!-- System pre defined phases -->
+ <!-- After Postdispatch phase module author or or service author can add any phase he want -->
+ <phase name="userphase1" />
+ </phaseOrder>
+ <phaseOrder type="outflow">
+ <!-- user can add his own phases to this area -->
+ <phase name="userphase1" />
+ </phaseOrder>
+ <phaseOrder type="INfaultflow">
+ <!-- user can add his own phases to this area -->
+ <phase name="userphase1" />
+ </phaseOrder>
+ <phaseOrder type="Outfaultflow">
+ <!-- user can add his own phases to this area -->
+ <phase name="userphase1" />
+ </phaseOrder>
+</axisconfig>
+
Added: incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/modules/addressing.mar
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/modules/addressing.mar?rev=348919&view=auto
==============================================================================
Binary file - no diff available.
Propchange: incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/modules/addressing.mar
------------------------------------------------------------------------------
svn:mime-type = application/octet-stream
Added: incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/services.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/services.xml?rev=348919&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/services.xml (added)
+++ incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/emptymediator/META-INF/services.xml Fri Nov 25 01:33:23 2005
@@ -0,0 +1,6 @@
+<service name="emptymediator">
+ <operation name="mediate" >
+ <messageReceiver class="org.apache.synapse.axis2.EmptyMessageReceiver" />
+ </operation>
+</service>
+
\ No newline at end of file
Added: incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/services.xml
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/services.xml?rev=348919&view=auto
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/services.xml (added)
+++ incubator/synapse/trunk/scratch/prototype3/synpase-test-resources/axis2/services/synapse/META-INF/services.xml Fri Nov 25 01:33:23 2005
@@ -0,0 +1,8 @@
+ <service name="synapse">
+
+ <operation name="mediate" >
+ <messageReceiver class="org.apache.synapse.axis2.SynapseMessageReceiver" />
+ </operation>
+
+ </service>
+
\ No newline at end of file
Modified: incubator/synapse/trunk/scratch/prototype3/test/org/apache/synapse/util/Axis2EvnSetup.java
URL: http://svn.apache.org/viewcvs/incubator/synapse/trunk/scratch/prototype3/test/org/apache/synapse/util/Axis2EvnSetup.java?rev=348919&r1=348918&r2=348919&view=diff
==============================================================================
--- incubator/synapse/trunk/scratch/prototype3/test/org/apache/synapse/util/Axis2EvnSetup.java (original)
+++ incubator/synapse/trunk/scratch/prototype3/test/org/apache/synapse/util/Axis2EvnSetup.java Fri Nov 25 01:33:23 2005
@@ -43,9 +43,9 @@
public class Axis2EvnSetup {
public static MessageContext axis2Deployment() throws AxisFault {
ConfigurationContextFactory conFac = new ConfigurationContextFactory();
- File path = new File("./test-resources/axis2");
+// File path = new File("test-resources/axis2");
ConfigurationContext configCtx = conFac
- .buildClientConfigurationContext(path.getAbsolutePath());
+ .buildClientConfigurationContext("synpase-test-resources/axis2");
MessageContext msgCtx = new MessageContext(configCtx);
msgCtx.setEnvelope(testEnvSetup());
msgCtx.setServerSide(true);
---------------------------------------------------------------------
To unsubscribe, e-mail: synapse-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: synapse-dev-help@ws.apache.org