[JBoss JIRA] (JBIDE-25303) Server adapter: support hot-deployment on OpenShift for SpringBoot app
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25303?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-25303:
-------------------------------------
Sprint: devex #142 December 2017 (was: devex #141 December 2017)
> 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: Andre Dietisheim
> Labels: openshift_v3, server_adapter
> Fix For: 4.5.2.AM3
>
> Attachments: fuse-on-openshift.zip, project-deployment-assembly.png, spring-boot-demo.zip
>
>
> 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)
> use case "Develop SpringBoot application deployed on OpenShift as any other applications in JBoss Tools":
> - there is a SpringBoot app deployed on OpenShift
> - the developer want to develop evolution of the SpringBoot app
> -- when he/she modifies the project, the application needs to be automatically updated on OpenShift instance
> -- Remote java debug should be available when the OpenShift server adapter is in debug mode.
> Steps:
> # EXEC: create a project in your OpenShift server (ex. camel-ose-springboot)
> # EXEC: Import project within fuse-on-openshift.zip into your workspace
> # EXEC: open launch configuration and change:
> ** -Dkubernetes.master= so that it first your cdk instance
> ** -Dkubernetes.namespace= to the name of the project that you create in step 1.
> # EXEC: run the launch config (that is included in the project), so that the project gets deployed to OpenShift (cdk)
> # ASSERT: your project in OpenShift now contains a service **camel-ose-springboot-xml**, the pod for it is running.
> # EXEC: in OpenShift Explorer: select this service and create a server adapter for it (*Server Adapter..* in the context menu for the service)
> # ASSERT: server adapter is created and is *[started]*
> # EXEC: in OpenShift Explorer: pick *Pod Log...* in the context menu for the pod of your service)
> # ASSERT: pod log is opened in "Console" view and shows an output with random numbers in the end
> {code}
> simple-route - >>> 455
> simple-route - >>> 695
> simple-route - >>> 935
> {code}
> # EXEC: In Project Explorer: open class MyTransformer and change the transform method
> # ASSERT: "Console" view is opened and shows how the server adapter is publishing the MyTransformer class to the pod
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (JBIDE-24804) UnsupportedOperationException below ResourceLabelsPageModel.dispose (thrown in Collections$UnmodifiableCollection.clear)
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24804?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-24804.
---------------------------------
Closing. No steps to verify.
AERI report is updated with auto action to reopen.
> UnsupportedOperationException below ResourceLabelsPageModel.dispose (thrown in Collections$UnmodifiableCollection.clear)
> ------------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24804
> URL: https://issues.jboss.org/browse/JBIDE-24804
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Reporter: Automated Error Reporting Bot
> Assignee: Rob Stryker
> Fix For: 4.5.2.AM2
>
>
> The following problem was reported via the automated error reporting:
> Message:
> java.lang.UnsupportedOperationException: null
> at java.util.Collections$UnmodifiableCollection.clear(Collections.java:1074)
> at org.jboss.tools.openshift.internal.ui.wizard.common.ResourceLabelsPageModel.dispose(ResourceLabelsPageModel.java:87)
> at org.jboss.tools.openshift.internal.ui.wizard.deployimage.DeployImageWizardModel.dispose(DeployImageWizardModel.java:102)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.fromimage.ApplicationSourceFromImageModel.dispose(ApplicationSourceFromImageModel.java:267)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizard.dispose(NewApplicationWizard.java:189)
> at org.eclipse.jface.wizard.WizardDialog.hardClose(WizardDialog.java:837)
> at org.eclipse.jface.wizard.WizardDialog.finishPressed(WizardDialog.java:798)
> at org.eclipse.jface.wizard.WizardDialog.buttonPressed(WizardDialog.java:423)
> at org.eclipse.jface.dialogs.Dialog$2.widgetSelected(Dialog.java:618)
> at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:249)
> at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
> Bundles:
> | org.eclipse.jface | 3.12.2.v20170113-2113 | 3.12.2.v20170113-2113 |
> | org.eclipse.swt | 3.105.3.v20170228-0512 | 3.105.3.v20170228-0512 |
> | org.jboss.tools.openshift.ui | 3.3.3.v20170510-2204 | 3.3.3.v20170510-2204 |
> Operating Systems:
> | MacOSX | 10.12.5 | 10.12.5 |
> The above information is a snapshot of the collected data. Visit https://aer.ctrlflow.com/redhat/reviewers/#!/problems/5986d628e4b007cf146... for the latest data.
> Thank you for your assistance.
> Your friendly error-reports-inbox.
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months
[JBoss JIRA] (JBIDE-25452) Server adapter editor: "Enable debugging" and key are not displayed correctly
by Josef Kopriva (JIRA)
[ https://issues.jboss.org/browse/JBIDE-25452?page=com.atlassian.jira.plugi... ]
Josef Kopriva closed JBIDE-25452.
---------------------------------
Works as expected. Closing.
Verified in:
Red Hat JBoss Developer Studio
Version: 11.2.0.AM2
Build id: AM2-v20171207-1702-B1735
Build date: 20171207-1702
> Server adapter editor: "Enable debugging" and key are not displayed correctly
> -----------------------------------------------------------------------------
>
> Key: JBIDE-25452
> URL: https://issues.jboss.org/browse/JBIDE-25452
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.5.1.AM2
> Reporter: Andre Dietisheim
> Assignee: Andre Dietisheim
> Labels: openshift_v3, server_adapter_editor
> Fix For: 4.5.2.AM2
>
> Attachments: environment-variables-enable-debugging.png, server-adapter-wizard-enable-debugging.png, server-editor-enable-debugging.png
>
>
> steps:
> # ASSERT: make sure that you have a service running in OpenShift (ex. via creating an app using the nodejs-mongo-persistent template)
> # ASSERT: make sure that you *DONT* have a server adapter for it
> # EXEC: launch server adapter wizard for your service and
> * uncheck "Enable Debugging" > "use image provided key"
> * provide a value for "Key"
> !server-adapter-wizard-enable-debugging.png!
> # ASSERT: server adapter is created
> # ASSERT: if you inspect the environment variables for the service you'll see that the key and value for it are set:
> !environment-variables-enable-debugging.png!
> # EXEC: open the server adapter editor and inspect "Enable Debugging" checkbox and "Key" for it
> Result:
> "Enable Debugging" checkbox is *CHECKED*, there's *NO VALUE* for "Key"
> !server-editor-enable-debugging!
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
8 years, 3 months