This is an automated email from the ASF dual-hosted git repository.
sunnianjun pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push:
new 961626e59dd Merge AdapterType with test agent and env module (#32200)
961626e59dd is described below
commit 961626e59ddeb6e332658757d9bff579ab2dfb75
Author: Liang Zhang <[email protected]>
AuthorDate: Sat Jul 20 17:20:21 2024 +0800
Merge AdapterType with test agent and env module (#32200)
---
.../test/e2e/agent/common/enums/AdapterType.java | 35 ----------------------
.../agent/common/env/AgentE2ETestEnvironment.java | 2 +-
2 files changed, 1 insertion(+), 36 deletions(-)
diff --git
a/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/enums/AdapterType.java
b/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/enums/AdapterType.java
deleted file mode 100644
index 0a63165272d..00000000000
---
a/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/enums/AdapterType.java
+++ /dev/null
@@ -1,35 +0,0 @@
-/*
- * Licensed to the Apache Software Foundation (ASF) under one or more
- * contributor license agreements. See the NOTICE file distributed with
- * this work for additional information regarding copyright ownership.
- * The ASF licenses this file to You 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 org.apache.shardingsphere.test.e2e.agent.common.enums;
-
-import lombok.Getter;
-import lombok.RequiredArgsConstructor;
-
-/**
- * Adapter type.
- */
-@RequiredArgsConstructor
-@Getter
-public enum AdapterType {
-
- PROXY("PROXY"),
-
- JDBC("JDBC");
-
- private final String value;
-}
diff --git
a/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/env/AgentE2ETestEnvironment.java
b/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/env/AgentE2ETestEnvironment.java
index 4eac97803ef..6c98b7f3ad1 100644
---
a/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/env/AgentE2ETestEnvironment.java
+++
b/test/e2e/agent/plugins/common/src/test/java/org/apache/shardingsphere/test/e2e/agent/common/env/AgentE2ETestEnvironment.java
@@ -27,10 +27,10 @@ import
org.apache.shardingsphere.test.e2e.agent.common.container.PrometheusConta
import
org.apache.shardingsphere.test.e2e.agent.common.container.ShardingSphereJdbcContainer;
import
org.apache.shardingsphere.test.e2e.agent.common.container.ShardingSphereProxyContainer;
import
org.apache.shardingsphere.test.e2e.agent.common.container.ZipkinContainer;
-import org.apache.shardingsphere.test.e2e.agent.common.enums.AdapterType;
import org.apache.shardingsphere.test.e2e.agent.common.enums.PluginType;
import
org.apache.shardingsphere.test.e2e.agent.common.fixture.executor.ProxyRequestExecutor;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.DockerITContainer;
+import
org.apache.shardingsphere.test.e2e.env.container.atomic.enums.AdapterType;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.governance.GovernanceContainer;
import
org.apache.shardingsphere.test.e2e.env.container.atomic.governance.GovernanceContainerFactory;
import org.testcontainers.containers.output.OutputFrame;