From 671016c09bb42f0bd5d8a29a647532a01dc27d77 Mon Sep 17 00:00:00 2001 From: yewei <17855368071@163.com> Date: Sun, 9 Oct 2022 17:41:53 +0800 Subject: [PATCH] fix sql && update hippo4j.core.auth.enabled=true in server properties && optimize code in AdapterThreadPoolConfigModificationVerifyServiceImpl and WebThreadPoolConfigModificationVerifyServiceImpl --- .../src/main/resources/application.properties | 4 ++-- hippo4j-server/conf/application.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.properties b/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.properties index 5ec113ab..481e87f8 100644 --- a/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.properties +++ b/hippo4j-example/hippo4j-spring-boot-starter-example/src/main/resources/application.properties @@ -15,8 +15,8 @@ spring.dynamic.thread-pool.server-addr=http://localhost:6691 # spring.dynamic.thread-pool.netty-server-port=8899 spring.dynamic.thread-pool.namespace=prescription spring.dynamic.thread-pool.item-id=dynamic-threadpool-example -#spring.dynamic.thread-pool.username=admin -#spring.dynamic.thread-pool.password=123456 +spring.dynamic.thread-pool.username=admin +spring.dynamic.thread-pool.password=123456 # Enable server and micrometer monitoring at the same time spring.dynamic.thread-pool.collect-type=server,micrometer diff --git a/hippo4j-server/conf/application.properties b/hippo4j-server/conf/application.properties index 602cd38d..d9557188 100644 --- a/hippo4j-server/conf/application.properties +++ b/hippo4j-server/conf/application.properties @@ -21,7 +21,7 @@ hippo4j.core.clean-history-data-period=30 hippo4j.core.clean-history-data-enable=true ### Whether to enable authentication. -hippo4j.core.auth.enabled=false +hippo4j.core.auth.enabled=true ### Use netty to report thread pool monitoring data. The default is http. # hippo4j.core.monitor.report-type=netty