mchades commented on code in PR #12626:
URL: https://github.com/apache/gravitino/pull/12626#discussion_r4123013472


##########
server/src/main/java/org/apache/gravitino/server/web/rest/SemanticModelOperations.java:
##########
@@ -63,6 +72,44 @@ public SemanticModelOperations(SemanticModelDispatcher 
dispatcher) {
     this.dispatcher = dispatcher;
   }
 
+  /**
+   * Lists Semantic Models in a schema.
+   *
+   * @param metalake The metalake name.
+   * @param catalog The catalog name.
+   * @param schema The schema name.
+   * @return A response containing Semantic Model identifiers.
+   */
+  @GET
+  @Produces("application/vnd.gravitino.v1+json")
+  @Timed(name = "list-semantic-model." + MetricNames.HTTP_PROCESS_DURATION, 
absolute = true)
+  @ResponseMetered(name = "list-semantic-model", absolute = true)
+  public Response listSemanticModels(

Review Comment:
   Authorization is outside the scope of this PR and is tracked in #12594. The 
REST authorization work in #13512 will be extended to cover the list, alter, 
and drop endpoints added here.



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