mchades opened a new pull request, #12625: URL: https://github.com/apache/gravitino/pull/12625
### What changes were proposed in this pull request? This PR adds Semantic Model REST APIs for create and load, including request and response DTOs, DTO conversion, server routing, exception mapping, and focused tests. This draft is stacked on the unmerged Semantic Model Core create/load work for #12604 and Definition DTO PR #12624. The feature commit itself contains only create/load changes under common and server. ### Why are the changes needed? These APIs expose Semantic Model creation and retrieval through the Gravitino REST server while preserving structured definitions, null-versus-empty values, request validation, and Semantic Model-specific errors. Fix: #12607 ### Does this PR introduce _any_ user-facing change? Yes. It adds POST create and GET load REST operations for schema-scoped Semantic Models. List, alter, drop, OpenAPI, and client changes are outside this feature commit. ### How was this patch tested? The following local checks passed: - Semantic Model create/load DTO and REST focused tests - ./gradlew :common:check :server:check -PskipITs - ./gradlew :common:spotlessApply :server:spotlessApply - git diff --check -- 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]
