[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-25303:
-----------------------------------------
{quote}ah, so you are not talking about springboot eclipse tooling - just that the user in their pom.xml have added the right jar dependencies to their project ?{quote}
Effectively, it is a specific dependency which needs to be added to the SpringBoot project. This not related at all to the [Spring IDE|https://spring.io/tools/eclipse].
> 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
> 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)
6 years, 8 months
[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-25303:
---------------------------------------------
ah, so you are not talking about springboot eclipse tooling - just that the user in their pom.xml have added the right jar dependencies to their project ?
> 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
> 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)
6 years, 8 months
[JBoss JIRA] (JBIDE-25302) Provide a wtp facet for SpringBoot projects
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25302?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-25302:
-----------------------------------------
{quote}projects don't necessarily need to be a wtp project to be deployed to a server. you can take any folder and make deployable via the context menu {quote}
Worth giving a try to mark the target/classes folder as deployable then but this is not very convenient. Like I understand the facets, it is a way to define automatically which folders need to be deployed.
{quote}and I'm pretty sure you can configure what folder you want to have on the "other side".{quote}
Yes, you're right it is the case. It is done by using metadata on the OpenShift image.
> Provide a wtp facet for SpringBoot projects
> -------------------------------------------
>
> Key: JBIDE-25302
> URL: https://issues.jboss.org/browse/JBIDE-25302
> Project: Tools (JBoss Tools)
> Issue Type: Feature Request
> Components: server
> Reporter: Aurélien Pupier
> Assignee: Aurélien Pupier
> Fix For: 4.5.2.AM1
>
>
> providing a Facet for SpringBoot projects will help to manipulate them for hot-deployment on OpenShift.
> proposal to detect it:
> - project contains a dependency to org.springframework.boot:spring-boot
> started work in https://github.com/apupier/jbosstools-server/tree/JBIDE-25302-ProvideWTPS...
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months
[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Aurélien Pupier (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Aurélien Pupier commented on JBIDE-25303:
-----------------------------------------
{quote}what is it that makes the springboot devtool required ? (which is it specifically){quote}
SpringBoot requires to add dependencies to their project for [hot-swapping|https://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html#howto-hotswapping].
it can be [sprintboot-dev-tools|https://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html#howto-reload-fast-restart] or [springloaded|https://docs.spring.io/spring-boot/docs/current/reference/html/howto-hotswapping.html#howto-reload-springloaded-maven].
In the [initial use case|https://issues.jboss.org/browse/OSFUSE-548], the spring-boot-devtool has been chosen. I guess that it is because the Camel application needs to reloaded too, we are not dealing just with Java classes.
> 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
> 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)
6 years, 8 months
[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Max Rydahl Andersen (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Max Rydahl Andersen commented on JBIDE-25303:
---------------------------------------------
what is it that makes the springboot devtool required ? (which is it specifically)
> 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
> 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)
6 years, 8 months
[JBoss JIRA] (JBIDE-25055) Support the profile feature in CDK server adapter
by Ondrej Dockal (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25055?page=com.atlassian.jira.plugi... ]
Ondrej Dockal commented on JBIDE-25055:
---------------------------------------
Verified on devstudio 11.1.0.GA-v20171026-1022-B1486.
Verification steps:
Use case 1: CDK 3.2+ Server Adapter can be operated
1. EXEC: There is no old CDK configuration, have CDK with profiles feature downloaded, 'setup-cdk' called - happens out of IDE
2. EXEC: Create New CDK 3.2+ server with default values (profile = minishift)
3. EXEC: Start/Stop/Restart server adapter
4. ASSERT: Check that OS 3 connection was created (SSL Cert. was accepted), Docker connection was created, SA state is started (stopped)
Use case 2: CDK 3.2+ Server Adapter can operate another profile
1. EXEC: There is no old CDK configuration, have CDK with profiles feature downloaded, 'setup-cdk' called - happens out of IDE
2. EXEC: Create New CDK 3.2+ server with profile set to value different than "minishift"
3. EXEC: Start/Stop/Restart server adapter
4. ASSERT: Proper profile was started/stopped (check via --profile ProfileName on cli)
5. ASSERT: Check that OS 3 connection was created (SSL Cert. was accepted), Docker connection was created, SA state is started (stopped)
Use case 3: CDK 3.2+ Server adapter can operate two profile simultaneously
1. EXEC: There is no old CDK configuration, have CDK with profiles feature downloaded, 'setup-cdk' called - happens out of IDE
2. EXEC: Create New CDK 3.2+ server with default values (profile = minishift)
3. EXEC: Create New CDK 3.2+ server with profile set to value different than "minishift"
4. EXEC: Start default server adapter with default profile
5. ASSERT: Proper profile was started/stopped (check via --profile ProfileName on cli)
6. ASSERT: Check that OS 3 connection was created (SSL Cert. was accepted), Docker connection was created, SA state is started (stopped)
7. EXEC: Start server adapter with named profile set
8. ASSERT: Proper profile was started/stopped (check via --profile ProfileName on cli)
9. ASSERT: Check that OS 3 connection was created (SSL Cert. was accepted), Docker connection was created, SA state is started (stopped)
10. EXEC: Stop named profile
11. ASSERT: Proper profile was started/stopped (check via --profile ProfileName on cli), SA state is stopped
12. EXEC: Stop default profile
13. ASSERT: Proper profile was started/stopped (check via --profile ProfileName on cli), SA state is stopped
> Support the profile feature in CDK server adapter
> -------------------------------------------------
>
> Key: JBIDE-25055
> URL: https://issues.jboss.org/browse/JBIDE-25055
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: cdk
> Affects Versions: 4.5.0.Final
> Reporter: Jeff MAURY
> Assignee: Rob Stryker
> Labels: cdk, cdk_server_adapter_, server_adapter
> Fix For: 4.5.1.AM3
>
>
> Minishift 1.6 brought the notion of profile for running several instances of clusters. According to [~lalatendum] this will land in CDK 3.2 / Freesia
> So we may extend the CDK server adapter to support that feature.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
6 years, 8 months