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/09/29 07:51:40 UTC

[2/2] camel git commit: Remove no longer needed example

Remove no longer needed example


Project: http://git-wip-us.apache.org/repos/asf/camel/repo
Commit: http://git-wip-us.apache.org/repos/asf/camel/commit/26eceeec
Tree: http://git-wip-us.apache.org/repos/asf/camel/tree/26eceeec
Diff: http://git-wip-us.apache.org/repos/asf/camel/diff/26eceeec

Branch: refs/heads/master
Commit: 26eceeec104cbb015bfddd16ea59896a6160ea3b
Parents: 514bbcc
Author: Claus Ibsen <da...@apache.org>
Authored: Tue Sep 29 07:45:29 2015 +0200
Committer: Claus Ibsen <da...@apache.org>
Committed: Tue Sep 29 07:45:29 2015 +0200

----------------------------------------------------------------------
 .../camel-example-swagger-java/src/main/webapp/home.html     | 8 ++++----
 parent/pom.xml                                               | 5 -----
 2 files changed, 4 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/camel/blob/26eceeec/examples/camel-example-swagger-java/src/main/webapp/home.html
----------------------------------------------------------------------
diff --git a/examples/camel-example-swagger-java/src/main/webapp/home.html b/examples/camel-example-swagger-java/src/main/webapp/home.html
index 71e50c8..dbd3700 100644
--- a/examples/camel-example-swagger-java/src/main/webapp/home.html
+++ b/examples/camel-example-swagger-java/src/main/webapp/home.html
@@ -61,9 +61,9 @@
 
         From the command shell you can use curl to access the service as shown below:
 <pre>
-    curl -X GET -H "Accept: application/json" http://localhost:8080/camel-example-servlet-rest-tomcat/rest/user/123
-    curl -X GET -H "Accept: application/json" http://localhost:8080/camel-example-servlet-rest-tomcat/rest/user/findAll
-    curl -X PUT -d "{ \"id\": 666, \"name\": \"The devil\"}" -H "Accept: application/json" http://localhost:8080/camel-example-servlet-rest-tomcat/rest/user
+    curl -X GET -H "Accept: application/json" http://localhost:8080/camel-example-swagger-java/rest/user/123
+    curl -X GET -H "Accept: application/json" http://localhost:8080/camel-example-swagger-java/rest/user/findAll
+    curl -X PUT -d "{ \"id\": 666, \"name\": \"The devil\"}" -H "Accept: application/json" http://localhost:8080/camel-example-swagger-java/rest/user
 </pre>
 
         Notice when trying to get user with id 789 then there is a built-in delay of 0.5-2 seconds, to simulate some
@@ -78,7 +78,7 @@
         </ul>
 
         <p/>
-        To use the swagger ui, follow this link. Replace the URL value with this one to access the REST local resources http://localhost:8080/camel-example-servlet-rest-tomcat/api-docs/myCamel
+        To use the swagger ui, follow this link. Replace the URL value with this one to access the REST local resources http://localhost:8080/camel-example-swagger-java/api-docs/myCamel
         <ul>
             <li><a href="index.html">swagger</a> - swagger ui page</li>
         </ul>

http://git-wip-us.apache.org/repos/asf/camel/blob/26eceeec/parent/pom.xml
----------------------------------------------------------------------
diff --git a/parent/pom.xml b/parent/pom.xml
index f07cdcf..4e9a6d5 100644
--- a/parent/pom.xml
+++ b/parent/pom.xml
@@ -1796,11 +1796,6 @@
       </dependency>
       <dependency>
         <groupId>org.apache.camel</groupId>
-        <artifactId>camel-example-servlet-rest-tomcat</artifactId>
-        <version>${project.version}</version>
-      </dependency>
-      <dependency>
-        <groupId>org.apache.camel</groupId>
         <artifactId>camel-example-servlet-tomcat</artifactId>
         <version>${project.version}</version>
       </dependency>