From 23fb5ba674d95f3421ebce67a404093844829c17 Mon Sep 17 00:00:00 2001 From: gaohongtao Date: Mon, 28 Mar 2016 10:35:38 +0800 Subject: [PATCH] add yaml comment trail --- .../src/test/resources/configWithDataSourceWithProps.yaml | 4 ++-- .../src/test/resources/configWithDataSourceWithoutProps.yaml | 4 ++-- .../src/test/resources/configWithoutDataSourceWithProps.yaml | 4 ++-- .../test/resources/configWithoutDataSourceWithoutProps.yaml | 4 ++-- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithProps.yaml b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithProps.yaml index ad174737ba8dc..4b7a94a2fcfa5 100644 --- a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithProps.yaml +++ b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithProps.yaml @@ -30,13 +30,13 @@ tables: t_order_item: actualTables: t_order_item_${0..1} - #绑定表中其余的表的策略与第一张表的策略相同 + #绑定表中其余的表的策略与第一张表的策略相同. databaseStrategy: *db001 tableStrategy: *table001 bindingTables: - tableNames: t_order,t_order_item -#默认数据库分片策略 +#默认数据库分片策略. defaultDatabaseStrategy: shardingColumns: order_id, user_id algorithmExpression: table_test diff --git a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithoutProps.yaml b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithoutProps.yaml index 962c78cd56658..fc9e6e0d5d7a5 100644 --- a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithoutProps.yaml +++ b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithDataSourceWithoutProps.yaml @@ -27,14 +27,14 @@ tables: t_order_item: actualTables: t_order_item_${0..1} - #绑定表中其余的表的策略与第一张表的策略相同 + #绑定表中其余的表的策略与第一张表的策略相同. databaseStrategy: *db001 tableStrategy: *table001 bindingTables: - tableNames: t_order,t_order_item -#默认数据库分片策略 +#默认数据库分片策略. defaultDatabaseStrategy: shardingColumns: order_id, user_id algorithmExpression: table_test diff --git a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithProps.yaml b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithProps.yaml index b49304989e710..b396078bad5fe 100644 --- a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithProps.yaml +++ b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithProps.yaml @@ -16,14 +16,14 @@ tables: t_order_item: actualTables: t_order_item_${0..1} - #绑定表中其余的表的策略与第一张表的策略相同 + #绑定表中其余的表的策略与第一张表的策略相同. databaseStrategy: *db001 tableStrategy: *table001 bindingTables: - tableNames: t_order,t_order_item -#默认数据库分片策略 +#默认数据库分片策略. defaultDatabaseStrategy: shardingColumns: order_id, user_id algorithmExpression: table_test diff --git a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithoutProps.yaml b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithoutProps.yaml index 8e65964e7f3bd..24ea15325e9ad 100644 --- a/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithoutProps.yaml +++ b/sharding-jdbc-config-parent/sharding-jdbc-config-yaml/src/test/resources/configWithoutDataSourceWithoutProps.yaml @@ -13,14 +13,14 @@ tables: t_order_item: actualTables: t_order_item_${0..1} - #绑定表中其余的表的策略与第一张表的策略相同 + #绑定表中其余的表的策略与第一张表的策略相同. databaseStrategy: *db001 tableStrategy: *table001 bindingTables: - tableNames: t_order,t_order_item -#默认数据库分片策略 +#默认数据库分片策略. defaultDatabaseStrategy: shardingColumns: order_id, user_id algorithmExpression: table_test