[jbosstools-issues] [JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app

Aurélien Pupier (JIRA) issues at jboss.org
Tue Nov 7 12:15:00 EST 2017


    [ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13487029#comment-13487029 ] 

Aurélien Pupier commented on JBIDE-25303:
-----------------------------------------

A better solution than usage of a SpringBoot facet seems to provide an "OpenSbhift profile" such as NodeJS and EAP are doing.
For an example, see:
https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.js/src/org/jboss/tools/openshift/js/server/OpenShiftNodejsApplicationProfileDetector.java
--> maybe a label onthe mage can be used? or detected springboot dep in pom?
https://github.com/jbosstools/jbosstools-openshift/blob/master/plugins/org.jboss.tools.openshift.js/src/org/jboss/tools/openshift/js/server/behaviour/OpenShiftNodejsPublishController.java
--> will need to override the "treatAsBinary" introduced by: https://github.com/jbosstools/jbosstools-server/pull/548 to have exploded jars
--> might need some tweak to enable hot deploy on OpenShift image even when not in "debug" mode for OpenShift Server adapter






> Server adapter: support hot-deployment on OpenShift for SpringBoot app
> ----------------------------------------------------------------------
>
>                 Key: JBIDE-25303
>                 URL: https://issues.jboss.org/browse/JBIDE-25303
>             Project: Tools (JBoss Tools)
>          Issue Type: Feature Request
>          Components: openshift
>    Affects Versions: 4.5.1.Final
>            Reporter: Aurélien Pupier
>            Assignee: Jeff MAURY
>              Labels: openshift_v3, server_adapter
>             Fix For: 4.5.2.AM1
>
>
> currently, Springboot jar projects (such as Fuse Integration Services) are rsynced with a zipped jar file.
> The requirements are:
> - rsync unpacked jar
> - rsync without the jar name as folder
> - it will will work only if springboot devtool are included (so maybe need some dialog guiding user to do i in case it is not activated)



--
This message was sent by Atlassian JIRA
(v7.5.0#75005)



More information about the jbosstools-issues mailing list