-
Bug
-
Resolution: Done
-
Major
-
4.4.4.AM2
-
devex #136 August 2017
-
24
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
docker inspect <docker-image-id>
:
- nodejs
"Labels": { ... "com.redhat.dev-mode": "DEV_MODE:false", "com.redhat.dev-mode.port": "DEBUG_PORT:5858", ...
- eap
"Labels": { ... "com.redhat.dev-mode": "DEBUG:true", "com.redhat.dev-mode.port": "DEBUG_PORT:8787", ...
Our code on the other hand is hard-coding these, not reading the keys from the docker image:
public class OpenShiftDebugUtils { private static final String DEBUG_KEY = "DEBUG"; private static final String DEBUG_PORT_KEY = "DEBUG_PORT"; ...
public class OpenShiftLaunchController extends AbstractSubsystemController implements ISubsystemController, ILaunchServerController { ... private static final String DEV_MODE = "DEV_MODE"; //$NON-NLS-1$ ...
- blocks
-
JBIDE-24781 New Application Wizard: Propose to create OpenShift server adapters automatically
- Closed
-
JBIDE-24787 Wildfly (and other) Server adapter(s): provide defaults in code if docker image has no metadata, nor user settings are provided
- Open
- incorporates
-
JBIDE-24024 Server adapter editor, wizard: better tell me what the settings are for
- Closed
- is related to
-
JBIDE-24183 OpenShiftDebugUtilsTest: #testGetDebuggingContext is failing
- Closed
-
JBIDE-24560 Server adapter very slow to restart in debug
- Closed
-
JBIDE-24876 Server adapter: server adapter for nodejs initially fails, fails to find pods
- Closed
-
JBIDE-24981 Server adapter: fails to start if app has no dc but only a rc
- Open
-
JBIDE-23900 Refactor OpenShift server adapter to isolate EAP/Wildfly and NodeJS specific stuff
- Closed
-
JBIDE-24869 Server adapter: add tests for debugging, docker image metadata retrieval etc.
- Closed
- relates to
-
ENTESB-8925 FIS images should support S2I source + oc rsync from the IDE deployment workflows
- Closed
-
JBIDE-23961 Server adapter: "Start/Restart in Debug" is broken for Nodejs
- Closed
-
JBIDE-24185 Server adapter: approach to set nodejs/eap apps to debugging is inconsistent
- Open