From 7d1f955f94d3ffc8b6c3be489dc73f2dcabaf8df Mon Sep 17 00:00:00 2001 From: Nicola Ferraro Date: Fri, 3 Jun 2016 13:35:03 +0200 Subject: [PATCH] Revert "#956: Switch to java-s2i image, fixed console and s2i build" --- quickstart/spring-boot/camel/pom.xml | 28 ++++--------------- .../camel/quickstart-template.json | 6 ++-- 2 files changed, 8 insertions(+), 26 deletions(-) diff --git a/quickstart/spring-boot/camel/pom.xml b/quickstart/spring-boot/camel/pom.xml index f0f589e943..5b8306a799 100644 --- a/quickstart/spring-boot/camel/pom.xml +++ b/quickstart/spring-boot/camel/pom.xml @@ -43,7 +43,7 @@ 1.3.5.RELEASE - fabric8/s2i-java:1.2 + fabric8/java-jboss-openjdk8-jdk:1.0.13 fabric8/ ${fabric8.dockerUser}${project.artifactId}:${project.version} @@ -130,7 +130,7 @@ - + maven-compiler-plugin 3.3 @@ -186,23 +186,6 @@ - - io.fabric8 - hawt-app-maven-plugin - ${fabric8.version} - - - hawt-app - - build - - - io.fabric8.quickstarts.camel.MyCamelRoute - - - - - io.fabric8 docker-maven-plugin @@ -214,12 +197,11 @@ ${docker.from} - /deployments - hawt-app + /app + artifact - /deployments/lib - io.fabric8.quickstarts.camel.MyCamelRoute + ${project.build.finalName}.jar diff --git a/quickstart/spring-boot/camel/quickstart-template.json b/quickstart/spring-boot/camel/quickstart-template.json index 1a9b54122a..bf5c23d7fe 100644 --- a/quickstart/spring-boot/camel/quickstart-template.json +++ b/quickstart/spring-boot/camel/quickstart-template.json @@ -4,7 +4,7 @@ "labels": {}, "metadata": { "annotations": { - "description": "# Spring-Boot Camel QuickStart\n\nThis example demonstrates how you can use Apache Camel with Spring Boot\nbased on a [fabric8 Java s2i image](https://github.com/fabric8io-images/s2i#java-s2i-builder-image)\n\nThe quickstart uses Spring Boot to configure a little application that includes a Camel\nroute that triggeres a message every 5th second, and routes the message to a log.\n\n\n### Building\n\nThe example can be built with\n\n mvn clean install\n\n\n### Running the example locally\n\nThe example can be run locally using the following Maven goal:\n\n mvn spring-boot:run\n\n\n### Running the example in fabric8\n\nIt is assumed a running Kubernetes platform is already running. If not you can find details how to [get started](http://fabric8.io/guide/getStarted/index.html).\n\nThe example can be built and deployed using a single goal:\n\n mvn -Pf8-local-deploy\n\nWhen the example runs in fabric8, you can use the OpenShift client tool to inspect the status\n\nTo list all the running pods:\n\n oc get pods\n\nThen find the name of the pod that runs this quickstart, and output the logs from the running pods with:\n\n oc logs \n\nYou can also use the fabric8 [web console](http://fabric8.io/guide/console.html) to manage the\nrunning pods, and view logs and much more.\n\n\n### More details\n\nYou can find more details about running this [quickstart](http://fabric8.io/guide/quickstarts/running.html) on the website. This also includes instructions how to change the Docker image user and registry.\n\n", + "description": "# Spring-Boot Camel QuickStart\n\nThis example demonstrates how you can use Apache Camel with Spring Boot\nbased on a [fabric8 Java base image](https://github.com/fabric8io/base-images#java-base-images)\n\nThe quickstart uses Spring Boot to configure a little application that includes a Camel\nroute that triggeres a message every 5th second, and routes the message to a log.\n\n\n### Building\n\nThe example can be built with\n\n mvn clean install\n\n\n### Running the example locally\n\nThe example can be run locally using the following Maven goal:\n\n mvn spring-boot:run\n\n\n### Running the example in fabric8\n\nIt is assumed a running Kubernetes platform is already running. If not you can find details how to [get started](http://fabric8.io/guide/getStarted/index.html).\n\nThe example can be built and deployed using a single goal:\n\n mvn -Pf8-local-deploy\n\nWhen the example runs in fabric8, you can use the OpenShift client tool to inspect the status\n\nTo list all the running pods:\n\n oc get pods\n\nThen find the name of the pod that runs this quickstart, and output the logs from the running pods with:\n\n oc logs \n\nYou can also use the fabric8 [web console](http://fabric8.io/guide/console.html) to manage the\nrunning pods, and view logs and much more.\n\n\n### More details\n\nYou can find more details about running this [quickstart](http://fabric8.io/guide/quickstarts/running.html) on the website. This also includes instructions how to change the Docker image user and registry.\n\n", "iconClass": "icon-java" }, "labels": {}, @@ -33,7 +33,7 @@ }, { "name": "BUILDER_VERSION", - "value": "1.2.9", + "value": "1.2.5", "description": "Builder version" }, { @@ -78,7 +78,7 @@ } }, "spec": { - "dockerImageRepository": "fabric8/s2i-java" + "dockerImageRepository": "fabric8/s2i-java:${BUILDER_VERSION}" }, "status": { "dockerImageRepository": ""