Uploaded image for project: 'Tools (JBoss Tools)'
  1. Tools (JBoss Tools)
  2. JBIDE-27059

Server adapter: hot-deployment of SpringBoot app upon code changes for SpringBoot is broken

XMLWordPrintable

      Important: the demo project used for this fuse-on-openshift only works with Java 8 (wont with java 11).

      I am using this class for testing: all source is there:
      https://github.com/jbosstools/jbosstools-openshift/blob/master/itests/org.jboss.tools.openshift.ui.bot.test/src/org/jboss/tools/openshift/ui/bot/test/application/v3/adapter/SpringBootTest.java

      Everything works as expected, until I change the code, afterwards code is synching to pod, but the the log for pod is not changing accordingly to code changes.

      Project:
      https://github.com/jbosstools/jbosstools-openshift/blob/master/itests/org.jboss.tools.openshift.ui.bot.test/resources/fuse-on-openshift.zip

      mvn parameters:
      -Dkubernetes.master=https://api.openshift4-crs.crs.codereadyqe.com:6443/
      -Dkubernetes.namespace=fuse-on-openshift
      -Dkubernetes.auth.basic.username=xxx
      -Dkubernetes.auth.basic.password=xxx
      -Dfabric8.mode=openshift
      -Dkubernetes.trust.certificates=true
      -Dfabric8.build.strategy=s2i
      -Dkubernetes.auth.tryServiceAccount=false
      -Dfabric8.generator.from=fabric8/s2i-java
      -Dfabric8.generator.fromMode=docker
      -Dkubernetes.auth.tryKubeConfig=false

      Tested in:
      Red Hat CodeReady Studio
      Version: 12.14.0.AM1
      Build id: AM1-v20200123-0055-B5802
      Build date: 20200123-0055

              adietish@redhat.com André Dietisheim
              jkopriva@redhat.com Josef Kopriva
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated: