Show live port rather than JMX in live hovers

This commit is contained in:
aboyko
2024-04-08 15:53:34 -04:00
parent 9cd237b97a
commit ea3853fc05
2 changed files with 2 additions and 3 deletions

View File

@@ -208,7 +208,6 @@ public class BootDashActivator extends AbstractUIPlugin {
if (pid != null) {
CommandInfo cmd = new CommandInfo("sts/livedata/localAdd", Map.of(
"host", "127.0.0.1",
"port", l.getAttribute(BootLaunchConfigurationDelegate.JMX_PORT),
"urlScheme", "http",
"jmxurl", "service:jmx:rmi:///jndi/rmi://127.0.0.1:%s/jmxrmi".formatted(l.getAttribute(BootLaunchConfigurationDelegate.JMX_PORT)),
"manualConnect", !BootLaunchConfigurationDelegate.getAutoConnect(owner),

View File

@@ -34,8 +34,8 @@ public class SpringProcessConnectorRemote {
private String jmxurl;
private String host;
private String urlScheme = "https";
private String port = "443";
private String urlScheme;
private String port;
private boolean manualConnect = false;
private boolean keepChecking = true;
//keepChecking defaults to true. Boot dash automatic remote apps should override this explicitly.