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

   ### What changes were proposed in this pull request?
   
   Support tag assignment values across the common, core, and server layers:
   
   - Add REST DTO support for tag value constraints and assignment values.
   - Implement valued association, exact-value lookup, hooks, and listener 
events.
   - Expose assignment values through REST endpoints and authorization handling.
   - Preserve direct tag assignments when inherited assignments use different 
values.
   - Reject ambiguous mixed valued and valueless additions for the same tag.
   
   ### Why are the changes needed?
   
   The tag assignment value API and relational storage support have been 
merged. This PR connects those layers to the server and supersedes the 
remaining server portion of #12143.
   
   Fix: #12379
   
   ### Does this PR introduce _any_ user-facing change?
   
   Yes. Existing tag REST endpoints support value constraints and per-object 
assignment values.
   
   ### How was this patch tested?
   
   - `./gradlew spotlessApply`
   - `./gradlew :common:test --tests 
org.apache.gravitino.dto.requests.TestTagCreateRequest --tests 
org.apache.gravitino.dto.requests.TestTagsAssociateRequest --tests 
org.apache.gravitino.dto.tag.TestTagDTO -PskipITs -PskipDockerTests=false`
   - `./gradlew :core:test --tests org.apache.gravitino.tag.TestTagManager 
--tests org.apache.gravitino.hook.TestTagHookDispatcher --tests 
org.apache.gravitino.listener.api.event.TestTagEvent -PskipITs 
-PskipDockerTests=false`
   - `./gradlew :server:test --tests 
org.apache.gravitino.server.web.rest.TestMetadataObjectTagOperations --tests 
org.apache.gravitino.server.web.rest.TestTagOperations -PskipITs 
-PskipDockerTests=false`


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