aloyszhang commented on code in PR #10098:
URL: https://github.com/apache/inlong/pull/10098#discussion_r1598266703


##########
inlong-manager/manager-service/src/main/java/org/apache/inlong/manager/service/cluster/node/AgentClusterNodeInstallOperator.java:
##########
@@ -49,9 +82,39 @@ public String getClusterNodeType() {
 
     @Override
     public boolean install(ClusterNodeRequest clusterNodeRequest, String 
operator) {
-        // todo Provide agent installation capability
-        AgentClusterNodeRequest agentNodeRequest = (AgentClusterNodeRequest) 
clusterNodeRequest;
-        InlongClusterEntity clusterEntity = 
clusterEntityMapper.selectById(clusterNodeRequest.getParentId());
+        LOGGER.info("begin to insert agent inlong cluster node={}", 
clusterNodeRequest);
+        try {
+            InlongClusterEntity clusterEntity = 
clusterEntityMapper.selectById(clusterNodeRequest.getParentId());
+            AgentClusterDTO agentClusterDTO = 
AgentClusterDTO.getFromJson(clusterEntity.getExtParams());

Review Comment:
   not used



-- 
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]

Reply via email to