http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml deleted file mode 100644 index 72e9227..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/rss/rss20.xml +++ /dev/null @@ -1,424 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/rss2full.xsl" type="text/xsl" media="screen"?><?xml-stylesheet href="http://feeds.feedburner.com/~d/styles/itemcontent.css" type="text/css" media="screen"?> -<rss version="2.0"> - <channel> - <title>Jon Anstey's Blog</title> - <link>http://janstey.blogspot.com/</link> - <description></description> - <language>en</language> - <managingEditor>nore...@blogger.com (Jonathan Anstey)</managingEditor> - <lastBuildDate>Wed, 12 Nov 2008 08:08:35 -0600</lastBuildDate> - <generator>Blogger http://www.blogger.com</generator> - <openSearch:totalResults - xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> - 10 - </openSearch:totalResults> - <openSearch:startIndex - xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> - 1 - </openSearch:startIndex> - <openSearch:itemsPerPage - xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/"> - 25 - </openSearch:itemsPerPage> - <atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" - href="http://feeds.feedburner.com/JonAnsteysBlog" - type="application/rss+xml" /> - <item> - <title>How do you use your Apache Camel?</title> - <link> - http://janstey.blogspot.com/2008/11/how-do-you-use-your-apache-camel.html - </link> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Wed, 12 Nov 2008 08:08:35 -0600</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-2482225272893952676 - </guid> - <description> - <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) - {}" - href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s1600-h/apache-camel-6.png"><img - style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: - 232px; height: 108px;" - src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s400/apache-camel-6.png" - alt="" id="BLOGGER_PHOTO_ID_5267772297457315874" border="0" - /></a><br />The Apache Camel project has been growing by - leaps and bounds lately it seems. Much of this growth has been driven by - a vibrant community (many thanks to all users! :) ). Its typically hard - though to know what kind of applications Camel is being used in. We - don't have much visibility into the cool stuff people are doing with - Camel. In particular, in would be nice to know what other applications - are being used with Camel... eg. CMSs, DBs, ESBs, App Servers, web - frameworks, other frameworks, etc etc<br /><br />I've - started a thread <a - href="http://www.nabble.com/-TO-USERS--How-do-you-use-your-Apache-Camel--tt20460957s22882.html">here</a> - trying to capture how folks are using Camel. Please, if you're a user of - Camel, take a minute to share how it is being used on the thread or - here. This will only help us make Camel better and more useful in the - future. No confidential info allowed, of course ;) - </description> - <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" - url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SRri_qOWMCI/AAAAAAAAADI/PBAuk1poLDw/s72-c/apache-camel-6.png" - height="72" width="72" /> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 0 - </thr:total> - </item> - <item> - <title>Creating Apache Camel projects with m2eclipse</title> - <link> - http://janstey.blogspot.com/2008/11/creating-apache-camel-projects-with.html - </link> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Wed, 05 Nov 2008 11:20:18 -0600</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-5257226557237229806 - </guid> - <description> - I just noticed today that <a - href="http://activemq.apache.org/camel">Apache Camel</a> shows - up by default in the <a - href="http://m2eclipse.sonatype.org/">m2eclipse</a> <a - href="http://www.sonatype.com/book/reference/eclipse.html#sect-m2e-create-archetype">New - Maven Project</a> dialog. No extra fooling around is required - anymore. Very cool!<br /><br /><a onblur="try - {parent.deselectBloggerImageGracefully();} catch(e) {}" - href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s1600-h/newmavenproject.png"><img - style="margin: 0px auto 10px; display: block; text-align: center; - cursor: pointer; width: 400px; height: 286px;" - src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s400/newmavenproject.png" - alt="" id="BLOGGER_PHOTO_ID_5265222074238812402" border="0" - /></a><br />This is by far the easiest way to get started - with Apache Camel - you don't even have to leave your IDE. - </description> - <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" - url="http://4.bp.blogspot.com/_JZEz3zQ95mA/SRHTlIaMwPI/AAAAAAAAADA/h3aTEao9fSg/s72-c/newmavenproject.png" - height="72" width="72" /> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 3 - </thr:total> - </item> - <item> - <title>Apache Camel 1.5.0 Released!</title> - <link> - http://janstey.blogspot.com/2008/10/apache-camel-150-released.html - </link> - <category>Apache Camel</category> - <category>Open Source</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Fri, 31 Oct 2008 12:02:21 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-6738685122661677555 - </guid> - <description> - <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) - {}" - href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s1600-h/apache-camel-6.png"><img - style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: - 232px; height: 108px;" - src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s400/apache-camel-6.png" - alt="" id="BLOGGER_PHOTO_ID_5263361491479580514" border="0" - /></a><br />Several months and 266 fixes later (a new - record!), the <a href="http://camel.apache.org/">Apache - Camel</a> team is proud to present version 1.5.0!<br - /><br />Go ahead, take a look at the <a - href="http://camel.apache.org/camel-150-release.html">release - notes</a> and grab it <a - href="http://camel.apache.org/download.html">here</a>. - Its still pretty fresh so it may take a few hours before the release - propagates to all Apache download mirrors (try <a - href="http://people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/camel/apache-camel/1.5.0/">here</a> - otherwise). - </description> - <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" - url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SQs3Y9gcT2I/AAAAAAAAACo/9fliISzJtHg/s72-c/apache-camel-6.png" - height="72" width="72" /> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 0 - </thr:total> - </item> - <item> - <title>Repeatable Maven Builds</title> - <link> - http://janstey.blogspot.com/2008/10/repeatable-maven-builds.html - </link> - <category>Nexus</category> - <category>Open Source</category> - <category>Maven</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Tue, 14 Oct 2008 17:51:57 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-2808091344275336113 - </guid> - <description> - A typical problem folks have with Maven seems to be <a - href="http://aidan-skinner.livejournal.com/229584.html?thread=615632#t615632">getting - repeatable builds</a>. If you've encountered this, you know the - pain: an older release needs to be built but now fails with the dreaded - "Failed to resolve artifact" error. You can't really depend on most - Maven repos to be there indefinitely. I'm sure repos like - http://repo1.maven.org are pretty safe but AFAIK the maintainers are - under no legal obligation to keep around the artifacts forever. You most - likely DO have obligations to customers and thus need to ensure builds - are repeatable.<br /><br />You get repeatability for free - when you use a repository manager like <a - href="http://nexus.sonatype.org/">Nexus</a> - it keeps - downloaded artifacts around forever by default. If you don't want to use - a repository manager, you're going to have to save those artifacts some - other (manual) way. One approach would be to just tar up your local m2 - repo after each release and store it somewhere safe (like in SVN). Of - course, since local repos tend to get huge over time, you should always - start from an empty local repo before a release.<br /><br - />Hope this helps. - </description> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 0 - </thr:total> - </item> - <item> - <title>Why drop Maven?</title> - <link>http://janstey.blogspot.com/2008/10/why-drop-maven.html</link> - <category>Open Source</category> - <category>Maven</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Tue, 14 Oct 2008 17:52:03 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-2951217751083066805 - </guid> - <description> - Recently I've noticed projects dropping Maven in favour of some other - build tool... Apache Qpid comes to mind in this case. I'm wondering, is - there a real good technical reason that folks do not like Maven? It has - its quirks... but really, what tool doesn't? I've been using it for - years now and like it better that any other build tool out there. - </description> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 2 - </thr:total> - </item> - <item> - <title>Nexus indices added for FUSE</title> - <link> - http://janstey.blogspot.com/2008/09/nexus-indices-added-for-fuse.html - </link> - <category>m2eclipse</category> - <category>Nexus</category> - <category>Maven</category> - <category>FUSE</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Fri, 19 Sep 2008 16:28:48 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-8495762864343317713 - </guid> - <description> - I've added <a href="http://nexus.sonatype.org/">Nexus</a> - repository indices for the <a - href="http://open.iona.com/">FUSE</a> Maven repositories. You - can find instructions on how to add these to your <a - href="http://m2eclipse.sonatype.org/">m2eclipse</a> - installation <a - href="http://open.iona.com/wiki/display/ProdInfo/Adding+FUSE+Maven+repos+to+m2eclipse"><span - style="text-decoration: - underline;">here</span></a>.<br /><br />Why - should you care? Well, among many other things, this enables you:<br - /><br />1. <a - href="http://www.sonatype.com/book/reference/eclipse.html#sect-m2e-create-archetype">Create</a> - new projects based on Camel archetypes<br />2. <a - href="http://www.sonatype.com/book/reference/eclipse.html#d0e18331">Search</a> - for classes in all FUSE artifacts<br />3. <a - href="http://www.sonatype.com/book/reference/eclipse.html#d0e18191">Add</a> - FUSE dependencies to your project's POM - </description> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 0 - </thr:total> - </item> - <item> - <title>Nexus config for Apache Camel</title> - <link> - http://janstey.blogspot.com/2008/09/nexus-config-for-apache-camel.html - </link> - <category>Nexus</category> - <category>Apache Camel</category> - <category>Open Source</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Tue, 09 Sep 2008 18:41:22 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-8110068338407384585 - </guid> - <description> - Some folks have been having issues getting all the Maven repositories - set up properly in <a - href="http://nexus.sonatype.org/">Nexus</a> for <a - href="http://camel.apache.org/">Apache Camel</a>. - Here's my working Nexus config and settings.xml - hope it helps!<br - /><a - href="http://people.apache.org/%7Ejanstey/blog_stuff/camel_nexus_config/nexus.xml"><br - />Nexus config</a> (admittedly polluted with repos from other - projects...)<br /><br /><a - href="http://people.apache.org/%7Ejanstey/blog_stuff/camel_nexus_config/settings.xml">settings.xml</a><br - /><br />I found my Nexus config in - /opt/sonatype-work/nexus/conf. I'm not sure what happens when you copy - in a new Nexus config file so you should probably make a copy of the - sonatype-work directory first :) - </description> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 2 - </thr:total> - </item> - <item> - <title>I'm an Apache Camel committer!</title> - <link> - http://janstey.blogspot.com/2008/09/im-apache-camel-committer.html - </link> - <category>Apache Camel</category> - <category>Open Source</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Thu, 04 Sep 2008 10:32:53 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-8954622480986228001 - </guid> - <description> - <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) - {}" - href="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s1600-h/apache-camel-6.png"><img - style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" - src="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s200/apache-camel-6.png" - alt="" id="BLOGGER_PHOTO_ID_5242189240558466354" border="0" - /></a><br />Over the past few months I've been hacking - away on various parts of <a - href="http://camel.apache.org/">Apache Camel</a>. It - was initially just for fun, but quickly turned into my day job :) With - over 40 fixes contributed, the Camel team decided to vote me in as a - committer!<br /><br />This is my first committer status on - any Apache project so its pretty exciting. I've traditionally been - involved with closed source projects only.<br /><br - />Looking forward to more Camel hacking!<br /><br />BTW - for those who are interesting in contributing to the growing Camel - project, <a - href="http://icodebythesea.blogspot.com/">Jamie</a> posted a - good guide to Apache process <a - href="http://icodebythesea.blogspot.com/2008/09/responses-how-to-contribute-to-apache.html">here</a>. - </description> - <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" - url="http://1.bp.blogspot.com/_JZEz3zQ95mA/SL__VwjctTI/AAAAAAAAACg/ytJRqteOmNI/s72-c/apache-camel-6.png" - height="72" width="72" /> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 3 - </thr:total> - </item> - <item> - <title>Nexus == easy</title> - <link>http://janstey.blogspot.com/2008/08/nexus-easy.html</link> - <category>Nexus</category> - <category>Apache Camel</category> - <category>Open Source</category> - <category>Maven</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Wed, 27 Aug 2008 18:43:27 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-1016140995124806496 - </guid> - <description> - I must admit, the <a - href="http://maven.apache.org/">Maven</a> setup at work has me - a bit spoiled. Direct LAN access to a bunch of Maven mirrors makes for - some pretty fast builds. Problem is, when I go off site I have to suffer - through slow builds again...<br /><br />Thanks to <a - href="http://bsnyderblog.blogspot.com/">Bruce</a> I now have - wicked fast builds off site too!! A local instance of <a - href="http://nexus.sonatype.org/">Nexus</a> is the answer. - Seriously, go take a look at <a - href="http://bsnyderblog.blogspot.com/2008/08/do-you-use-maven-if-so-you-need-nexus.html">the - steps Bruce posted</a>. It took me like 30 minutes to setup and - add about <span style="font-weight: bold;">twenty</span> - mirrors - now thats freakin' easy.<br /><br />Heres the best - part (I'm building <a - href="http://activemq.apache.org/camel">Apache Camel</a> here - with a clean local repo):<br /><br />No mirroring<br - /><span style="font-family:courier new;">[INFO] Total time: 31 - minutes 18 seconds</span><br /><br />Custom internal - mirrors<br />[INFO] Total time: 7 minutes 52 seconds<br - /><br />Nexus mirroring<br />[INFO] Total time: 3 minutes - 3 seconds<br /><br />Anyway, bottom line is that I'm - impressed. Great work Maven guys! - </description> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 1 - </thr:total> - </item> - <item> - <title>Eclipse Templates for Apache Camel</title> - <link> - http://janstey.blogspot.com/2008/08/eclipse-templates-for-apache-camel.html - </link> - <category>Apache Camel</category> - <category>Open Source</category> - <author>nore...@blogger.com (Jonathan Anstey)</author> - <pubDate>Wed, 27 Aug 2008 08:09:43 -0500</pubDate> - <guid isPermaLink="false"> - tag:blogger.com,1999:blog-7653570007295451610.post-7161378749124824806 - </guid> - <description> - If you didn't know already, Eclipse allows you to define custom - templates for commonly used code snippets. Its a very neat feature for - those of us who are memory challenged or don't like typing things - twice!<br /><br />I think that Apache Camel users could - really benefit from having predefined templates for doing Camel routing. - I also hear a lot of requests like "I have this Java DSL route, how do I - do this in the Spring XML DSL?" so having both Java and XML templates - for the same thing is essential.<br /><br />You can find the - templates I did up <a - href="http://issues.apache.org/activemq/secure/attachment/16910/camel_java_templates.xml">here</a> - &amp; <a - href="http://issues.apache.org/activemq/secure/attachment/16911/camel_xml_templates.xml">here</a>. - To import these browse to the template screens defined at:<br - /><br />Window -> Preferences -> Java -> Editor -> - Templates<br />and<br />Window -> Preferences -> Web - and XML -> XML Files -> Templates.<br /><br />Once - imported, you can type Ctrl + Space and then type 'camel' to search for - the camel templates. You should see something like this in the Java and - XML editors:<br /><br /><a onblur="try - {parent.deselectBloggerImageGracefully();} catch(e) {}" - href="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s1600-h/java_template_selection.png"><img - style="margin: 0px auto 10px; display: block; text-align: center; - cursor: pointer;" - src="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s320/java_template_selection.png" - alt="" id="BLOGGER_PHOTO_ID_5238996312971038258" border="0" - /></a><a onblur="try - {parent.deselectBloggerImageGracefully();} catch(e) {}" - href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSnZd9AEfI/AAAAAAAAACA/qy6BVcAG6_U/s1600-h/xml_template_selection.png"><img - style="margin: 0px auto 10px; display: block; text-align: center; - cursor: pointer;" - src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSnZd9AEfI/AAAAAAAAACA/qy6BVcAG6_U/s320/xml_template_selection.png" - alt="" id="BLOGGER_PHOTO_ID_5238996322517783026" border="0" - /></a><br />When you select, say a Content Based Router, - you'll get a route something like this in the Java and XML - editors:<br /><br /><a onblur="try - {parent.deselectBloggerImageGracefully();} catch(e) {}" - href="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSphdkYyDI/AAAAAAAAACY/_mqBSr3uJpU/s1600-h/java_template.png"><img - style="margin: 0px auto 10px; display: block; text-align: center; - cursor: pointer;" - src="http://4.bp.blogspot.com/_JZEz3zQ95mA/SLSphdkYyDI/AAAAAAAAACY/_mqBSr3uJpU/s400/java_template.png" - alt="" id="BLOGGER_PHOTO_ID_5238998658876753970" border="0" - /></a><br /><a onblur="try - {parent.deselectBloggerImageGracefully();} catch(e) {}" - href="http://3.bp.blogspot.com/_JZEz3zQ95mA/SLSn-w1dxdI/AAAAAAAAACQ/-gE7mDXagzM/s1600-h/xml_template.png"><img - style="margin: 0px auto 10px; display: block; text-align: center; - cursor: pointer; width: 381px; height: 201px;" - src="http://3.bp.blogspot.com/_JZEz3zQ95mA/SLSn-w1dxdI/AAAAAAAAACQ/-gE7mDXagzM/s320/xml_template.png" - alt="" id="BLOGGER_PHOTO_ID_5238996963241608658" border="0" - /></a><br />The formatting was a bit wonky for these - Eclipse templates so you might want to pretty up your routes before - showing anyone else :)<br /><br />Let me know what you - think! - </description> - <media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" - url="http://2.bp.blogspot.com/_JZEz3zQ95mA/SLSnY6Y4TjI/AAAAAAAAAB4/iLfLvi1ljtE/s72-c/java_template_selection.png" - height="72" width="72" /> - <thr:total xmlns:thr="http://purl.org/syndication/thread/1.0"> - 2 - </thr:total> - </item> - </channel> -</rss>
http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/CamelServletWithServletServiceContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/CamelServletWithServletServiceContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/CamelServletWithServletServiceContext.xml deleted file mode 100644 index 03d7d11..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/CamelServletWithServletServiceContext.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- START SNIPPET: camelContext --> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xmlns:osgi="http://www.springframework.org/schema/osgi" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <osgi:reference id="servletref" interface="org.apache.camel.component.http.CamelServlet"> - <osgi:listener bind-method="register" unbind-method="unregister"> - <ref bean="httpRegistry"/> - </osgi:listener> - </osgi:reference> - - <bean id="httpRegistry" class="org.apache.camel.component.servlet.DefaultHttpRegistry"/> - - <bean id="servlet" class="org.apache.camel.component.servlet.ServletComponent"> - <property name="httpRegistry" ref="httpRegistry" /> - </bean> - - <bean id="servletProcessor" class="org.apache.camel.itest.osgi.servlet.ServletProcessor" /> - - <camelContext xmlns="http://camel.apache.org/schema/spring"> - <route> - <!-- notice how we can use the servlet scheme which is that osgi:reference above --> - <from uri="servlet:///hello"/> - <process ref="servletProcessor"/> - </route> - </camelContext> - -</beans> -<!-- END SNIPPET: camelContext --> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletComponentTest-context.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletComponentTest-context.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletComponentTest-context.xml deleted file mode 100644 index 0aa4ccd..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletComponentTest-context.xml +++ /dev/null @@ -1,38 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xmlns:osgi="http://www.springframework.org/schema/osgi" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <bean id="servletActivator" class="org.apache.camel.itest.osgi.servlet.support.ServletActivator"/> - - <bean id="servletProcessor" class="org.apache.camel.itest.osgi.servlet.ServletProcessor" /> - - <camelContext xmlns="http://camel.apache.org/schema/spring"> - <camel:route> - <camel:from uri="servlet:///hello"/> - <camel:process ref="servletProcessor"/> - </camel:route> - </camelContext> - -</beans> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletServiceContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletServiceContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletServiceContext.xml deleted file mode 100644 index 6684403..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/servlet/ServletServiceContext.xml +++ /dev/null @@ -1,50 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - <!-- START SNIPPET: service --> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:osgi="http://www.springframework.org/schema/osgi" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://www.springframework.org/schema/osgi http://www.springframework.org/schema/osgi/spring-osgi.xsd"> - - <bean id="camelServlet" class="org.apache.camel.component.servlet.CamelHttpTransportServlet"> - </bean> - - <!-- - Enlist it in OSGi service registry - This will cause two things: - 1) As the pax web whiteboard extender is running the CamelServlet will - be registered with the OSGi HTTP Service - 2) It will trigger the HttpRegistry in other bundles so the servlet is - made known there too - --> - <osgi:service ref="camelServlet"> - <osgi:interfaces> - <value>javax.servlet.Servlet</value> - <value>org.apache.camel.component.http.CamelServlet</value> - </osgi:interfaces> - <osgi:service-properties> - <entry key="alias" value="/camel/services" /> - <entry key="matchOnUriPrefix" value="true" /> - <entry key="servlet-name" value="CamelServlet"/> - </osgi:service-properties> - </osgi:service> - -</beans> -<!-- END SNIPPET: service --> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/shiro/securityconfig.ini ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/shiro/securityconfig.ini b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/shiro/securityconfig.ini deleted file mode 100644 index e3c714b..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/shiro/securityconfig.ini +++ /dev/null @@ -1,36 +0,0 @@ -# -# Licensed to the Apache Software Foundation (ASF) under one -# or more contributor license agreements. See the NOTICE file -# distributed with this work for additional information -# regarding copyright ownership. The ASF licenses this file -# to you under the Apache License, Version 2.0 (the -# "License"); you may not use this file except in compliance -# with the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, -# software distributed under the License is distributed on an -# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -# KIND, either express or implied. See the License for the -# specific language governing permissions and limitations -# under the License. -# - -[users] -# user 'ringo' with password 'starr' and the 'hero' role -ringo = starr, sec-level1 -george = harrison, sec-level2 -john = lennon, sec-level3 -paul = mccartney, sec-level3 - -[roles] -# 'sec-level3' role has all permissions, indicated by the wildcard '*' -sec-level3 = * - -# The 'sec-level2' role can do anything with access of permission readonly (*) to help -sec-level2 = zone1:* - -# The 'sec-level1' role can do anything with access of permission readonly -sec-level1 = zone1:readonly:* - http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/bean/CamelContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/bean/CamelContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/bean/CamelContext.xml deleted file mode 100644 index 0078954..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/bean/CamelContext.xml +++ /dev/null @@ -1,36 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <bean id="foo" class="org.apache.camel.itest.osgi.core.bean.MyFooBean"/> - - <camelContext xmlns="http://camel.apache.org/schema/spring"> - <camel:route> - <camel:from uri="direct:start"/> - <camel:to uri="bean:foo"/> - <camel:to uri="mock:result"/> - </camel:route> - </camelContext> - -</beans> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/event/CamelContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/event/CamelContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/event/CamelContext.xml deleted file mode 100644 index 39b25c4..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/spring/event/CamelContext.xml +++ /dev/null @@ -1,33 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <camelContext xmlns="http://camel.apache.org/schema/spring"> - <camel:route> - <camel:from uri="spring-event:default"/> - <camel:to uri="mock:result"/> - </camel:route> - </camelContext> - -</beans> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/blueprintSqlCamelContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/blueprintSqlCamelContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/blueprintSqlCamelContext.xml deleted file mode 100644 index a056fd3..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/blueprintSqlCamelContext.xml +++ /dev/null @@ -1,48 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - ~ Licensed to the Apache Software Foundation (ASF) under one or more - ~ contributor license agreements. See the NOTICE file distributed with - ~ this work for additional information regarding copyright ownership. - ~ The ASF licenses this file to You under the Apache License, Version 2.0 - ~ (the "License"); you may not use this file except in compliance with - ~ the License. You may obtain a copy of the License at - ~ - ~ http://www.apache.org/licenses/LICENSE-2.0 - ~ - ~ Unless required by applicable law or agreed to in writing, software - ~ distributed under the License is distributed on an "AS IS" BASIS, - ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - ~ See the License for the specific language governing permissions and - ~ limitations under the License. - --> - <blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy"> - - <camelContext xmlns="http://camel.apache.org/schema/blueprint"> - <route> - <from uri="direct:list"/> - <to uri="sql:select * from projects where license = # and project = # order by id"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:insert"/> - <to uri="sql:insert into projects values (#, #, #)"/> - <to uri="mock:result"/> - </route> - </camelContext> - - <bean id="dataSource" class="org.apache.derby.jdbc.EmbeddedDataSource"> - <property name="databaseName" value="ProductsDB"/> - <property name="createDatabase" value="create" /> - </bean> - - <bean id="manager" class="org.apache.camel.itest.osgi.sql.DatabaseManager" init-method="init" destroy-method="destroy"> - <argument ref="dataSource"/> - </bean> - - <bean id="sql" class="org.apache.camel.component.sql.SqlComponent" depends-on="manager"> - <property name="dataSource" ref="dataSource"/> - </bean> - - <service ref="dataSource" interface="javax.sql.DataSource"/> - -</blueprint> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/springSqlRouteContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/springSqlRouteContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/springSqlRouteContext.xml deleted file mode 100644 index afa46eb..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/sql/springSqlRouteContext.xml +++ /dev/null @@ -1,51 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xsi:schemaLocation= - "http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <camelContext xmlns="http://camel.apache.org/schema/spring"> - <route> - <from uri="direct:list"/> - <to uri="sql:select * from projects where license = # and project = # order by id"/> - <to uri="mock:result"/> - </route> - <route> - <from uri="direct:insert"/> - <to uri="sql:insert into projects values (#, #, #)"/> - <to uri="mock:result"/> - </route> - </camelContext> - - <bean id="dataSource" class="org.apache.derby.jdbc.EmbeddedDataSource"> - <property name="databaseName" value="ProductsDB"/> - <property name="createDatabase" value="create" /> - </bean> - - <bean id="manager" class="org.apache.camel.itest.osgi.sql.DatabaseManager" init-method="init" destroy-method="destroy"> - <constructor-arg ref="dataSource"/> - </bean> - - <bean id="sql" class="org.apache.camel.component.sql.SqlComponent" depends-on="manager"> - <property name="dataSource" ref="dataSource"/> - </bean> - -</beans> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/JsseUtilTest-context.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/JsseUtilTest-context.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/JsseUtilTest-context.xml deleted file mode 100644 index 25e4682..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/JsseUtilTest-context.xml +++ /dev/null @@ -1,47 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<beans xmlns="http://www.springframework.org/schema/beans" - xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" - xmlns:camel="http://camel.apache.org/schema/spring" - xsi:schemaLocation=" - http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd - http://camel.apache.org/schema/spring http://camel.apache.org/schema/spring/camel-spring.xsd"> - - <camel:camelContext/> - - <camel:sslContextParameters - id="id" - sessionTimeout="1" - secureSocketProtocol="TLS"> - - <camel:keyManagers - keyPassword="changeit"> - <camel:keyStore - resource="org/apache/camel/itest/osgi/util/jsse/localhost.ks" - password="changeit"/> - </camel:keyManagers> - - <camel:trustManagers> - <camel:keyStore - resource="org/apache/camel/itest/osgi/util/jsse/localhost.ks" - password="changeit"/> - </camel:trustManagers> - - </camel:sslContextParameters> - -</beans> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/localhost.ks ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/localhost.ks b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/localhost.ks deleted file mode 100644 index f285418..0000000 Binary files a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/util/jsse/localhost.ks and /dev/null differ http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/VelocityBlueprintRouter.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/VelocityBlueprintRouter.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/VelocityBlueprintRouter.xml deleted file mode 100644 index 747fddc..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/VelocityBlueprintRouter.xml +++ /dev/null @@ -1,27 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0"> - - <camelContext xmlns="http://camel.apache.org/schema/blueprint"> - <route> - <from uri="direct:start"/> - <to uri="velocity:example.vm"/> - </route> - </camelContext> - -</blueprint> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/example.vm ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/example.vm b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/example.vm deleted file mode 100644 index fc307f1..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/example.vm +++ /dev/null @@ -1,18 +0,0 @@ -## ------------------------------------------------------------------------ -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## ------------------------------------------------------------------------ -#parse("org/apache/camel/itest/osgi/velocity/header.vm") -<hello>${headers.cheese}</hello> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/header.vm ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/header.vm b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/header.vm deleted file mode 100644 index f046e0d..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/velocity/header.vm +++ /dev/null @@ -1,17 +0,0 @@ -## ------------------------------------------------------------------------ -## Licensed to the Apache Software Foundation (ASF) under one or more -## contributor license agreements. See the NOTICE file distributed with -## this work for additional information regarding copyright ownership. -## The ASF licenses this file to You under the Apache License, Version 2.0 -## (the "License"); you may not use this file except in compliance with -## the License. You may obtain a copy of the License at -## -## http://www.apache.org/licenses/LICENSE-2.0 -## -## Unless required by applicable law or agreed to in writing, software -## distributed under the License is distributed on an "AS IS" BASIS, -## WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -## See the License for the specific language governing permissions and -## limitations under the License. -## ------------------------------------------------------------------------ -<header>${headers.cheese}</header> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xmljson/xmlJsonBlueprintCamelContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xmljson/xmlJsonBlueprintCamelContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xmljson/xmlJsonBlueprintCamelContext.xml deleted file mode 100644 index 4311745..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xmljson/xmlJsonBlueprintCamelContext.xml +++ /dev/null @@ -1,29 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2006 The Apache Software Foundation. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<!-- - Simple Camel Context for testing OSGi-readiness of camel-xmljson - --> -<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy"> - - - <bean id="routeBuilder" class="org.apache.camel.itest.osgi.xmljson.XmlJsonRouteBuilder" /> - - <camelContext xmlns="http://camel.apache.org/schema/blueprint"> - <routeBuilder ref="routeBuilder" /> - </camelContext> - -</blueprint> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xstream/blueprintCamelContext.xml ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xstream/blueprintCamelContext.xml b/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xstream/blueprintCamelContext.xml deleted file mode 100644 index befdd90..0000000 --- a/tests/camel-itest-osgi/src/test/resources/org/apache/camel/itest/osgi/xstream/blueprintCamelContext.xml +++ /dev/null @@ -1,26 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<!-- - Copyright 2006 The Apache Software Foundation. - - Licensed under the Apache License, Version 2.0 (the "License"); - you may not use this file except in compliance with the License. - You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> -<blueprint xmlns="http://www.osgi.org/xmlns/blueprint/v1.0.0" default-activation="lazy"> - - - <bean id="routeBuilder" class="org.apache.camel.itest.osgi.xstream.XstreamRouteBuilder" /> - - <camelContext xmlns="http://camel.apache.org/schema/blueprint"> - <routeBuilder ref="routeBuilder" /> - </camelContext> - -</blueprint> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/report_incident.wsdl ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/report_incident.wsdl b/tests/camel-itest-osgi/src/test/resources/report_incident.wsdl deleted file mode 100644 index 913b8c5..0000000 --- a/tests/camel-itest-osgi/src/test/resources/report_incident.wsdl +++ /dev/null @@ -1,92 +0,0 @@ -<?xml version="1.0" encoding="ISO-8859-1"?> -<!-- - Licensed to the Apache Software Foundation (ASF) under one or more - contributor license agreements. See the NOTICE file distributed with - this work for additional information regarding copyright ownership. - The ASF licenses this file to You under the Apache License, Version 2.0 - (the "License"); you may not use this file except in compliance with - the License. You may obtain a copy of the License at - - http://www.apache.org/licenses/LICENSE-2.0 - - Unless required by applicable law or agreed to in writing, software - distributed under the License is distributed on an "AS IS" BASIS, - WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - See the License for the specific language governing permissions and - limitations under the License. ---> - -<wsdl:definitions xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" - xmlns:tns="http://reportincident.example.camel.apache.org" - xmlns:xs="http://www.w3.org/2001/XMLSchema" - xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" - xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" - targetNamespace="http://reportincident.example.camel.apache.org"> - - <!-- Type definitions for input- and output parameters for webservice --> - <wsdl:types> - <xs:schema targetNamespace="http://reportincident.example.camel.apache.org"> - <xs:element name="inputReportIncident"> - <xs:complexType> - <xs:sequence> - <xs:element type="xs:string" name="incidentId"/> - <xs:element type="xs:string" name="incidentDate"/> - <xs:element type="xs:string" name="givenName"/> - <xs:element type="xs:string" name="familyName"/> - <xs:element type="xs:string" name="summary"/> - <xs:element type="xs:string" name="details"/> - <xs:element type="xs:string" name="email"/> - <xs:element type="xs:string" name="phone"/> - </xs:sequence> - </xs:complexType> - </xs:element> - <xs:element name="outputReportIncident"> - <xs:complexType> - <xs:sequence> - <xs:element type="xs:string" name="code"/> - </xs:sequence> - </xs:complexType> - </xs:element> - </xs:schema> - </wsdl:types> - - <!-- Message definitions for input and output --> - <wsdl:message name="inputReportIncident"> - <wsdl:part name="in" element="tns:inputReportIncident"/> - </wsdl:message> - <wsdl:message name="outputReportIncident"> - <wsdl:part name="out" element="tns:outputReportIncident"/> - </wsdl:message> - - <!-- Port (interface) definitions --> - <wsdl:portType name="ReportIncidentEndpoint"> - <wsdl:operation name="ReportIncident"> - <wsdl:input message="tns:inputReportIncident"/> - <wsdl:output message="tns:outputReportIncident"/> - </wsdl:operation> - </wsdl:portType> - - <!-- Port bindings to transports and encoding - HTTP, document literal encoding is used --> - <wsdl:binding name="ReportIncidentBinding" type="tns:ReportIncidentEndpoint"> - <soap:binding transport="http://schemas.xmlsoap.org/soap/http"/> - <wsdl:operation name="ReportIncident"> - <soap:operation - soapAction="http://reportincident.example.camel.apache.org/ReportIncident" - style="document"/> - <wsdl:input> - <soap:body parts="in" use="literal"/> - </wsdl:input> - <wsdl:output> - <soap:body parts="out" use="literal"/> - </wsdl:output> - </wsdl:operation> - </wsdl:binding> - - <!-- Service definition --> - <wsdl:service name="ReportIncidentEndpointService"> - <wsdl:port name="ReportIncidentPort" binding="tns:ReportIncidentBinding"> - <soap:address location="http://localhost:9080/camel-itest-osgi/webservices/incident"/> - </wsdl:port> - </wsdl:service> - -</wsdl:definitions> http://git-wip-us.apache.org/repos/asf/camel/blob/6b77d012/tests/camel-itest-osgi/src/test/resources/users.properties ---------------------------------------------------------------------- diff --git a/tests/camel-itest-osgi/src/test/resources/users.properties b/tests/camel-itest-osgi/src/test/resources/users.properties deleted file mode 100644 index b4f2e17..0000000 --- a/tests/camel-itest-osgi/src/test/resources/users.properties +++ /dev/null @@ -1,12 +0,0 @@ -ftpserver.user.admin -ftpserver.user.admin.userpassword=admin -ftpserver.user.admin.homedirectory=./res/home -ftpserver.user.admin.writepermission=true -ftpserver.user.scott -ftpserver.user.scott.userpassword=tiger -ftpserver.user.scott.homedirectory=./res/home -ftpserver.user.scott.writepermission=true -ftpserver.user.dummy -ftpserver.user.dummy.userpassword=foo -ftpserver.user.dummy.homedirectory=./res/home -ftpserver.user.dummy.writepermission=false