Skip to content

Commit

Permalink
Ref #26332: configure per app whether app should be stopped on logout
Browse files Browse the repository at this point in the history
  • Loading branch information
LEDfan committed Oct 28, 2021
1 parent 8c7f7d3 commit 888b92e
Showing 1 changed file with 10 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@ private static ProxySpec convert(ShinyProxySpec from) {
to.setDescription(from.getDescription());
to.setLogoURL(from.getLogoURL());
to.setMaxLifeTime(from.getMaxLifetime());
to.setStopOnLogout(from.getStopOnLogout());
if (from.getKubernetesPodPatches() != null) {
try {
to.setKubernetesPodPatches(from.getKubernetesPodPatches());
Expand Down Expand Up @@ -264,6 +265,7 @@ public static class ShinyProxySpec {
private Integer maxInstances;
private Boolean hideNavbarOnMainPageLink;
private Long maxLifetime;
private Boolean stopOnLogout;

private Map<String,String> labels;

Expand Down Expand Up @@ -506,6 +508,14 @@ public void setMaxLifetime(Long maxLifetime) {
this.maxLifetime = maxLifetime;
}

public Boolean getStopOnLogout() {
return stopOnLogout;
}

public void setStopOnLogout(Boolean stopOnLogout) {
this.stopOnLogout = stopOnLogout;
}

public void setTemplateGroup(String templateGroup) {
this.templateGroup = templateGroup;
}
Expand Down

0 comments on commit 888b92e

Please sign in to comment.