You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@inlong.apache.org by GitBox <gi...@apache.org> on 2022/11/09 11:26:22 UTC

[GitHub] [inlong] haifxu commented on a diff in pull request #6489: [INLONG-6487][Manager] Add API to force delete the stream source

haifxu commented on code in PR #6489:
URL: https://github.com/apache/inlong/pull/6489#discussion_r1017812972


##########
inlong-manager/manager-web/src/main/java/org/apache/inlong/manager/web/controller/StreamSourceController.java:
##########
@@ -85,4 +87,15 @@ public Response<Boolean> delete(@PathVariable Integer id) {
         return Response.success(result);
     }
 
-}
\ No newline at end of file
+    @RequestMapping(value = "/source/delete/forceDelete", method = RequestMethod.DELETE)

Review Comment:
   Done.



##########
inlong-manager/manager-dao/src/main/java/org/apache/inlong/manager/dao/mapper/StreamSourceEntityMapper.java:
##########
@@ -105,6 +105,9 @@ List<StreamSourceEntity> selectByStatusAndIp(@Param("statusList") List<Integer>
 
     int updateByPrimaryKeySelective(StreamSourceEntity record);
 
+    int updateByGroupIdAndStreamId(@Param("groupId") String groupId, @Param("streamId") String streamId,

Review Comment:
   Done.



-- 
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: commits-unsubscribe@inlong.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org