From 089bb20620eaaa1f69d4bc33146044f62f66f201 Mon Sep 17 00:00:00 2001 From: tristaZero Date: Thu, 10 Jan 2019 11:41:32 +0800 Subject: [PATCH] modify configWithoutDataSourceWithoutProps.yaml --- .../sharding/configWithoutDataSourceWithoutProps.yaml | 5 +++-- .../sharding_ms/configWithoutDataSourceWithoutProps.yaml | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding/configWithoutDataSourceWithoutProps.yaml b/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding/configWithoutDataSourceWithoutProps.yaml index a94deef1f8..e119c36f69 100644 --- a/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding/configWithoutDataSourceWithoutProps.yaml +++ b/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding/configWithoutDataSourceWithoutProps.yaml @@ -12,8 +12,9 @@ shardingRule: inline: shardingColumn: order_id algorithmExpression: t_order_${order_id % 2} - keyGeneratorColumnName: order_id - keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator + keyGenerator: + keyGeneratorColumnName: order_id + keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator t_order_item: actualDataNodes: db${0..1}.t_order_item_${0..1} diff --git a/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding_ms/configWithoutDataSourceWithoutProps.yaml b/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding_ms/configWithoutDataSourceWithoutProps.yaml index ee5c3d7bdd..593c0c249f 100644 --- a/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding_ms/configWithoutDataSourceWithoutProps.yaml +++ b/sharding-jdbc/sharding-jdbc-orchestration/src/test/resources/yaml/integrate/sharding_ms/configWithoutDataSourceWithoutProps.yaml @@ -13,8 +13,9 @@ shardingRule: inline: shardingColumn: order_id algorithmExpression: t_order_${order_id % 2} - keyGeneratorColumnName: order_id - keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator + keyGenerator: + keyGeneratorColumnName: order_id + keyGeneratorClassName: io.shardingsphere.shardingjdbc.orchestration.api.yaml.fixture.IncrementKeyGenerator t_order_item: actualDataNodes: db_ms_${0..1}.t_order_item_${0..1} -- GitLab