This is an automated email from the ASF dual-hosted git repository. vernedeng pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/inlong.git
The following commit(s) were added to refs/heads/master by this push: new 314b594fe4 [INLONG-8619][Manager] Remove the inlong role check of internal interfaces (#8620) 314b594fe4 is described below commit 314b594fe446292c5f4efa8aa24d66d88d065525 Author: vernedeng <verned...@apache.org> AuthorDate: Wed Aug 2 12:14:31 2023 +0800 [INLONG-8619][Manager] Remove the inlong role check of internal interfaces (#8620) --- .../manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml | 4 ---- .../src/main/resources/mappers/InlongGroupEntityMapper.xml | 4 ---- 2 files changed, 8 deletions(-) diff --git a/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml b/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml index 954744839c..f47b766d51 100644 --- a/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml +++ b/inlong-manager/manager-dao/src/main/resources/mappers/DataNodeEntityMapper.xml @@ -119,14 +119,10 @@ order by modify_time desc </select> <select id="selectAllDataNodes" resultType="org.apache.inlong.manager.dao.entity.DataNodeEntity"> - <bind name="_isInlongService" value="LoginUser.InlongService"/> select <include refid="Base_Column_List"/> from data_node <where> - <if test="_isInlongService == false"> - tenant = #{tenant,jdbcType=VARCHAR} - </if> and is_deleted = 0 </where> </select> diff --git a/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml b/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml index 923b5f1b53..0d41a28f44 100644 --- a/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml +++ b/inlong-manager/manager-dao/src/main/resources/mappers/InlongGroupEntityMapper.xml @@ -376,7 +376,6 @@ limit 10 </select> <select id="selectAllGroups" resultType="org.apache.inlong.manager.pojo.sort.standalone.SortSourceGroupInfo"> - <bind name="_isInlongService" value="LoginUser.InlongService"/> select inlong_group_id as groupId, inlong_cluster_tag as clusterTag, mq_resource as mqResource, @@ -384,9 +383,6 @@ mq_type as mqType from inlong_group <where> - <if test="_isInlongService == false"> - tenant = #{tenant,jdbcType=VARCHAR} - </if> and is_deleted = 0 </where> </select>