From f302f456b7200ce854d7497ae2872734bc28860a Mon Sep 17 00:00:00 2001 From: Marko Urh Date: Sat, 11 May 2024 09:44:07 +0200 Subject: [PATCH] fix: remove circular dep in admin svc, adjusts default superuser env flag name and default (#572) * fix: adjust env var name, default in application.properties vs code and redefine log * fix: remove circular ref --- .../apache/pulsar/manager/PulsarApplicationListener.java | 8 ++++---- .../manager/service/impl/PulsarAdminServiceImpl.java | 3 --- src/main/resources/application.properties | 2 +- 3 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/main/java/org/apache/pulsar/manager/PulsarApplicationListener.java b/src/main/java/org/apache/pulsar/manager/PulsarApplicationListener.java index 912061e3..de0fac9f 100644 --- a/src/main/java/org/apache/pulsar/manager/PulsarApplicationListener.java +++ b/src/main/java/org/apache/pulsar/manager/PulsarApplicationListener.java @@ -60,8 +60,8 @@ public class PulsarApplicationListener implements ApplicationListener value.close()); diff --git a/src/main/resources/application.properties b/src/main/resources/application.properties index 1ae3a966..d2c90488 100644 --- a/src/main/resources/application.properties +++ b/src/main/resources/application.properties @@ -134,7 +134,7 @@ default.environment.service_url= default.environment.bookie_url= # default superuser configuration -default.superuser.enable= +default.superuser.enabled=false default.superuser.name= default.superuser.password= default.superuser.email=