roryqi opened a new pull request, #12180:
URL: https://github.com/apache/gravitino/pull/12180

   ### What changes were proposed in this pull request?
   
   - Add persistent policy-tag relation metadata for JDBC backends, including 
fresh and upgrade schemas.
   - Add core service, relation cache/backend routing, manager/dispatcher APIs, 
and cleanup on policy/tag/metalake deletion.
   - Add REST APIs to list tags for a policy and list/associate policies for a 
tag, with targeted tests.
   
   ### Why are the changes needed?
   
   PR #12177 defines the Policy -> Tag -> Metadata Object model. This 
implements the direct Policy <-> Tag association layer needed by that model.
   
   Fix: #12179
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. It adds REST API support for:
   - `GET /metalakes/{metalake}/policies/{policy}/tags`
   - `GET /metalakes/{metalake}/tags/{tag}/policies`
   - `POST /metalakes/{metalake}/tags/{tag}/policies`
   
   ### How was this patch tested?
   
   - `./gradlew :core:spotlessApply :server:spotlessApply`
   - `./gradlew :core:test --tests 
org.apache.gravitino.storage.relational.service.TestPolicyMetaService -PskipITs`
   - `./gradlew :server:test --tests 
org.apache.gravitino.server.web.rest.TestTagOperations --tests 
org.apache.gravitino.server.web.rest.TestPolicyOperations -PskipITs`
   - `git diff --check apache/main...HEAD`


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