healchow commented on code in PR #8207:
URL: https://github.com/apache/inlong/pull/8207#discussion_r1224113285
##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/stream/InlongStreamServiceImpl.java:
##########
@@ -277,6 +277,32 @@ public InlongStreamInfo get(String groupId, String
streamId, UserInfo opInfo) {
return streamInfo;
}
+ @Override
+ public InlongStreamBriefInfo getBrief(String groupId, String streamId,
String operator) {
+ InlongGroupEntity entity = groupMapper.selectByGroupId(groupId);
+ if (entity == null) {
+ throw new BusinessException(ErrorCodeEnum.GROUP_NOT_FOUND);
+ }
+ // only the person in charges can query
Review Comment:
Add one blank line, to improve the code readability.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]