Author: asankha
Date: Mon Nov 13 08:48:41 2006
New Revision: 474390

URL: http://svn.apache.org/viewvc?view=rev&rev=474390
Log:
clean up svn - take 2

Added:
    incubator/synapse/trunk/java/repository/conf/sample/resources/javascript/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/javascript/synapse_sample_script.xml
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_script.xml
    
incubator/synapse/trunk/java/repository/conf/sample/resources/javascript/xmethodsStockquoteIn.js
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/xmethodsStockquoteIn.js
    
incubator/synapse/trunk/java/repository/conf/sample/resources/javascript/xmethodsStockquoteOut.js
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/xmethodsStockquoteOut.js
    incubator/synapse/trunk/java/repository/conf/sample/resources/policy/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/policy/policy_1.xml
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/policy_1.xml
    
incubator/synapse/trunk/java/repository/conf/sample/resources/policy/policy_3.xml
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/policy_3.xml
    
incubator/synapse/trunk/java/repository/conf/sample/resources/policy/sample_policy_1.xml
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/sample_policy_1.xml
    
incubator/synapse/trunk/java/repository/conf/sample/resources/policy/sample_rm_policy_1.xml
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/sample_rm_policy_1.xml
    incubator/synapse/trunk/java/repository/conf/sample/resources/proxy/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/proxy/sample_proxy_1.wsdl
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/sample_proxy_1.wsdl
    incubator/synapse/trunk/java/repository/conf/sample/resources/security/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/security/WSSTest1.pfx.p12
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/WSSTest1.pfx.p12
    
incubator/synapse/trunk/java/repository/conf/sample/resources/security/WSSTest2.pfx.p12
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/WSSTest2.pfx.p12
    
incubator/synapse/trunk/java/repository/conf/sample/resources/security/interop-client.properties
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/interop-client.properties
    
incubator/synapse/trunk/java/repository/conf/sample/resources/security/interop-server.properties
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/interop-server.properties
    
incubator/synapse/trunk/java/repository/conf/sample/resources/security/store.jks
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/store.jks
    incubator/synapse/trunk/java/repository/conf/sample/resources/spring/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/spring/springsample.xml
      - copied unchanged from r474291, 
incubator/synapse/trunk/java/repository/conf/sample/springsample.xml
    
incubator/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml
      - copied, changed from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/synapse_spring_unittest.xml
    incubator/synapse/trunk/java/repository/conf/sample/resources/transform/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform.xslt
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/transform.xslt
    
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_back.xslt
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/transform_back.xslt
    
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_unittest.xslt
    incubator/synapse/trunk/java/repository/conf/sample/resources/validate/
    
incubator/synapse/trunk/java/repository/conf/sample/resources/validate/validate.xsd
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/validate.xsd
    
incubator/synapse/trunk/java/repository/conf/sample/resources/validate/validate2.xsd
      - copied unchanged from r473794, 
incubator/synapse/trunk/java/modules/core/test-resources/misc/validate2.xsd
Removed:
    incubator/synapse/trunk/java/modules/core/test-resources/
    incubator/synapse/trunk/java/repository/conf/sample/WSSTest1.pfx.p12
    incubator/synapse/trunk/java/repository/conf/sample/WSSTest2.pfx.p12
    
incubator/synapse/trunk/java/repository/conf/sample/interop-client.properties
    
incubator/synapse/trunk/java/repository/conf/sample/interop-server.properties
    incubator/synapse/trunk/java/repository/conf/sample/policy_1.xml
    incubator/synapse/trunk/java/repository/conf/sample/policy_3.xml
    incubator/synapse/trunk/java/repository/conf/sample/sample_policy_1.xml
    incubator/synapse/trunk/java/repository/conf/sample/sample_proxy_1.wsdl
    incubator/synapse/trunk/java/repository/conf/sample/sample_rm_policy_1.xml
    incubator/synapse/trunk/java/repository/conf/sample/springsample.xml
    incubator/synapse/trunk/java/repository/conf/sample/store.jks
    
incubator/synapse/trunk/java/repository/conf/sample/synapse_sample_script.xml
    
incubator/synapse/trunk/java/repository/conf/sample/synapse_spring_unittest.xml
    incubator/synapse/trunk/java/repository/conf/sample/transform.xslt
    incubator/synapse/trunk/java/repository/conf/sample/transform_back.xslt
    incubator/synapse/trunk/java/repository/conf/sample/validate.xsd
    incubator/synapse/trunk/java/repository/conf/sample/xmethodsStockquoteIn.js
    incubator/synapse/trunk/java/repository/conf/sample/xmethodsStockquoteOut.js
Modified:
    
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java
    
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/XSLTMediatorTest.java
    
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/mediators/spring/SpringMediatorTest.java

Modified: 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java
URL: 
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java?view=diff&rev=474390&r1=474389&r2=474390
==============================================================================
--- 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java
 (original)
+++ 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/ValidateMediatorTest.java
 Mon Nov 13 08:48:41 2006
@@ -151,7 +151,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key", prop);
 
         // test validate mediator, with static enveope
@@ -181,11 +181,11 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
         Property prop2 = new Property();
         prop2.setType(Property.DYNAMIC_TYPE);
-        prop2.setKey("file:../core/test-resources/misc/validate2.xsd");
+        
prop2.setKey("file:./../../repository/conf/sample/resources/validate/validate2.xsd");
         props.put("xsd-key-2", prop2);
 
         // test validate mediator, with static enveope
@@ -215,11 +215,11 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
         Property prop2 = new Property();
         prop2.setType(Property.DYNAMIC_TYPE);
-        prop2.setKey("file:../core/test-resources/misc/validate2.xsd");
+        
prop2.setKey("file:./../../repository/conf/sample/resources/validate/validate2.xsd");
         props.put("xsd-key-2", prop2);
 
         // test validate mediator, with static enveope
@@ -248,7 +248,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
 
         // test validate mediator, with static enveope
@@ -277,7 +277,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
 
         // test validate mediator, with static enveope
@@ -306,7 +306,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
 
         // test validate mediator, with static enveope
@@ -360,7 +360,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/validate.xsd");
+        
prop.setKey("file:./../../repository/conf/sample/resources/validate/validate.xsd");
         props.put("xsd-key-1", prop);
 
 

Modified: 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/XSLTMediatorTest.java
URL: 
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/XSLTMediatorTest.java?view=diff&rev=474390&r1=474389&r2=474390
==============================================================================
--- 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/XSLTMediatorTest.java
 (original)
+++ 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/XSLTMediatorTest.java
 Mon Nov 13 08:48:41 2006
@@ -60,7 +60,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/transform.xslt");
+        
prop.setKey("file:./../../repository/conf/sample/resources/transform/transform_unittest.xslt");
         props.put("xslt-key", prop);
 
         // invoke transformation, with static enveope
@@ -100,7 +100,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/transform.xslt");
+        
prop.setKey("file:./../../repository/conf/sample/resources/transform/transform_unittest.xslt");
         props.put("xslt-key", prop);
 
         // invoke transformation, with static enveope
@@ -141,7 +141,7 @@
         Map props = new HashMap();
         Property prop = new Property();
         prop.setType(Property.DYNAMIC_TYPE);
-        prop.setKey("file:../core/test-resources/misc/transform.xslt");
+        
prop.setKey("file:./../../repository/conf/sample/resources/transform/transform_unittest.xslt");
         props.put("xslt-key", prop);
         
         // invoke transformation, with static enveope

Modified: 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/mediators/spring/SpringMediatorTest.java
URL: 
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/mediators/spring/SpringMediatorTest.java?view=diff&rev=474390&r1=474389&r2=474390
==============================================================================
--- 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/mediators/spring/SpringMediatorTest.java
 (original)
+++ 
incubator/synapse/trunk/java/modules/extensions/test/org/apache/synapse/mediators/spring/SpringMediatorTest.java
 Mon Nov 13 08:48:41 2006
@@ -34,7 +34,7 @@
 
         MessageContext msgCtx = TestUtils.getTestContext("<dummy/>");
         msgCtx.setConfiguration(
-            
SynapseConfigurationBuilder.getConfiguration("./../../repository/conf/sample/synapse_spring_unittest.xml"));
+            
SynapseConfigurationBuilder.getConfiguration("./../../repository/conf/sample/resources/spring/synapse_spring_unittest.xml"));
         msgCtx.getConfiguration().getMainMediator().mediate(msgCtx);
 
         assertEquals(TestMediateHandlerImpl.invokeCount, 202);

Copied: 
incubator/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml
 (from r473794, 
incubator/synapse/trunk/java/repository/conf/sample/synapse_spring_unittest.xml)
URL: 
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml?view=diff&rev=474390&p1=incubator/synapse/trunk/java/repository/conf/sample/synapse_spring_unittest.xml&r1=473794&p2=incubator/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml&r2=474390
==============================================================================
--- 
incubator/synapse/trunk/java/repository/conf/sample/synapse_spring_unittest.xml 
(original)
+++ 
incubator/synapse/trunk/java/repository/conf/sample/resources/spring/synapse_spring_unittest.xml
 Mon Nov 13 08:48:41 2006
@@ -6,8 +6,8 @@
        </registry>
   
   <definitions>
-               <set-property name="springconfig1" 
key="conf/sample/springsample.xml"/>
-               <set-property name="springconfig2" 
src="file:./../../repository/conf/sample/springsample.xml"/>
+               <set-property name="springconfig1" 
key="conf/sample/resources/spring/springsample.xml"/>
+               <set-property name="springconfig2" 
src="file:./../../repository/conf/sample/resources/spring/springsample.xml"/>
   </definitions>
 
   <rules>

Added: 
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_unittest.xslt
URL: 
http://svn.apache.org/viewvc/incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_unittest.xslt?view=auto&rev=474390
==============================================================================
--- 
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_unittest.xslt
 (added)
+++ 
incubator/synapse/trunk/java/repository/conf/sample/resources/transform/transform_unittest.xslt
 Mon Nov 13 08:48:41 2006
@@ -0,0 +1,20 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<xsl:stylesheet version="2.0" 
+       xmlns:xsl="http://www.w3.org/1999/XSL/Transform"; 
+       xmlns:fn="http://www.w3.org/2005/02/xpath-functions";
+       xmlns:m0="http://www.apache-synapse.org/test";
+       exclude-result-prefixes="m0 fn">
+<xsl:output method="xml" omit-xml-declaration="yes" indent="yes"/>
+
+<xsl:template match="/">
+  <xsl:apply-templates select="//m0:CheckPriceRequest" /> 
+</xsl:template>
+  
+<xsl:template match="m0:CheckPriceRequest">
+
+<m:GetQuote xmlns:m="http://www.webserviceX.NET/";>
+       <m:symbol><xsl:value-of select="m0:Code"/></m:symbol>
+</m:GetQuote>
+
+</xsl:template>
+</xsl:stylesheet>
\ No newline at end of file



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to