[JBoss JIRA] (JBIDE-24185) Server adapter: DEV_MODE and DEBUG are inconsistent btw. nodejs and eap
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-24185:
----------------------------------------
Summary: Server adapter: DEV_MODE and DEBUG are inconsistent btw. nodejs and eap
Key: JBIDE-24185
URL: https://issues.jboss.org/browse/JBIDE-24185
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.4.AM2
Reporter: Andre Dietisheim
* eap
** if you want to debug you have to set *DEBUG* env variable in the rc to *true*. The env variable key is defined in the docker image label *"com.redhat.dev-mode"*.
{code}
"com.redhat.dev-mode": "DEBUG:true",
{code}
** to use a custom debugging port you can set the *DEBUG_PORT* env var. The default port is 8787 as defined in the docker image label
{code}
"com.redhat.dev-mode.port": "DEBUG_PORT:8787"
{code}
** to debug a nodejs application you have to set *DEV_MODE* to *true* and also set *DEBUG_PORT* to some value, even though the docker image label defines the default port as being *5858*
{code}
"com.redhat.dev-mode": "DEV_MODE:false",
"com.redhat.dev-mode.port": "DEBUG_PORT:5858",
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-24184) Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys are hard-coded, not read from docker image
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24184?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24184:
-------------------------------------
Fix Version/s: 4.4.4.AM3
> Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys are hard-coded, not read from docker image
> ------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24184
> URL: https://issues.jboss.org/browse/JBIDE-24184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Andre Dietisheim
> Fix For: 4.4.4.AM3
>
>
> to turn on/off debugging and dev_mode for an app, one needs to set env variables. The keys that are used to set the values are all defined in the docker image labels (inspectable by doing {code}docker inspect <docker-image-id>{code}:
> * nodejs
> {code}
> "Labels": {
> ...
> "com.redhat.dev-mode": "DEV_MODE:false",
> "com.redhat.dev-mode.port": "DEBUG_PORT:5858",
> ...
> {code}
> * eap
> {code}
> "Labels": {
> ...
> "com.redhat.dev-mode": "DEBUG:true",
> "com.redhat.dev-mode.port": "DEBUG_PORT:8787",
> ...
> {code}
> Our code on the other hand is hard-coding these, not reading the keys from the docker image:
> {code}
> public class OpenShiftDebugUtils {
> private static final String DEBUG_KEY = "DEBUG";
> private static final String DEBUG_PORT_KEY = "DEBUG_PORT";
> ...
> {code}
> {code}
> public class OpenShiftLaunchController extends AbstractSubsystemController
> implements ISubsystemController, ILaunchServerController {
> ...
> private static final String DEV_MODE = "DEV_MODE"; //$NON-NLS-1$
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-24184) Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys (and default values) are hard-coded, not read from docker image
by Andre Dietisheim (JIRA)
[ https://issues.jboss.org/browse/JBIDE-24184?page=com.atlassian.jira.plugi... ]
Andre Dietisheim updated JBIDE-24184:
-------------------------------------
Summary: Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys (and default values) are hard-coded, not read from docker image (was: Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys are hard-coded, not read from docker image)
> Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys (and default values) are hard-coded, not read from docker image
> ---------------------------------------------------------------------------------------------------------------------
>
> Key: JBIDE-24184
> URL: https://issues.jboss.org/browse/JBIDE-24184
> Project: Tools (JBoss Tools)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 4.4.4.AM2
> Reporter: Andre Dietisheim
> Fix For: 4.4.4.AM3
>
>
> to turn on/off debugging and dev_mode for an app, one needs to set env variables. The keys that are used to set the values are all defined in the docker image labels (inspectable by doing {code}docker inspect <docker-image-id>{code}:
> * nodejs
> {code}
> "Labels": {
> ...
> "com.redhat.dev-mode": "DEV_MODE:false",
> "com.redhat.dev-mode.port": "DEBUG_PORT:5858",
> ...
> {code}
> * eap
> {code}
> "Labels": {
> ...
> "com.redhat.dev-mode": "DEBUG:true",
> "com.redhat.dev-mode.port": "DEBUG_PORT:8787",
> ...
> {code}
> Our code on the other hand is hard-coding these, not reading the keys from the docker image:
> {code}
> public class OpenShiftDebugUtils {
> private static final String DEBUG_KEY = "DEBUG";
> private static final String DEBUG_PORT_KEY = "DEBUG_PORT";
> ...
> {code}
> {code}
> public class OpenShiftLaunchController extends AbstractSubsystemController
> implements ISubsystemController, ILaunchServerController {
> ...
> private static final String DEV_MODE = "DEV_MODE"; //$NON-NLS-1$
> ...
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-24184) Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys are hard-coded, not read from docker image
by Andre Dietisheim (JIRA)
Andre Dietisheim created JBIDE-24184:
----------------------------------------
Summary: Server adapter: DEV_MODE, DEBUG_MODE, DEBUG_PORT keys are hard-coded, not read from docker image
Key: JBIDE-24184
URL: https://issues.jboss.org/browse/JBIDE-24184
Project: Tools (JBoss Tools)
Issue Type: Bug
Components: openshift
Affects Versions: 4.4.4.AM2
Reporter: Andre Dietisheim
to turn on/off debugging and dev_mode for an app, one needs to set env variables. The keys that are used to set the values are all defined in the docker image labels (inspectable by doing {code}docker inspect <docker-image-id>{code}:
* nodejs
{code}
"Labels": {
...
"com.redhat.dev-mode": "DEV_MODE:false",
"com.redhat.dev-mode.port": "DEBUG_PORT:5858",
...
{code}
* eap
{code}
"Labels": {
...
"com.redhat.dev-mode": "DEBUG:true",
"com.redhat.dev-mode.port": "DEBUG_PORT:8787",
...
{code}
Our code on the other hand is hard-coding these, not reading the keys from the docker image:
{code}
public class OpenShiftDebugUtils {
private static final String DEBUG_KEY = "DEBUG";
private static final String DEBUG_PORT_KEY = "DEBUG_PORT";
...
{code}
{code}
public class OpenShiftLaunchController extends AbstractSubsystemController
implements ISubsystemController, ILaunchServerController {
...
private static final String DEV_MODE = "DEV_MODE"; //$NON-NLS-1$
...
{code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBIDE-23769) New Application: Do not throw exception in error log when provided template is of wrong kind.
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBIDE-23769?page=com.atlassian.jira.plugi... ]
Jeff MAURY updated JBIDE-23769:
-------------------------------
Story Points: 8
> New Application: Do not throw exception in error log when provided template is of wrong kind.
> ---------------------------------------------------------------------------------------------
>
> Key: JBIDE-23769
> URL: https://issues.jboss.org/browse/JBIDE-23769
> Project: Tools (JBoss Tools)
> Issue Type: Enhancement
> Components: openshift
> Affects Versions: 4.4.3.AM1
> Reporter: Radim Hopp
> Assignee: Jeff MAURY
> Priority: Minor
> Fix For: 4.4.4.AM3
>
>
> When creating new application from local template one selects wrong file (not of kind "Template", but kind "Pod" for example) multiple (same) exceptions are thrown into error log:
> {noformat}
> !ENTRY org.eclipse.core.databinding 4 0 2017-01-19 13:56:20.472
> !MESSAGE Unhandled exception: Wrong resource kind: Pod
> !STACK 0
> org.jboss.tools.openshift.internal.ui.wizard.newapp.NotATemplateException: Wrong resource kind: Pod
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.getLocalAppSource(NewApplicationWizardModel.java:139)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.NewApplicationWizardModel.loadAppSource(NewApplicationWizardModel.java:293)
> at org.jboss.tools.openshift.internal.ui.wizard.newapp.ApplicationSourceListPage$17.run(ApplicationSourceListPage.java:824)
> at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
> {noformat}
> I think it's enough to inform the user in the wizard (this is already happening).
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBDS-4231) OpenShift Explorer sometimes don't show the objects in Properties view
by Jeff MAURY (JIRA)
[ https://issues.jboss.org/browse/JBDS-4231?page=com.atlassian.jira.plugin.... ]
Jeff MAURY updated JBDS-4231:
-----------------------------
Story Points: 10
> OpenShift Explorer sometimes don't show the objects in Properties view
> ----------------------------------------------------------------------
>
> Key: JBDS-4231
> URL: https://issues.jboss.org/browse/JBDS-4231
> Project: Red Hat JBoss Developer Studio (devstudio)
> Issue Type: Bug
> Components: openshift
> Affects Versions: 10.2.0.GA
> Environment: * JBoss Developer Studio 10.2.0.GA
> * CDK
> Reporter: Ricardo Martinelli Oliveira
> Assignee: Jeff MAURY
> Fix For: 10.4.0.AM3
>
>
> After right-click in a project in OpenShift Explorer view and select Properties, not always the list of Kubernetes/OpenShift objects are listed in the Properties view. The workaround I found is close all editors, the Properties view and after changing the focus on other views, go back to OpenShift Explorer and Refresh it I can finally list the objects.
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years
[JBoss JIRA] (JBTIS-1074) JBTIS update site in staging branch is broken
by Andrej Podhradsky (JIRA)
[ https://issues.jboss.org/browse/JBTIS-1074?page=com.atlassian.jira.plugin... ]
Andrej Podhradsky commented on JBTIS-1074:
------------------------------------------
Hi [~pleacu] I have applied the attached patch and the composite files now refer to 4.4.3.CR1-SNAPSHOT. Please check whether it is ok.
> JBTIS update site in staging branch is broken
> ---------------------------------------------
>
> Key: JBTIS-1074
> URL: https://issues.jboss.org/browse/JBTIS-1074
> Project: JBoss Tools Integration Stack
> Issue Type: Bug
> Components: distribution
> Reporter: Andrej Podhradsky
> Priority: Critical
> Attachments: fix_composite_files.patch
>
>
> The update site at
> http://download.jboss.org/jbosstools/neon/staging/updates/integration-stack/
> refers to 4.4.2.Final which doesn't exist
> {code:title=compositeArtifacts.xml}
> <?xml version='1.0' encoding='UTF-8'?>
> <?compositeArtifactRepository version='1.0.0'?>
> <repository name='JBoss Tools Integration Stack Update Site' type='org.eclipse.equinox.internal.p2.artifact.repository.CompositeArtifactRepository' version='1.0.0'>
> <properties size='2'>
> <property name='p2.compressed' value='true'/>
> <!--
> get new time w/
> date +%s000
> -->
> <property name='p2.timestamp' value='1489081405000'/>
> </properties>
> <children size='2'>
> <!-- IS ONLY -->
> <child location='4.4.2.Final/'/>
> <child location='../../../../targetplatforms/jbtistarget/4.4.2.Final/jbtis/REPO/'/>
> </children>
> </repository>
> {code}
--
This message was sent by Atlassian JIRA
(v7.2.3#72005)
9 years