This is an automated email from the ASF dual-hosted git repository.

duanzhengqiang 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 0b207576e05 Remove unused transaction test config (#30217)
0b207576e05 is described below

commit 0b207576e052add56b11c41c039e9c78342e291d
Author: ZhangCheng <[email protected]>
AuthorDate: Wed Feb 21 11:31:43 2024 +0800

    Remove unused transaction test config (#30217)
---
 .../env/scenario/cursor/proxy/conf/mysql/rule.yaml | 90 --------------------
 .../cursor/proxy/conf/postgresql/rule.yaml         | 99 ----------------------
 2 files changed, 189 deletions(-)

diff --git 
a/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/mysql/rule.yaml
 
b/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/mysql/rule.yaml
deleted file mode 100644
index 9cacdad472b..00000000000
--- 
a/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/mysql/rule.yaml
+++ /dev/null
@@ -1,90 +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.
-#
-
-######################################################################################################
-# 
-# If you want to configure governance, authorization and proxy properties, 
please refer to this file.
-# 
-######################################################################################################
-
-databaseName: sharding_db
-rules:
-  - !SINGLE
-    tables:
-      - "*.*"
-  - !SHARDING
-    tables:
-      t_order:
-        actualDataNodes: ds_${0..1}.t_order_${0..1}
-        tableStrategy:
-          standard:
-            shardingColumn: order_id
-            shardingAlgorithmName: t_order_inline
-        keyGenerateStrategy:
-          column: order_id
-          keyGeneratorName: snowflake
-      t_order_view:
-        actualDataNodes: ds_${0..1}.t_order_${0..1}
-        tableStrategy:
-          standard:
-            shardingColumn: order_id
-            shardingAlgorithmName: t_order_inline
-        keyGenerateStrategy:
-          column: order_id
-          keyGeneratorName: snowflake
-      t_order_item:
-        actualDataNodes: ds_${0..1}.t_order_item_${0..1}
-        tableStrategy:
-          standard:
-            shardingColumn: order_id
-            shardingAlgorithmName: t_order_item_inline
-        keyGenerateStrategy:
-          column: order_item_id
-          keyGeneratorName: snowflake
-    bindingTables:
-      - t_order,t_order_item,t_order_view
-    defaultDatabaseStrategy:
-      standard:
-        shardingColumn: user_id
-        shardingAlgorithmName: database_inline
-    defaultTableStrategy:
-      none:
-    
-    shardingAlgorithms:
-      database_inline:
-        type: INLINE
-        props:
-          algorithm-expression: ds_${user_id % 2}
-      t_order_inline:
-        type: INLINE
-        props:
-          algorithm-expression: t_order_${order_id % 2}
-      t_order_item_inline:
-        type: INLINE
-        props:
-          algorithm-expression: t_order_item_${order_id % 2}
-    
-    keyGenerators:
-      snowflake:
-        type: SNOWFLAKE
-        
-  - !BROADCAST
-    tables:
-      - t_address
-      - t_city
-      - t_province
-      - t_country
diff --git 
a/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/postgresql/rule.yaml
 
b/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/postgresql/rule.yaml
deleted file mode 100644
index 88f4ddf5ec7..00000000000
--- 
a/test/e2e/operation/transaction/src/test/resources/env/scenario/cursor/proxy/conf/postgresql/rule.yaml
+++ /dev/null
@@ -1,99 +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.
-#
-
-######################################################################################################
-# 
-# If you want to configure governance, authorization and proxy properties, 
please refer to this file.
-# 
-######################################################################################################
-
-databaseName: sharding_db
-rules:
-  - !SINGLE
-    tables:
-      - "*.*.*"
-  - !SHARDING
-    tables:
-      t_order:
-        actualDataNodes: ds_${0..1}.t_order_${0..1}
-        tableStrategy:
-          standard:
-            shardingColumn: order_id
-            shardingAlgorithmName: t_order_inline
-        keyGenerateStrategy:
-          column: order_id
-          keyGeneratorName: snowflake
-      t_order_item:
-        actualDataNodes: ds_${0..1}.t_order_item_${0..1}
-        tableStrategy:
-          standard:
-            shardingColumn: order_id
-            shardingAlgorithmName: t_order_item_inline
-        keyGenerateStrategy:
-          column: order_item_id
-          keyGeneratorName: snowflake
-      account:
-        actualDataNodes: ds_${0..1}.account_${0..1}
-        databaseStrategy:
-          standard:
-            shardingColumn: id
-            shardingAlgorithmName: database_id_inline
-        tableStrategy:
-          standard:
-            shardingColumn: id
-            shardingAlgorithmName: account_inline
-        keyGenerateStrategy:
-          column: id
-          keyGeneratorName: snowflake
-    bindingTables:
-      - t_order,t_order_item
-    defaultDatabaseStrategy:
-      standard:
-        shardingColumn: user_id
-        shardingAlgorithmName: database_inline
-    defaultTableStrategy:
-      none:
-    
-    shardingAlgorithms:
-      database_inline:
-        type: INLINE
-        props:
-          algorithm-expression: ds_${user_id % 2}
-      database_id_inline:
-        type: INLINE
-        props:
-          algorithm-expression: ds_${id % 2}
-      t_order_inline:
-        type: INLINE
-        props:
-          algorithm-expression: t_order_${order_id % 2}
-      t_order_item_inline:
-        type: INLINE
-        props:
-          algorithm-expression: t_order_item_${order_id % 2}
-      account_inline:
-        type: INLINE
-        props:
-          algorithm-expression: 
account_${Math.floorMod(Math.floorDiv(id.longValue(), 2L), 2L)}
-    
-    keyGenerators:
-      snowflake:
-        type: SNOWFLAKE
-        
-  - !BROADCAST
-    tables:
-      - t_address

Reply via email to