You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@camel.apache.org by da...@apache.org on 2015/03/22 17:05:40 UTC
[48/54] [partial] camel git commit: CAMEL-7263: Remove not maintained
and deprecated camel-web module.
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/META-INF/LICENSE.txt
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/META-INF/LICENSE.txt b/components/camel-web/src/main/resources/META-INF/LICENSE.txt
deleted file mode 100644
index 6b0b127..0000000
--- a/components/camel-web/src/main/resources/META-INF/LICENSE.txt
+++ /dev/null
@@ -1,203 +0,0 @@
-
- Apache License
- Version 2.0, January 2004
- http://www.apache.org/licenses/
-
- TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
-
- 1. Definitions.
-
- "License" shall mean the terms and conditions for use, reproduction,
- and distribution as defined by Sections 1 through 9 of this document.
-
- "Licensor" shall mean the copyright owner or entity authorized by
- the copyright owner that is granting the License.
-
- "Legal Entity" shall mean the union of the acting entity and all
- other entities that control, are controlled by, or are under common
- control with that entity. For the purposes of this definition,
- "control" means (i) the power, direct or indirect, to cause the
- direction or management of such entity, whether by contract or
- otherwise, or (ii) ownership of fifty percent (50%) or more of the
- outstanding shares, or (iii) beneficial ownership of such entity.
-
- "You" (or "Your") shall mean an individual or Legal Entity
- exercising permissions granted by this License.
-
- "Source" form shall mean the preferred form for making modifications,
- including but not limited to software source code, documentation
- source, and configuration files.
-
- "Object" form shall mean any form resulting from mechanical
- transformation or translation of a Source form, including but
- not limited to compiled object code, generated documentation,
- and conversions to other media types.
-
- "Work" shall mean the work of authorship, whether in Source or
- Object form, made available under the License, as indicated by a
- copyright notice that is included in or attached to the work
- (an example is provided in the Appendix below).
-
- "Derivative Works" shall mean any work, whether in Source or Object
- form, that is based on (or derived from) the Work and for which the
- editorial revisions, annotations, elaborations, or other modifications
- represent, as a whole, an original work of authorship. For the purposes
- of this License, Derivative Works shall not include works that remain
- separable from, or merely link (or bind by name) to the interfaces of,
- the Work and Derivative Works thereof.
-
- "Contribution" shall mean any work of authorship, including
- the original version of the Work and any modifications or additions
- to that Work or Derivative Works thereof, that is intentionally
- submitted to Licensor for inclusion in the Work by the copyright owner
- or by an individual or Legal Entity authorized to submit on behalf of
- the copyright owner. For the purposes of this definition, "submitted"
- means any form of electronic, verbal, or written communication sent
- to the Licensor or its representatives, including but not limited to
- communication on electronic mailing lists, source code control systems,
- and issue tracking systems that are managed by, or on behalf of, the
- Licensor for the purpose of discussing and improving the Work, but
- excluding communication that is conspicuously marked or otherwise
- designated in writing by the copyright owner as "Not a Contribution."
-
- "Contributor" shall mean Licensor and any individual or Legal Entity
- on behalf of whom a Contribution has been received by Licensor and
- subsequently incorporated within the Work.
-
- 2. Grant of Copyright License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- copyright license to reproduce, prepare Derivative Works of,
- publicly display, publicly perform, sublicense, and distribute the
- Work and such Derivative Works in Source or Object form.
-
- 3. Grant of Patent License. Subject to the terms and conditions of
- this License, each Contributor hereby grants to You a perpetual,
- worldwide, non-exclusive, no-charge, royalty-free, irrevocable
- (except as stated in this section) patent license to make, have made,
- use, offer to sell, sell, import, and otherwise transfer the Work,
- where such license applies only to those patent claims licensable
- by such Contributor that are necessarily infringed by their
- Contribution(s) alone or by combination of their Contribution(s)
- with the Work to which such Contribution(s) was submitted. If You
- institute patent litigation against any entity (including a
- cross-claim or counterclaim in a lawsuit) alleging that the Work
- or a Contribution incorporated within the Work constitutes direct
- or contributory patent infringement, then any patent licenses
- granted to You under this License for that Work shall terminate
- as of the date such litigation is filed.
-
- 4. Redistribution. You may reproduce and distribute copies of the
- Work or Derivative Works thereof in any medium, with or without
- modifications, and in Source or Object form, provided that You
- meet the following conditions:
-
- (a) You must give any other recipients of the Work or
- Derivative Works a copy of this License; and
-
- (b) You must cause any modified files to carry prominent notices
- stating that You changed the files; and
-
- (c) You must retain, in the Source form of any Derivative Works
- that You distribute, all copyright, patent, trademark, and
- attribution notices from the Source form of the Work,
- excluding those notices that do not pertain to any part of
- the Derivative Works; and
-
- (d) If the Work includes a "NOTICE" text file as part of its
- distribution, then any Derivative Works that You distribute must
- include a readable copy of the attribution notices contained
- within such NOTICE file, excluding those notices that do not
- pertain to any part of the Derivative Works, in at least one
- of the following places: within a NOTICE text file distributed
- as part of the Derivative Works; within the Source form or
- documentation, if provided along with the Derivative Works; or,
- within a display generated by the Derivative Works, if and
- wherever such third-party notices normally appear. The contents
- of the NOTICE file are for informational purposes only and
- do not modify the License. You may add Your own attribution
- notices within Derivative Works that You distribute, alongside
- or as an addendum to the NOTICE text from the Work, provided
- that such additional attribution notices cannot be construed
- as modifying the License.
-
- You may add Your own copyright statement to Your modifications and
- may provide additional or different license terms and conditions
- for use, reproduction, or distribution of Your modifications, or
- for any such Derivative Works as a whole, provided Your use,
- reproduction, and distribution of the Work otherwise complies with
- the conditions stated in this License.
-
- 5. Submission of Contributions. Unless You explicitly state otherwise,
- any Contribution intentionally submitted for inclusion in the Work
- by You to the Licensor shall be under the terms and conditions of
- this License, without any additional terms or conditions.
- Notwithstanding the above, nothing herein shall supersede or modify
- the terms of any separate license agreement you may have executed
- with Licensor regarding such Contributions.
-
- 6. Trademarks. This License does not grant permission to use the trade
- names, trademarks, service marks, or product names of the Licensor,
- except as required for reasonable and customary use in describing the
- origin of the Work and reproducing the content of the NOTICE file.
-
- 7. Disclaimer of Warranty. Unless required by applicable law or
- agreed to in writing, Licensor provides the Work (and each
- Contributor provides its Contributions) on an "AS IS" BASIS,
- WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
- implied, including, without limitation, any warranties or conditions
- of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
- PARTICULAR PURPOSE. You are solely responsible for determining the
- appropriateness of using or redistributing the Work and assume any
- risks associated with Your exercise of permissions under this License.
-
- 8. Limitation of Liability. In no event and under no legal theory,
- whether in tort (including negligence), contract, or otherwise,
- unless required by applicable law (such as deliberate and grossly
- negligent acts) or agreed to in writing, shall any Contributor be
- liable to You for damages, including any direct, indirect, special,
- incidental, or consequential damages of any character arising as a
- result of this License or out of the use or inability to use the
- Work (including but not limited to damages for loss of goodwill,
- work stoppage, computer failure or malfunction, or any and all
- other commercial damages or losses), even if such Contributor
- has been advised of the possibility of such damages.
-
- 9. Accepting Warranty or Additional Liability. While redistributing
- the Work or Derivative Works thereof, You may choose to offer,
- and charge a fee for, acceptance of support, warranty, indemnity,
- or other liability obligations and/or rights consistent with this
- License. However, in accepting such obligations, You may act only
- on Your own behalf and on Your sole responsibility, not on behalf
- of any other Contributor, and only if You agree to indemnify,
- defend, and hold each Contributor harmless for any liability
- incurred by, or claims asserted against, such Contributor by reason
- of your accepting any such warranty or additional liability.
-
- END OF TERMS AND CONDITIONS
-
- APPENDIX: How to apply the Apache License to your work.
-
- To apply the Apache License to your work, attach the following
- boilerplate notice, with the fields enclosed by brackets "[]"
- replaced with your own identifying information. (Don't include
- the brackets!) The text should be enclosed in the appropriate
- comment syntax for the file format. We also recommend that a
- file or class name and description of purpose be included on the
- same "printed page" as the copyright notice for easier
- identification within third-party archives.
-
- Copyright [yyyy] [name of copyright owner]
-
- 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.
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/META-INF/NOTICE.txt
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/META-INF/NOTICE.txt b/components/camel-web/src/main/resources/META-INF/NOTICE.txt
deleted file mode 100644
index 2e215bf..0000000
--- a/components/camel-web/src/main/resources/META-INF/NOTICE.txt
+++ /dev/null
@@ -1,11 +0,0 @@
- =========================================================================
- == NOTICE file corresponding to the section 4 d of ==
- == the Apache License, Version 2.0, ==
- == in this case for the Apache Camel distribution. ==
- =========================================================================
-
- This product includes software developed by
- The Apache Software Foundation (http://www.apache.org/).
-
- Please read the different LICENSE files present in the licenses directory of
- this distribution.
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/application-doc.xml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/application-doc.xml b/components/camel-web/src/main/resources/application-doc.xml
deleted file mode 100644
index 9f8b89a..0000000
--- a/components/camel-web/src/main/resources/application-doc.xml
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
- 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.
--->
-<applicationDocs targetNamespace="http://wadl.dev.java.net/2009/02">
- <doc xml:lang="en" title="Apache Camel Web Console and API">
- <p>
- For more on the REST API please see<a href="http://camel.apache.org/web-console.html">the Web Console documentation</a>.
- </p>
- </doc>
-
-</applicationDocs>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/application-grammars.xml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/application-grammars.xml b/components/camel-web/src/main/resources/application-grammars.xml
deleted file mode 100644
index 2ecdfa2..0000000
--- a/components/camel-web/src/main/resources/application-grammars.xml
+++ /dev/null
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
-<!--
- 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.
--->
-<grammars xmlns="http://wadl.dev.java.net/2009/02"
- xmlns:xsd="http://www.w3.org/2001/XMLSchema"
- xmlns:xi="http://www.w3.org/1999/XML/xinclude">
- <include href="camel-web.xsd" />
-</grammars>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/log4j.properties b/components/camel-web/src/main/resources/log4j.properties
deleted file mode 100644
index 828e8b9..0000000
--- a/components/camel-web/src/main/resources/log4j.properties
+++ /dev/null
@@ -1,57 +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.
-## ---------------------------------------------------------------------------
-
-#
-# The logging properties used during tests..
-#
-log4j.rootLogger=INFO, out
-
-log4j.logger.org.apache.activemq.spring=WARN
-#log4j.logger.org.apache.camel=DEBUG
-#log4j.logger.org.apache.camel.component=TRACE
-#log4j.logger.org.apache.camel.component.seda=TRACE
-#log4j.logger.org.apache.camel.impl.DefaultUnitOfWork=TRACE
-#log4j.logger.org.apache.camel.component.mock=DEBUG
-#log4j.logger.org.apache.camel.component.file=TRACE
-#log4j.logger.org.apache.camel.processor.Pipeline=TRACE
-#log4j.logger.org.apache.camel.processor.MulticastProcessor=TRACE
-#log4j.logger.org.apache.camel.processor.RecipientList=TRACE
-#log4j.logger.org.apache.camel.processor.RecipientListProcessor=TRACE
-#log4j.logger.org.apache.camel.processor.RoutingSlip=TRACE
-#log4j.logger.org.apache.camel.processor.TryProcessor=TRACE
-#log4j.logger.org.apache.camel.processor.loadbalancer=TRACE
-#log4j.logger.org.apache.camel.processor.Delayer=TRACE
-#log4j.logger.org.apache.camel.processor.Throttler=TRACE
-log4j.logger.org.apache.camel.impl.converter=WARN
-log4j.logger.org.apache.camel.management=WARN
-log4j.logger.org.apache.camel.impl.DefaultPackageScanClassResolver=WARN
-#log4j.logger.org.apache.camel.impl=TRACE
-#log4j.logger.org.apache.camel.util.FileUtil=TRACE
-#log4j.logger.org.apache.camel.impl.converter.DefaultTypeConverter=TRACE
-
-# CONSOLE appender not used by default
-log4j.appender.out=org.apache.log4j.ConsoleAppender
-log4j.appender.out.layout=org.apache.log4j.PatternLayout
-log4j.appender.out.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-
-# File appender
-log4j.appender.file=org.apache.log4j.FileAppender
-log4j.appender.file.layout=org.apache.log4j.PatternLayout
-log4j.appender.file.layout.ConversionPattern=%d [%-15.15t] %-5p %-30.30c{1} - %m%n
-log4j.appender.file.file=target/camel-web.log
-log4j.appender.file.append=true
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/logback.xml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/logback.xml b/components/camel-web/src/main/resources/logback.xml
deleted file mode 100644
index e19b1e9..0000000
--- a/components/camel-web/src/main/resources/logback.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.
--->
-
-<configuration scan="true" debug="false">
- <!-- TODO in production mode disable the scan -->
-
- <appender name="FILE" class="ch.qos.logback.core.FileAppender">
- <File>target/application.log</File>
- <Append>true</Append>
-
- <encoder>
- <Pattern>%-4relative [%thread] %-5level %logger{40} - %msg%n</Pattern>
- </encoder>
- </appender>
-
-
- <appender name="STDOUT" class="ch.qos.logback.core.ConsoleAppender">
- <encoder>
- <Pattern>%d{HH:mm:ss.SSS} [%thread] %-5level %logger{36} - %msg%n</Pattern>
- </encoder>
- </appender>
-
-<!--
- <logger name="org.fusesource.scalate.jersey" level="DEBUG" />
- <logger name="org.fusesource.scalate" level="DEBUG" />
--->
-
- <logger name="org.fusesource.scalate.servlet.ServletTemplateEngine.SourceMap" level="INFO" />
-
- <root level="debug">
- <appender-ref ref="FILE" />
- <appender-ref ref="STDOUT" />
- </root>
-
-</configuration>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/resources/org/apache/camel/web/model/jaxb.index
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/resources/org/apache/camel/web/model/jaxb.index b/components/camel-web/src/main/resources/org/apache/camel/web/model/jaxb.index
deleted file mode 100644
index 07486a5..0000000
--- a/components/camel-web/src/main/resources/org/apache/camel/web/model/jaxb.index
+++ /dev/null
@@ -1,19 +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.
-## ------------------------------------------------------------------------
-Camel
-EndpointLink
-Endpoints
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml b/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml
deleted file mode 100644
index 004e302..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/applicationContext.xml
+++ /dev/null
@@ -1,32 +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"
- 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>
- <description>This is an example route which you can start, stop and modify</description>
- <from uri="seda:foo"/>
- <to uri="mock:results"/>
- </route>
- </camelContext>
-
-</beans>
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.api.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.api.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.api.ssp
deleted file mode 100644
index fab48c8..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.api.ssp
+++ /dev/null
@@ -1,103 +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.
---%>
-<%@ import val it: CamelContextResource %>
-
-#{ attributes("title") = "Camel REST API"}#
-
-
-<h1>Camel REST API</h1>
-
-<p>
- Camel supports a RESTful API for browsing and interacting with endpoints and routes to create and modify your
- <a href="http://camel.apache.org/enterprise-integration-patterns.html">Enterprise Integration Patterns</a>.
-</p>
-
-<p>
- Most resources are available at the very least as HTML, XML and JSON formats with some other formats being available.
- Your web browser will serve up the HTML representation by default unless you specify the HTTP <code>Accept</code>
- header
- with <code>text/xml</code> or <code>application/xml</code> for XML and <code>application/json</code> for JSON.
-</p>
-
-<table>
- <tr>
- <th>URI</th>
- <th>Description</th>
- <th>Related Resources</th>
- </tr>
- <tr>
- <td><a href="${uri("/")}">/</a>
- </td>
- <td>
- Summary links to other resources
- </td>
- <td>
- <ul>
- <li>
- <a href="${uri("/index.xml")}">/index.xml</a> for XML
- </li>
- <li>
- <a href="${uri("/index.json")}">/index.json</a> for JSON
- </li>
- </ul>
- </td>
- </tr>
- <tr>
- <td><a href="${uri("/endpoints")}">/endpoints</a></td>
- <td>
- The currently active endpoints
- </td>
- <td>
- <ul>
- <li>
- <a href="${uri("/endpoints.xml")}">/endpoints.xml</a> for XML
- </li>
- <li>
- <a href="${uri("/endpoints.json")}">/endpoints.json</a> for JSON
- </li>
- </ul>
- </td>
- </tr>
- <tr>
- <td><a href="${uri("/routes")}">/routes</a></td>
- <td>
- The currently active routes
- </td>
- <td>
- <ul>
- <li>
- <a href="${uri("/routes.xml")}">/routes.xml</a> for XML
- </li>
- <li>
- <a href="${uri("/routes.json")}">/routes.json</a> for JSON
- </li>
- <li>
- <a href="${uri("/routes.dot")}">/routes.dot</a> for a <a href="http://graphviz.org/">Graphviz</a>
- DOT file for <a href="http://camel.apache.org/visualisation.html">visualising your routes</a>.
- </li>
- </ul>
- </td>
- </tr>
- <tr>
- <td><a href="${uri("/application.wadl")}">/application.wadl</a></td>
- <td>
- The <a href="https://wadl.dev.java.net/">WADL</a> description of all the available resources
- </td>
- <td>
- </td>
- </tr>
-</table>
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.index.ssp
deleted file mode 100644
index c1573aa..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.index.ssp
+++ /dev/null
@@ -1,29 +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.
---%>
-<%@ import val it: CamelContextResource %>
-
-#{ attributes("title") = "Apache Camel " + it.getVersion }#
-
-
-<h1>Welcome to Apache Camel ${it.getVersion}</h1>
-
-<p>Welcome to the Web Console for instance <b>${it.getName}</b>.</p>
-<p>We hope you find the following links helpful</p>
-
-#{ include("/WEB-INF/snippets/camelContextLinks.ssp") }#
-
-<p>Lets take it for a ride!</p>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.systemProperties.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.systemProperties.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.systemProperties.ssp
deleted file mode 100644
index c2c6f03..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/CamelContextResource.systemProperties.ssp
+++ /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.
---%>
-<%@ import val it: CamelContextResource %>
-
-#{ attributes("title") = "System Properties"}#
-
-
-<h1>System Properties</h1>
-
-
-<table>
- <tr>
- <th>Name</th>
- <th>Value</th>
- </tr>
- #for(entry <- it.getSystemProperties)
- <tr>
- <td>${entry.getKey}</td>
- <td>${entry.getValue}</td>
- </tr>
- #end
-</table>
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentResource.index.ssp
deleted file mode 100644
index 4f74ea6..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentResource.index.ssp
+++ /dev/null
@@ -1,31 +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.
---%>
-<%@ import val it: ComponentResource %>
-
-#{ attributes("title") = it.getId}#
-
-
-<h1>${it.getId}</h1>
-
-<p>
- Welcome to the ${it.getId} component.
-</p>
-<p>
- For more information see the <a href="http://camel.apache.org/${it.getId}.html">documentation</a>
-</p>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentsResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentsResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentsResource.index.ssp
deleted file mode 100644
index 43714ab..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ComponentsResource.index.ssp
+++ /dev/null
@@ -1,38 +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.
---%>
-<%@ import val it: ComponentsResource %>
-
-#{ attributes("title") = "Components"}#
-
-
-<h1>Components</h1>
-
-
-<table>
- <tr>
- <th>Component</th>
- <th>Documentation</th>
- </tr>
- #for(id <- it.getComponentIds)
- <tr>
- <td><a href="components/${id}">${id}</a></td>
- <td><a href="http://camel.apache.org/${id}.html">documentation</a></td>
- </tr>
- #end
-</table>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersFromResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersFromResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersFromResource.index.ssp
deleted file mode 100644
index 3b569d3..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersFromResource.index.ssp
+++ /dev/null
@@ -1,38 +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.
---%>
-<%@ import val it: ConvertersFromResource %>
-
-#{ attributes("title") = "Type Converters from: " + it.getType.getCanonicalName}#
-
-
-<h1>Type Converters from: ${it.getType.getCanonicalName}</h1>
-
-<table>
- <tr>
- <th>To Type</th>
- <th>Converter</th>
- </tr>
- #for(entry <- it.getConverters)
- <tr>
- <td>${entry.getKey}</td>
- <td>${entry.getValue}</td>
- </tr>
- #end
-</table>
-
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersResource.index.ssp
deleted file mode 100644
index 77c4552..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ConvertersResource.index.ssp
+++ /dev/null
@@ -1,37 +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.
---%>
-<%@ import val it: ConvertersResource %>
-
-#{ attributes("title") = "Type Converters"}#
-
-
-<h1>Type Converters</h1>
-
-
-<table>
- <tr>
- <th>From Type</th>
- </tr>
- #for(entry <- it.getFromClassTypes)
- <tr>
- <td><a href="converters/${entry.getValue.getName}">${entry.getKey}</a></td>
- </tr>
- #end
-</table>
-
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.index.ssp
deleted file mode 100644
index 56887ea..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.index.ssp
+++ /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.
---%>
-<%@ import val it: EndpointResource %>
- #{ attributes("title") = "Endpoint " + it.getUri}#
- <h1>Endpoint: ${it.getUri}</h1>
-
- <ul>
- <li><a class='send' href='${uri(it.getHref + "/send")}'>Send to this endpoint</a></li>
- </ul>
-
- #if(it.getBrowsableEndpoint != null)
- <table>
- <tr>
- <th>Message ID (${it.getBrowsableEndpoint.getExchanges.size} in total)</th>
- </tr>
- #for(exchange <- it.getBrowsableEndpoint.getExchanges)
- <tr>
- <td><a class='message' href='${uri(it.getHref + "/messages/" + exchange.getExchangeId)}' title="View this message">${exchange.getExchangeId}</a></td>
- </tr>
- #end
- </table>
- #end
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.send.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.send.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.send.ssp
deleted file mode 100644
index 021ee95..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointResource.send.ssp
+++ /dev/null
@@ -1,38 +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.
---%>
-<%@ import val it: EndpointResource %>
-
-#{ attributes("title") = "Endpoint " + it.getUri}#
-
-
-<h1>Endpoint: ${it.getUri}</h1>
-
-<form action='${uri(it.getHref)}' method="post" name="sendMessage">
- <input type="submit" value="Send"> <input type="reset"> <br/>
-
- <br/>Headers(name : value)<br/>
- <input type="text" name="header_1"> : <input type="text" name="value_header_1"><br/>
- <input type="text" name="header_2"> : <input type="text" name="value_header_2"><br/>
- <input type="text" name="header_3"> : <input type="text" name="value_header_3"><br/>
- <input type="text" name="header_4"> : <input type="text" name="value_header_4"><br/>
- <input type="text" name="header_5"> : <input type="text" name="value_header_5"><br/>
-
- <br/>Body<br/>
- <textarea name="body" rows="30" cols="80"></textarea>
-</form>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointsResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointsResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointsResource.index.ssp
deleted file mode 100644
index 05b6044..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/EndpointsResource.index.ssp
+++ /dev/null
@@ -1,55 +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.
---%>
-<%@ import val it: EndpointsResource %>
-
-#{ attributes("title") = "Endpoints"}#
-
-
-<h2>Endpoints</h2>
-
-<ul>
- #for(i <- it.getEndpoints)
- <li><a class='endpoint' href='${uri(i.getHref)}'>${i.getUri}</a>
- #end
-</ul>
-
-<h2>Create New Endpoint</h2>
-
-<form action="${uri("/endpoints")}" method="post" name="createEndpoint">
- <table>
- #if(!(it.getError isEmpty))
- <tr>
- <td colspan="2" align="center" class="error">
- ${it.getError}
- </td>
- </tr>
- #end
- <tr>
- <td>
- Please enter the new endpoint URI
- </td>
- <td>
- <input type="text" name="uri" value="${it.getNewUri}" width="80">
- </td>
- </tr>
- <tr>
- <td colspan="2" align="center">
- <input type="submit" value="Create"> <input type="reset">
- </td>
- </tr>
- </table>
-</form>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ExchangeResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ExchangeResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ExchangeResource.index.ssp
deleted file mode 100644
index ce114d4..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/ExchangeResource.index.ssp
+++ /dev/null
@@ -1,85 +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.
---%>
-<%@ import val it: ExchangeResource %>
-
-#{ attributes("title") = "Exchange " + it.getExchangeId}#
-
-
-<h1>Exchange: ${it.getExchangeId}</h1>
-
-
-<table>
- <tr>
- <td valign="top">
- <table>
- <tr>
- <th colspan="2">Properties</th>
- </tr>
- <tr>
- <th>Name</th>
- <th>Value</th>
- </tr>
- #for(entry <- it.getProperties)
- <tr>
- <td>${entry.getKey}</td>
- #if(entry.getValue != null)
- <td><a class="type" title="${entry.getValue.getClass.getCanonicalName}">${entry.getValue}</a></td>
- #else
- <td><a class="type">null</a></td>
- #end
- </tr>
- #end
- </table>
- </td>
- <td valign="top">
- <table>
- <tr>
- <th colspan="2">Headers</th>
- </tr>
- <tr>
- <th>Name</th>
- <th>Value</th>
- </tr>
- #for(entry <- it.getHeaders)
- <tr>
- <td>${entry.getKey}</td>
- #if(entry.getValue != null)
- <td><a class="type" title="${entry.getValue.getClass.getCanonicalName}">${entry.getValue}</a></td>
- #else
- <td><a class="type">null</a></td>
- #end
- </tr>
- #end
- </table>
- </td>
- </tr>
- <tr>
- <th colspan="2">
- #if(it.getIn.getBody != null)
- Message Body is Java Class: ${it.getIn.getBody.getClass.getCanonicalName}
- #else
- Message Body is Java Class: null
- #end
- </th>
- </tr>
- <tr>
- <td colspan="2">
- <div class="message">${escape(it.getIn.getBody)}</div>
- </td>
- </tr>
-</table>
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguageResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguageResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguageResource.index.ssp
deleted file mode 100644
index 44ca520..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguageResource.index.ssp
+++ /dev/null
@@ -1,31 +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.
---%>
-<%@ import val it: LanguageResource %>
-
-#{ attributes("title") = it.getId}#
-
-
-<h1>${it.getId}</h1>
-
-<p>
- Welcome to the ${it.getId} language.
-</p>
-<p>
- For more information see the <a href="http://camel.apache.org/${it.getId}.html">documentation</a>
-</p>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguagesResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguagesResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguagesResource.index.ssp
deleted file mode 100644
index 6fad98d..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/LanguagesResource.index.ssp
+++ /dev/null
@@ -1,37 +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.
---%>
-<%@ import val it: LanguagesResource %>
-
-#{ attributes("title") = "Languages"}#
-
-<h1>Languages</h1>
-
-
-<table>
- <tr>
- <th>Language</th>
- <th>Documentation</th>
- </tr>
- #for(id <- it.getLanguageIds)
- <tr>
- <td><a href="languages/${id}">${id}</a></td>
- <td><a href="http://camel.apache.org/${id}.html">documentation</a></td>
- </tr>
- #end
-</table>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.edit.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.edit.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.edit.ssp
deleted file mode 100644
index 8e963fd..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.edit.ssp
+++ /dev/null
@@ -1,48 +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.
---%>
-<%@ import val it: RouteResource %>
-
-#{ attributes("title") = "Edit " + it.getRoute.getId}#
-
-<script type='text/javascript' src="${uri("/js/dojo/dojo.js")}"></script>
-<script type='text/javascript' src="${uri("/js/route.js")}"></script>
-
-
-<form id="routeForm" action="${uri("/routes/" + it.getRoute.getId)}"
- method="post">
-<table>
- <tr>
- <td>
- <h2>Edit ${it.getRoute.getId} in ${it.getLanguage}</h2>
- </td>
- <td><input type="submit" value="Save"> as <select
- id="language" name="language">
- <option value="Xml"
- #if(it.getLanguage == "Xml")selected#end>Xml</option>
- </select></td>
- </tr>
- <tr>
- <td colspan="2"><textarea id="route" name="route"
- onchange="dojo.byId('edited').value = true;"
- style="width: 800px; height: 300px; border: 10px solid #ddd; -moz-border-radius: 10px; -webkit-border-radius: 10px;">${it.getRouteDefinition}</textarea>
- <input id="edited" name="edited" type="hidden" value="false" /></td>
- </tr>
-</table>
-
-<div class="error">${it.getError}</div>
-
-</form>
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.index.ssp
deleted file mode 100644
index be48dbf..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RouteResource.index.ssp
+++ /dev/null
@@ -1,37 +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.
---%>
-<%@ import val it: RouteResource %>
-
-#{ attributes("title") = "Route " + it.getId}#
-
- <link href='${uri("/css/prettify/prettify.css")}' type="text/css" rel="stylesheet" />
- <script type="text/javascript" src='${uri("/js/prettify/prettify.js")}'></script>
-
-<body onload="prettyPrint()">
-
-<h2>Route ${it.getId}</h2>
-
-<p>${it.getRoute.getDescriptionText}</p>
-
-<div class="route">
-<pre class="prettyprint">${escape(it.getRouteXml)}</pre>
-</div>
-
-<ul>
-<li><a href='${uri("/routes/" + it.getId + "/lang/xml/edit")}'>Edit Route in Xml</a>
-</ul>
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.create.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.create.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.create.ssp
deleted file mode 100644
index 6305653..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.create.ssp
+++ /dev/null
@@ -1,57 +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.
---%>
-<%@ import val it: RoutesResource %>
-
-#{ attributes("title") = "Create New Route"}#
-
- <script type='text/javascript' src="${uri("/js/dojo/dojo.js")}"></script>
- <script type='text/javascript' src="${uri("/js/route.js")}"></script>
-
-
-<form id="routeForm" action="${uri("/routes")}" method="post">
-<table>
- <tr>
- <td>
- <h2>Create New Route</h2>
- </td>
- <td>
- <input type="submit" value="Save"> as <select
- id="language" name="language">
- <option value="Xml" selected>Xml</option>
- </select>
- </td>
- </tr>
- <tr>
- <td colspan="2"><textarea id="route" name="route"
- onchange="dojo.byId('edited').value = true;"
- style="width: 800px; height: 300px; border: 10px solid #ddd; -moz-border-radius: 10px; -webkit-border-radius: 10px;">
-<route xmlns="http://camel.apache.org/schema/spring">
- <description>This is an example route.</description>
- <from uri="seda:Some.Endpoint"/>
- <to uri="seda:Some.Other.Endpoint"/>
-</route>
- </textarea>
- </td>
- </tr>
-</table>
-
-<div class="error">${it.getError}</div>
-
-</form>
-
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp b/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp
deleted file mode 100644
index c938368..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/org/apache/camel/web/resources/RoutesResource.index.ssp
+++ /dev/null
@@ -1,84 +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.
---%>
-<%@ import val it: RoutesResource %>
-
-#{ attributes("title") = "Routes"}#
-
-
-<h2>Routes</h2>
-
-<table>
- <tr>
- <th>Route</th>
- <th colspan="2">Status</th>
- <th>Remove</th>
- <th>Exchanges<br/>(Completed / Failed / Inflight)</th>
- <th>Processing Time<br/>(Min / Max / Mean)</th>
- <th>Message Time<br/>(First / Last)</th>
- <th>Load Average<br/>(1 min / 5 min / 15 min)</th>
- </tr>
-<ul>
- #for(i <- it.getRoutes)
- <tr>
- <td>
- <a href='${uri("/routes/" + i.getId)}'>${i.getId}</a> ${i.getDescriptionText}
- </td>
- <td class="${i.getStatus}">
- ${i.getStatus}
- </td>
- <td>
- <form action='${uri("/routes/" + i.getId + "/status")}' method="POST" name="setStatus">
- #if(i.isStartable)
- <input type="hidden" name="status" value="start">
- <input type="submit" value="Start">
- #end
- #if(i.isStoppable)
- <input type="hidden" name="status" value="stop">
- <input type="submit" value="Stop">
- #end
- </form>
- </td>
- <td>
- #if(i.isStoppable)
- (stop first)
- #end
- #if(i.isStartable)
- <a href='${uri("/routes/" + i.getId + "/remove")}'>remove</a>
- #end
- </td>
- <td>
- ${i.getStatistic("ExchangesCompleted")} / ${i.getStatistic("ExchangesFailed")} / ${i.getStatistic("InflightExchanges")}
- </td>
- <td>
- ${i.getStatistic("MinProcessingTime")} / ${i.getStatistic("MaxProcessingTime")} / ${i.getStatistic("MeanProcessingTime")}
- </td>
- <td>
- ${i.getStatistic("FirstExchangeCompletedTimestamp")} / ${i.getStatistic("LastExchangeCompletedTimestamp")}
- </td>
- <td>
- ${i.getStatistic("Load01")} / ${i.getStatistic("Load05")} / ${i.getStatistic("Load15")}
- </td>
- </tr>
- #end
-</ul>
-</table>
-
-<ul>
-<li><a href='${uri("/routes/create")}'>Create New Route</a>
-</ul>
-
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/scalate/error.scaml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/scalate/error.scaml b/components/camel-web/src/main/webapp/WEB-INF/scalate/error.scaml
deleted file mode 100644
index 1ea79b9..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/scalate/error.scaml
+++ /dev/null
@@ -1,212 +0,0 @@
--#
--# Copyright (C) 2009-2011 the original author or authors.
--# See the notice.md file distributed with this work for additional
--# information regarding copyright ownership.
--#
--# 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.
--#
-- if ( !engine.isDevelopmentMode )
- .scalate-error-500
- %h1 Server Error: We're sorry, but something went wrong.
- %p We've been notified about this issue and we'll take a look at it shortly.
-
-- else
- - import util.parsing.input.Position
- - import org.fusesource.scalate._
- - import org.fusesource.scalate.console._
- - val consoleHelper = new ConsoleHelper(context)
- - import consoleHelper._
- - response.setContentType("text/html")
- - attributes("layout") = ""
- !!! Basic
- %html(lang="en")
- %head
- %meta(http-equiv="Content-Type" content="text/html; charset=utf-8")
- %meta(name="keywords" content="error")
- %title Unexpected Failure
- %style(type="text/css")
- :plain
- html, body {
- margin: 0;
- padding: 0;
- font-family: Helvetica, Arial, Sans;
- background: #EEEEEE;
- }
- .block {
- padding: 20px;
- border-bottom: 1px solid #aaa;
- }
- #scalate-error .header h1 {
- font-weight: normal;
- font-size: 28px;
- margin: 0;
- }
- #scalate-error .more {
- color: #666;
- font-size: 80%;
- border: none;
- }
- #scalate-error .header {
- background: #fcd2da;
- }
- #scalate-error .header p {
- color: #333;
- }
- #scalate-error .details {
- background: #f6f6f6;
- }
- #scalate-error .details h2 {
- font-weight: normal;
- font-size: 18px;
- margin: 0 0 10px 0;
- }
- #scalate-error .details .lineNumber {
- float: left;
- display: block;
- width: 40px;
- text-align: right;
- margin-right: 10px;
- font-size: 14px;
- font-family: monospace;
- background: #333;
- color: #fff;
- }
- #scalate-error .details .line {
- clear: both;
- color: #333;
- margin-bottom: 1px;
- }
- #scalate-error .details pre {
- font-size: 14px;
- margin: 0;
- overflow-x: hidden;
- }
- #scalate-error .details .error {
- color: #c00 !important;
- }
- #scalate-error .details .error .lineNumber {
- background: #c00;
- }
- #scalate-error .details .errorCol {
- background: #c00;
- color:#fff;
- }
- #scalate-error .details a {
- text-decoration: none;
- }
- #scalate-error .details a:hover * {
- cursor: pointer !important;
- }
- #scalate-error .details a:hover pre {
- background: #FAFFCF !important;
- }
-
- #scalate-error .details .stacktrace {
- clear: both;
- color: #333;
- margin-bottom: 1px;
- font-size: 10px;
- }
-
- #scalate-error .nested {
- padding-top:10px;
- padding-left:10px;
- }
-
- #scalate-error .nested .block {
- padding:10px;
- }
- #scalate-error .nested .header {
- font-size:10px;
- }
- #scalate-error .nested .header h1 {
- font-size:16px;
- }
- %body
- #content
- .wrapper
- -# Wrap in a try catch block so if there is a error on this page it gets logged to the console
- - try
- %link(href={uri("/css/scalate/errors.css")} rel="stylesheet" type="text/css")
-
- - def displayError(file:String, pos:Position, message:String)
- .header.block
- %h1
- = message
-
- .details.block
- %h2
- = editLink(file, pos.line, pos.column)
- in #{shorten(file)} near line #{pos.line} col #{pos.column}
-
- - for (s <- lines(file, pos))
- - val ss = s.style(pos.line)
- = editLink(file, s.line, (if (pos.line == s.line) pos.column else 1))
- %div(class=ss)
- %span.lineNumber
- = s.line
- - if (pos.line == s.line)
- - val (prefix, ch, postfix) = s.splitOnCharacter(pos.column - 1)
- %pre<
- &~ prefix
- %span.errorCol><
- &~ ch
- &~ postfix
- - else
- %pre<
- &~ s.source
-
- - def displayException(e:Throwable)
- .header.block
- %h1
- = e.getMessage
- %p
- = e
- .details.block
- - for( stack <- e.getStackTrace )
- = renderStackTraceElement(stack)
- - if( e.getCause!=null )
- .nested
- - displayException(e.getCause)
-
- #scalate-error
- - exception match
- - case e:InvalidSyntaxException =>
- - displayError( e.template, e.pos, e.brief)
-
- - case e:CompilerException =>
- - for ( error <- e.errors )
- - displayError(error.file, error.pos, error.message)
- - val o = error.original
- - if (o != null)
- .section.block
- = editLink(o.file, o.pos.line, o.pos.column)
- from generated #{shorten(o.file)} near line #{o.pos.line} col #{o.pos.line}
-
- - case e:Throwable =>
- - displayException(e)
-
- - case u =>
- .header.block
- %h1
- = errorMessage
- %p
- = u
- - catch
- - case e:Throwable=>
- - e.printStackTrace
- -# Fallback to a simple rendering of the error message
- .header.block
- %h1
- = errorMessage
-
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/scalate/layouts/default.scaml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/scalate/layouts/default.scaml b/components/camel-web/src/main/webapp/WEB-INF/scalate/layouts/default.scaml
deleted file mode 100644
index 19606cf..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/scalate/layouts/default.scaml
+++ /dev/null
@@ -1,117 +0,0 @@
--#
--# Copyright (C) 2009-2010 the original author or authors.
--# See the notice.md file distributed with this work for additional
--# information regarding copyright ownership.
--#
--# 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.
--#
-
-!!! Basic
--@ var body: String
--@ var title : String = "Camel Web Console"
-- response.setContentType("text/html")
-
--# Only include the console if it's available and the engine is in dev mode.
-- val include_console = engine.isDevelopmentMode && engine.resourceLoader.exists("/org/fusesource/scalate/console/console_head.scaml")
-
-%html(lang="en")
- %head
- %meta(http-equiv="Content-Type" content="text/html; charset=utf-8")
- %meta(name="description" content="Apache Camel Console")
- %meta(name="keywords" content="camel,eip,web")
-
- - if (include_console)
- = include("/org/fusesource/scalate/console/console_head.scaml")
-
- %link(href={uri("/css/site.css")} rel="stylesheet" type="text/css")
- - if (include_console)
- %link(href={uri("/css/scalate/console.css")} rel="stylesheet" type="text/css")
- %link(href={uri("/css/sorttable.css")} rel="stylesheet" type="text/css")
- %link(href={uri("/css/type-settings.css")} rel="stylesheet" type="text/css")
-
-
- - if (attributes.get("noJavaScript").isEmpty)
- %script(src={uri("/js/common.js")} type="text/javascript")
- %script(src={uri("/js/css.js")} type="text/javascript")
- %script(src={uri("/js/standardista-table-sorting.js")} type="text/javascript")
-
- %title
- = title
-
- %body
- .white_box
- .header
- .header_l
- .header_r
- .content
- .content_l
- .content_r
- %div
- / Banner
- #asf_logo
- #activemq_logo
- %a{:href => "http://camel.apache.org/", :style => "float:left; width:280px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:10px; margin-left:100px;", :title => "a powerful open source integration framework based on known Enterprise Integration Patterns with powerful Bean Integration"} Camel
- %a{:href => "http://www.apache.org/", :style => "float:right; width:210px;display:block;text-indent:-5000px;text-decoration:none;line-height:60px; margin-top:15px; margin-right:10px;", :title => "The Apache Software Foundation"} ASF
- .top_red_bar
- #site-breadcrumbs
- - if (requestUri.startsWith("/index"))
- %span Home
- - else
- %a{:href => {uri("/index")}, :title => "Home"} Home
- |
- %a{:href => {uri("/endpoints")}, :title => "View current endpoints or create new ones"} Endpoints
- |
- %a{:href => {uri("/routes")}, :title => "View current routes"} Routes
- #site-quicklinks
- %P
- %a{:href => "http://camel.apache.org/support.html", :title => "Get help and support using Apache Camel"} Support
-
- %table{:border => "0"}
- %tbody
- %tr
- %td{:style => "overflow:hidden;", :valign => "top", :width => "100%"}
- .body-content
- !~~ body
- %td{:valign => "top"}
- .navigation
- .navigation_bottomon_top
- .navigation_bottom
- %H3 Useful Links
- %ul.alternate{:type => "square"}
- %li
- %a{:href => "http://camel.apache.org/documentation.html", :title => "a powerful open source integration framework based on known Enterprise Integration Patterns with powerful Bean Integration"} Documentation
- %li
- %a{:href => "http://camel.apache.org/web-console.html", :title => "more help on using the Web Console"} Console Help
- %li
- %a{:href => "http://camel.apache.org/faq.html"} FAQ
- %li
- %a{:href => {uri("/api")}, :title => "View the REST API details"} API
- %li
- %a{:href => "http://camel.apache.org/download.html"} Downloads
- %li
- %a{:href => "http://camel.apache.org/discussion-forums.html"} Forums
- .bottom_red_bar
- .black_box
- .footer
- .footer_l
- .footer_r
- %div
- Copyright 2005-2011 The Apache Software Foundation.
- (
- %a{:href => "?printable=true"}> printable version
- )
- - if (include_console)
- = include("/org/fusesource/scalate/console/console.scaml")
-
- .design_attribution
- %a{:href => "http://hiramchirino.com/"} Graphic Design By Hiram
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/snippets/camelContextLinks.ssp
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/snippets/camelContextLinks.ssp b/components/camel-web/src/main/webapp/WEB-INF/snippets/camelContextLinks.ssp
deleted file mode 100644
index cc30450..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/snippets/camelContextLinks.ssp
+++ /dev/null
@@ -1,45 +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.
---%>
-<ul>
- <li>
- <a href='${uri("/endpoints")}' title="View current endpoints or create new ones">Endpoints</a>
- </li>
- <li>
- <a href='${uri("/routes")}' title="View current routes">Routes</a>
- </li>
- <li>
- <a href='${uri("/api")}' title="Documentation on the REST API to Camel">API</a>
- </li>
-</ul>
-
-<p>The following diagnostic links might be useful too...
-</p>
-
-<ul>
- <li>
- <a href='${uri("/components")}' title="View the available components you can use with Camel">Components</a>
- </li>
- <li>
- <a href='${uri("/languages")}' title="View the available languages you can use with Camel">Languages</a>
- </li>
- <li>
- <a href='${uri("/converters")}' title="View the available type converters currently registered with Camel">Type Converters</a>
- </li>
- <li>
- <a href='${uri("/systemProperties")}' title="View the System Properties used to create this service">System Properties</a>
- </li>
-</ul>
\ No newline at end of file
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/WEB-INF/web.xml
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/WEB-INF/web.xml b/components/camel-web/src/main/webapp/WEB-INF/web.xml
deleted file mode 100644
index 6b8dc58..0000000
--- a/components/camel-web/src/main/webapp/WEB-INF/web.xml
+++ /dev/null
@@ -1,91 +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.
--->
-<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
- xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
- xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
- version="2.4">
-
- <description>
- Apache Camel Web Console
- </description>
-
- <display-name>Camel Console</display-name>
-
- <listener>
- <listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
- </listener>
-
- <filter>
- <filter-name>Jersey Filter</filter-name>
- <filter-class>com.sun.jersey.spi.spring.container.servlet.SpringServlet</filter-class>
- <init-param>
- <param-name>com.sun.jersey.config.property.resourceConfigClass</param-name>
- <param-value>org.apache.camel.web.util.CamelResourceConfig</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.feature.FilterForwardOn404</param-name>
- <param-value>true</param-value>
- </init-param>
- <!--
- TODO scrap this when we move to latest jersey: 1.4-ea05
- -->
- <init-param>
- <param-name>com.sun.jersey.config.property.WebPageContentRegex</param-name>
- <param-value>/(images|css|js)/.*</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.feature.ImplicitViewables</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.feature.Trace</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.feature.Redirect</param-name>
- <param-value>true</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.property.packages</param-name>
- <param-value>org.apache.camel.web:</param-value>
- </init-param>
- <init-param>
- <param-name>com.sun.jersey.config.property.WadlResourceUri</param-name>
- <param-value>/api</param-value>
- </init-param>
- </filter>
-
- <filter-mapping>
- <filter-name>Jersey Filter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
- <filter>
- <filter-name>TemplateEngineFilter</filter-name>
- <filter-class>org.fusesource.scalate.servlet.TemplateEngineFilter</filter-class>
- </filter>
- <filter-mapping>
- <filter-name>TemplateEngineFilter</filter-name>
- <url-pattern>/*</url-pattern>
- </filter-mapping>
-
- <error-page>
- <error-code>500</error-code>
- <location>/WEB-INF/scalate/error.scaml</location>
- </error-page>
-</web-app>
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/css/prettify/prettify.css
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/css/prettify/prettify.css b/components/camel-web/src/main/webapp/css/prettify/prettify.css
deleted file mode 100755
index 02a00d7..0000000
--- a/components/camel-web/src/main/webapp/css/prettify/prettify.css
+++ /dev/null
@@ -1,43 +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.
- */
-/* Pretty printing styles. Used with prettify.js. */
-
-.str { color: #080; }
-.kwd { color: #008; }
-.com { color: #800; }
-.typ { color: #606; }
-.lit { color: #066; }
-.pun { color: #660; }
-.pln { color: #000; }
-.tag { color: #008; }
-.atn { color: #606; }
-.atv { color: #080; }
-.dec { color: #606; }
-pre.prettyprint { padding: 2px; border: 1px solid #888; }
-
-@media print {
- .str { color: #060; }
- .kwd { color: #006; font-weight: bold; }
- .com { color: #600; font-style: italic; }
- .typ { color: #404; font-weight: bold; }
- .lit { color: #044; }
- .pun { color: #440; }
- .pln { color: #000; }
- .tag { color: #006; font-weight: bold; }
- .atn { color: #404; }
- .atv { color: #060; }
-}
http://git-wip-us.apache.org/repos/asf/camel/blob/9f5e32db/components/camel-web/src/main/webapp/css/scalate/console.css
----------------------------------------------------------------------
diff --git a/components/camel-web/src/main/webapp/css/scalate/console.css b/components/camel-web/src/main/webapp/css/scalate/console.css
deleted file mode 100644
index 4b2dfe7..0000000
--- a/components/camel-web/src/main/webapp/css/scalate/console.css
+++ /dev/null
@@ -1,71 +0,0 @@
-/**
- * Copyright (C) 2009-2010 the original author or authors.
- * See the notice.md file distributed with this work for additional
- * information regarding copyright ownership.
- *
- * 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.
- */
-
-#scalate-console {
- position:fixed;
- top:40px;
- right:10px;
- background: #FDFCAD;
- padding:10px;
- border: 1px solid #BDBD81;
- font-family:Arial,Verdana,Helvetica,sans-serif;
- font-size: 80%;
- max-width: 400px;
-}
-
-#scalate-console .archetypes ul, #scalate-console .templates ul, #scalate-console .resources ul, #scalate-console .layouts ul {
- padding-left:20px;
- overflow: auto;
-}
-
-#scalate-console .toggle {
- text-align: right;
-}
-
-#scalate-console .toggle img {
- vertical-align: middle;
-}
-
-#scalate-console div.attributes {
- margin: 10px;
- overflow: auto;
- background: white;
-}
-
-#scalate-console div.attributes table th {
- text-align: left;
- color: #993333;
-}
-#scalate-console div.attributes table td {
- padding:2px;
- border-top: 1px solid #BDBD81;
-}
-
-#scalate-console div.body {
- margin: 10px;
- overflow: auto;
- max-height: 300px;
- background: white;
-}
-
-#scalate-console div.systemProperties {
- margin: 10px;
- overflow: auto;
- max-height: 300px;
- background: white;
-}