Skip to content

Commit

Permalink
[INLONG-8619][Manager] Remove the inlong role check of internal inter…
Browse files Browse the repository at this point in the history
…faces (#8620)
  • Loading branch information
vernedeng authored Aug 2, 2023
1 parent 1485b14 commit 314b594
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -376,17 +376,13 @@
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,
ext_params as extParams,
mq_type as mqType
from inlong_group
<where>
<if test="_isInlongService == false">
tenant = #{tenant,jdbcType=VARCHAR}
</if>
and is_deleted = 0
</where>
</select>
Expand Down

0 comments on commit 314b594

Please sign in to comment.