Server-side support for 'keepChecking' attribute...

in remote spring boot apps.

Note: this change is supposed to be paired with changes in
boot dash code to transmit the setting as well.
This commit is contained in:
Kris De Volder
2019-04-16 12:56:46 -07:00
parent 803ec42fd7
commit 1dcde6ea3d
2 changed files with 13 additions and 2 deletions

View File

@@ -35,7 +35,10 @@ public class RemoteRunningAppsProvider implements RunningAppProvider {
private String host;
private String urlScheme = "https";
private String port = "443";
private boolean keepChecking = false;
private boolean keepChecking = true;
//keepChecking defaults to true. Boot dash automatic remote apps should override this explicitly.
//Reason. All other 'sources' of remote apps are 'manual' and we want them to default to
//'keepChecking' even if the user doesn't set this to true manually.
public String getJmxurl() {
return jmxurl;