From fac7f9cfb0946c4530439f3b07dc8165d87efe45 Mon Sep 17 00:00:00 2001 From: Jonathan Cobb Date: Fri, 25 Sep 2020 09:02:17 -0400 Subject: [PATCH] add sageUri ctx param to messages --- .../src/main/java/bubble/cloud/auth/AuthenticationDriver.java | 2 ++ bubble-server/src/main/resources/messages | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/bubble-server/src/main/java/bubble/cloud/auth/AuthenticationDriver.java b/bubble-server/src/main/java/bubble/cloud/auth/AuthenticationDriver.java index a6b9f5db..46c1389f 100644 --- a/bubble-server/src/main/java/bubble/cloud/auth/AuthenticationDriver.java +++ b/bubble-server/src/main/java/bubble/cloud/auth/AuthenticationDriver.java @@ -42,6 +42,7 @@ import java.util.concurrent.ConcurrentHashMap; import static org.cobbzilla.util.daemon.ZillaRuntime.die; import static org.cobbzilla.util.daemon.ZillaRuntime.now; +import static org.cobbzilla.util.http.HttpSchemes.SCHEME_HTTPS; import static org.cobbzilla.util.io.FileUtil.basename; import static org.cobbzilla.util.io.StreamUtil.stream2string; @@ -121,6 +122,7 @@ public interface AuthenticationDriver extends CloudServiceDriver { ctx.put("node", node); ctx.put("network", network); ctx.put("publicUri", network.getPublicUri(c)); + ctx.put("sageUri", SCHEME_HTTPS+configuration.getSageNode().getFqdn()); return ctx; } diff --git a/bubble-server/src/main/resources/messages b/bubble-server/src/main/resources/messages index 3b532dc0..4b400a10 160000 --- a/bubble-server/src/main/resources/messages +++ b/bubble-server/src/main/resources/messages @@ -1 +1 @@ -Subproject commit 3b532dc0f4956aeff74d0b178f2cf4a43fea29ef +Subproject commit 4b400a10db695fe726efc0e45d889d2a20bc42de