-
Notifications
You must be signed in to change notification settings - Fork 416
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[#5901] feat(core): support tag event to Gravitino server #5998
Conversation
core/src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java
Outdated
Show resolved
Hide resolved
It would be better to turn this PR into a draft before updating the unit tests. |
aba70be
to
42e0f47
Compare
will review the PR until #5944 is merged for some duplicated logic, please wait for a while. |
@TungYuChiang could you rebase your code since #5944 is merged |
cc @cool9850311 |
sure, I will complete it within the next few days. |
a680fe6
to
43c2d20
Compare
core/src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/gravitino/listener/TagEventDispatcher.java
Show resolved
Hide resolved
Event represents an specific operation to specific resource, the current implement pass |
please update the document too |
@TungYuChiang any progress? If this PR is merged these days, we could meet the 0.8 release. |
@FANNG1 , I’m sorry for the delay. I’ve been a bit busy these past few days, but I’ll finish it by tomorrow evening. |
no hurry, please take your time |
43c2d20
to
22722e2
Compare
@FANNG1, I have fixed everything except renaming |
9740fcb
to
64a293c
Compare
|
core/src/main/java/org/apache/gravitino/listener/api/event/GetTagEvent.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/gravitino/listener/api/event/ListTagsEvent.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/gravitino/listener/api/event/ListTagsForMetadataObjectEvent.java
Outdated
Show resolved
Hide resolved
core/src/main/java/org/apache/gravitino/listener/api/event/ListTagsInfoEvent.java
Outdated
Show resolved
Hide resolved
...rc/main/java/org/apache/gravitino/listener/api/event/ListTagsInfoForMetadataObjectEvent.java
Show resolved
Hide resolved
cbe4986
to
692bda1
Compare
@FANNG1 , Thank you for your review! |
LGTM, except two minor comments |
- Modified `TagEventDispatcher` to pass `TagInfo` in relevant events. - Updated `ListTagsEvent`, `GetTagEvent`, and `GetTagForMetadataObjectEvent` classes to support `TagInfo`.
…e NameIdentifierUtil.ofTag and MetadataObjectUtil.toEntityIdent for consistent identifier creation.
692bda1
to
c68e741
Compare
@TungYuChiang , merged to main, thanks for your contribution, thanks @orenccl for your review! |
Thanks for your review and help. |
What changes were proposed in this pull request?
Why are the changes needed?
Fix: #5901
Does this PR introduce any user-facing change?
no
How was this patch tested?