From de58a2eb5d412f2db33716cfd49e0b2455b9eaec Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Wed, 13 Dec 2023 14:11:14 +0100 Subject: [PATCH] fix: proxymap parameter is not read when run as command --- CHANGELOG.md | 4 ++++ src/main/java/org/wikidata/query/rdf/tool/WbStackUpdate.java | 1 + 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index a50cf07..a0d88f7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # queryservice-updater +## 0.3.84_3.13 - December 2023 + +- Proxy Map parameter needs to be initialized when running as command + ## 0.3.84_3.12 - December 2023 - T352656: Support running updater as one off command with command line args diff --git a/src/main/java/org/wikidata/query/rdf/tool/WbStackUpdate.java b/src/main/java/org/wikidata/query/rdf/tool/WbStackUpdate.java index 994321d..bf3b2ae 100644 --- a/src/main/java/org/wikidata/query/rdf/tool/WbStackUpdate.java +++ b/src/main/java/org/wikidata/query/rdf/tool/WbStackUpdate.java @@ -118,6 +118,7 @@ private static void setServiceValuesFromEnvOrDie() { public static void setCommandValuesFromEnvOrDie() { wbStackUpdaterThreadCount = Integer.parseInt(System.getenv().getOrDefault("WBSTACK_THREAD_COUNT", "10")); + wbStackProxyMapIngress = System.getenv("WBSTACK_PROXYMAP_INGRESS"); } private static void setSingleUseServicesAndObjects() {