yuqi1129 commented on code in PR #6865:
URL: https://github.com/apache/gravitino/pull/6865#discussion_r2036786770


##########
lineage/src/main/java/org/apache/gravitino/lineage/source/HTTPLineageSource.java:
##########
@@ -31,6 +32,6 @@ public void initialize(Map<String, String> configs, 
LineageDispatcher dispatcher
 
   @Override
   public Set<String> getRESTPackages() {
-    return ImmutableSet.of();
+    return ImmutableSet.of(LineageOperations.class.getPackage().getName());

Review Comment:
   L112 and L123 sems to do the same things
   
   
https://github.com/apache/gravitino/blob/ecf6534c543be5704d5824c9cffb2b3e8dc09965/server/src/main/java/org/apache/gravitino/server/GravitinoServer.java#L109-L114
   
   I'm curious as to why we need to introduce another mechanism here. If 
`SupportsRESTPackages` is better solution, why don't you remove the old one and 
use it instead?
   
   



-- 
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-unsubscr...@gravitino.apache.org

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

Reply via email to