Skip to content
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

Draft
wants to merge 14 commits into
base: main
Choose a base branch
from
Prev Previous commit
Next Next commit
remove redundant line
  • Loading branch information
TungYuChiang committed Jan 19, 2025
commit 84a7a8d67aa8a89f78190c9dba2e333e7a60dea5
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,6 @@ public Tag[] listTagsInfo(String metalake) {
public Tag getTag(String metalake, String name) throws NoSuchTagException {
// TODO: getTagPreEvent
try {
// TODO: getTagEvent
Tag tag = dispatcher.getTag(metalake, name);
eventBus.dispatchEvent(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please create TagInfo and passing TagInfo to GetTagEvent

new GetTagEvent(PrincipalUtils.getCurrentUserName(), metalake, name, tag));
Expand Down Expand Up @@ -149,7 +148,6 @@ public boolean deleteTag(String metalake, String name) {
public MetadataObject[] listMetadataObjectsForTag(String metalake, String name) {
// TODO: listMetadataObjectsForTagPreEvent
try {
// TODO: listMetadataObjectsForTagEvent
MetadataObject[] metadataObjects = dispatcher.listMetadataObjectsForTag(metalake, name);
eventBus.dispatchEvent(
new ListMetadataObjectsForTagEvent(
Expand Down