This is an automated email from the ASF dual-hosted git repository. xxyu pushed a commit to branch kylin5 in repository https://gitbox.apache.org/repos/asf/kylin.git
commit 0152ac9e042eedbeca53a25c7fdcfb46604b1f58 Author: Liang.Hua <[email protected]> AuthorDate: Mon Jan 30 16:12:22 2023 +0800 KYLIN-5490 prometheus api add auth Co-authored-by: liang.hua <[email protected]> --- src/common-booter/src/main/resources/kylinSecurity.xml | 2 -- src/common-server/src/main/resources/kylinSecurity.xml | 2 -- src/common-service/src/test/resources/kylinSecurity.xml | 2 -- src/data-loading-booter/src/main/resources/kylinSecurity.xml | 2 -- src/kylin-it/src/test/resources/springframework/conf/kylinSecurity.xml | 2 -- src/query-booter/src/main/resources/kylinSecurity.xml | 2 -- src/streaming-service/src/test/resources/kylinSecurity.xml | 2 -- 7 files changed, 14 deletions(-) diff --git a/src/common-booter/src/main/resources/kylinSecurity.xml b/src/common-booter/src/main/resources/kylinSecurity.xml index 3588bf5a48..3c4f73793f 100644 --- a/src/common-booter/src/main/resources/kylinSecurity.xml +++ b/src/common-booter/src/main/resources/kylinSecurity.xml @@ -255,8 +255,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/common-server/src/main/resources/kylinSecurity.xml b/src/common-server/src/main/resources/kylinSecurity.xml index 85ecab6e94..5cfebc5151 100644 --- a/src/common-server/src/main/resources/kylinSecurity.xml +++ b/src/common-server/src/main/resources/kylinSecurity.xml @@ -255,8 +255,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/common-service/src/test/resources/kylinSecurity.xml b/src/common-service/src/test/resources/kylinSecurity.xml index c083eaecd1..afb689d91d 100644 --- a/src/common-service/src/test/resources/kylinSecurity.xml +++ b/src/common-service/src/test/resources/kylinSecurity.xml @@ -247,8 +247,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/data-loading-booter/src/main/resources/kylinSecurity.xml b/src/data-loading-booter/src/main/resources/kylinSecurity.xml index 8b32208b12..b543c87da7 100644 --- a/src/data-loading-booter/src/main/resources/kylinSecurity.xml +++ b/src/data-loading-booter/src/main/resources/kylinSecurity.xml @@ -255,8 +255,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/kylin-it/src/test/resources/springframework/conf/kylinSecurity.xml b/src/kylin-it/src/test/resources/springframework/conf/kylinSecurity.xml index f38550ed44..486df1334c 100644 --- a/src/kylin-it/src/test/resources/springframework/conf/kylinSecurity.xml +++ b/src/kylin-it/src/test/resources/springframework/conf/kylinSecurity.xml @@ -256,8 +256,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/query-booter/src/main/resources/kylinSecurity.xml b/src/query-booter/src/main/resources/kylinSecurity.xml index 3588bf5a48..3c4f73793f 100644 --- a/src/query-booter/src/main/resources/kylinSecurity.xml +++ b/src/query-booter/src/main/resources/kylinSecurity.xml @@ -255,8 +255,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/> diff --git a/src/streaming-service/src/test/resources/kylinSecurity.xml b/src/streaming-service/src/test/resources/kylinSecurity.xml index 3588bf5a48..3c4f73793f 100644 --- a/src/streaming-service/src/test/resources/kylinSecurity.xml +++ b/src/streaming-service/src/test/resources/kylinSecurity.xml @@ -255,8 +255,6 @@ <scr:intercept-url pattern="/api/health/**" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health" access="permitAll"/> <scr:intercept-url pattern="/api/kg/health/**" access="permitAll"/> - <scr:intercept-url pattern="/api/prometheus" access="permitAll"/> - <scr:intercept-url pattern="/api/monitor/spark/prometheus" access="permitAll"/> <scr:intercept-url pattern="/api/monitor/alert" access="hasRole('ROLE_ADMIN')"/> <scr:intercept-url pattern="/api/user/update_user" access="permitAll"/> <scr:intercept-url pattern="/api/metastore/cleanup" access="permitAll"/>
