File tree 3 files changed +2
-15
lines changed
main/java/org/apache/gravitino/listener/api/event
test/java/org/apache/gravitino/listener/api/event
3 files changed +2
-15
lines changed Original file line number Diff line number Diff line change @@ -56,6 +56,6 @@ public Tag[] tags() {
56
56
*/
57
57
@ Override
58
58
public OperationType operationType () {
59
- return OperationType .LISTINFO_TAG ;
59
+ return OperationType .LIST_TAGS_INFO ;
60
60
}
61
61
}
Original file line number Diff line number Diff line change @@ -99,18 +99,5 @@ public enum OperationType {
99
99
RENAME_VIEW ,
100
100
LIST_VIEW ,
101
101
102
- // Tag event
103
- CREATE_TAG ,
104
- ALTER_TAG ,
105
- LIST_TAG ,
106
- DELETE_TAG ,
107
- LISTINFO_TAG ,
108
- GET_TAG ,
109
- LIST_METADATA_OBJECTS_FOR_TAG ,
110
- LIST_TAGS_FOR_METADATA_OBJECT ,
111
- LIST_TAGS_INFO_FOR_METADATA_OBJECT ,
112
- ASSOCIATE_TAGS_FOR_METADATA_OBJECT ,
113
- GET_TAG_FOR_METADATA_OBJECT ,
114
-
115
102
UNKNOWN ,
116
103
}
Original file line number Diff line number Diff line change @@ -101,7 +101,7 @@ void testListTagInfoEvent() {
101
101
Tag [] result = dispatcher .listTagsInfo ("metalake" );
102
102
Event event = dummyEventListener .popPostEvent ();
103
103
Assertions .assertEquals (ListTagInfoEvent .class , event .getClass ());
104
- Assertions .assertEquals (OperationType .LISTINFO_TAG , event .operationType ());
104
+ Assertions .assertEquals (OperationType .LIST_TAGS_INFO , event .operationType ());
105
105
Assertions .assertEquals (OperationStatus .SUCCESS , event .operationStatus ());
106
106
Assertions .assertEquals (result , ((ListTagInfoEvent ) event ).tags ());
107
107
}
You can’t perform that action at this time.
0 commit comments