From 6e916d4338580f886bdb27b0479b99677d10c811 Mon Sep 17 00:00:00 2001 From: ungreat Date: Tue, 24 Sep 2024 18:37:55 +0800 Subject: [PATCH] temp --- .../odc/core/flow/util/FlowConstants.java | 4 -- .../session/event/ConnectionSessionEvent.java | 38 ------------------- 2 files changed, 42 deletions(-) delete mode 100644 server/odc-core/src/main/java/com/oceanbase/odc/core/session/event/ConnectionSessionEvent.java diff --git a/server/odc-core/src/main/java/com/oceanbase/odc/core/flow/util/FlowConstants.java b/server/odc-core/src/main/java/com/oceanbase/odc/core/flow/util/FlowConstants.java index 95e708604e..3152f6fe9f 100644 --- a/server/odc-core/src/main/java/com/oceanbase/odc/core/flow/util/FlowConstants.java +++ b/server/odc-core/src/main/java/com/oceanbase/odc/core/flow/util/FlowConstants.java @@ -44,10 +44,6 @@ public class FlowConstants { */ public static final String EXECUTION_START_EVENT_NAME = "start"; - /** - * Event name for execution start - */ - public static final String EXECUTION_FAILED_EVENT_NAME = "failed"; /** * Event name for execution end */ diff --git a/server/odc-core/src/main/java/com/oceanbase/odc/core/session/event/ConnectionSessionEvent.java b/server/odc-core/src/main/java/com/oceanbase/odc/core/session/event/ConnectionSessionEvent.java deleted file mode 100644 index e7aa1fde7a..0000000000 --- a/server/odc-core/src/main/java/com/oceanbase/odc/core/session/event/ConnectionSessionEvent.java +++ /dev/null @@ -1,38 +0,0 @@ -/* - * Copyright (c) 2023 OceanBase. - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package com.oceanbase.odc.core.session.event; - -import com.oceanbase.odc.common.event.AbstractEvent; -import com.oceanbase.odc.core.session.ConnectionSession; - -import lombok.NonNull; - -public class ConnectionSessionEvent extends AbstractEvent { - - public final static String SESSION_EXPIRE = "SESSION_EXPIRE"; - - /** - * Constructs a prototypical Event. - * - * @param source The object on which the Event initially occurred. - * @param eventName - * @throws IllegalArgumentException if source is null. - */ - public ConnectionSessionEvent(ConnectionSession source, @NonNull String eventName) { - super(source, eventName); - } - -}