[jbosstools-issues] [JBoss JIRA] (JBIDE-27059) Server adapter: hot-deployment of SpringBoot app upon code changes for SpringBoot is broken

André Dietisheim (Jira) issues at jboss.org
Tue Feb 18 14:25:00 EST 2020


     [ https://issues.redhat.com/browse/JBIDE-27059?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

André Dietisheim updated JBIDE-27059:
-------------------------------------
    Description: 
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

steps on command line:
Steps:
# EXEC: in Eclipse: created a project *fuse-on-openshift* on my local cdk 3.10
# EXEC: downloaded [fuse-on-openshift.zip|https://github.com/jbosstools/jbosstools-openshift/blob/master/itests/org.jboss.tools.openshift.ui.bot.test/resources/fuse-on-openshift.zip] && unzipped it
# EXEC: in the new folder, I rand the following command line (using local cdk 3.10):
{code}
mvn clean install fabric8:deploy -Dkubernetes.master=https://192.168.64.171:8443/ -Dkubernetes.namespace=fuse-on-openshift -Dkubernetes.auth.basic.username=developer -Dkubernetes.auth.basic.password=XXXX -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
{code}


  was:
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



> Server adapter: hot-deployment of SpringBoot app upon code changes for SpringBoot is broken
> -------------------------------------------------------------------------------------------
>
>                 Key: JBIDE-27059
>                 URL: https://issues.redhat.com/browse/JBIDE-27059
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.14.0.AM1
>            Reporter: Josef Kopriva
>            Assignee: André Dietisheim
>            Priority: Major
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.14.0.Final
>
>
> 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
> steps on command line:
> Steps:
> # EXEC: in Eclipse: created a project *fuse-on-openshift* on my local cdk 3.10
> # EXEC: downloaded [fuse-on-openshift.zip|https://github.com/jbosstools/jbosstools-openshift/blob/master/itests/org.jboss.tools.openshift.ui.bot.test/resources/fuse-on-openshift.zip] && unzipped it
> # EXEC: in the new folder, I rand the following command line (using local cdk 3.10):
> {code}
> mvn clean install fabric8:deploy -Dkubernetes.master=https://192.168.64.171:8443/ -Dkubernetes.namespace=fuse-on-openshift -Dkubernetes.auth.basic.username=developer -Dkubernetes.auth.basic.password=XXXX -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
> {code}



--
This message was sent by Atlassian Jira
(v7.13.8#713008)



More information about the jbosstools-issues mailing list