healchow commented on code in PR #5226:
URL: https://github.com/apache/inlong/pull/5226#discussion_r930567340
##########
inlong-manager/manager-client/src/main/java/org/apache/inlong/manager/client/api/inner/client/InlongGroupClient.java:
##########
@@ -216,4 +218,36 @@ public boolean deleteInlongGroup(String groupId, boolean
async) {
return response.getData();
}
}
+
+ public InlongGroupCountResponse countGroupByUser() {
+ Response<Object> response =
ClientUtils.executeHttpCall(inlongGroupApi.countGroupByUser());
+ if (response.isSuccess()) {
+ JSONObject groupInfoJson = JsonUtils.parseObject(
Review Comment:
Why use `toJsonString` many times?
--
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]