You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by zh...@apache.org on 2021/10/14 06:27:36 UTC

[shardingsphere] branch master updated: Add additional-spring-configuration-metadata.json (#13028)

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

zhangliang 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 6e74f0d  Add additional-spring-configuration-metadata.json (#13028)
6e74f0d is described below

commit 6e74f0df019b55249e2b879f13653d562df5d3e6
Author: Guocheng Tang <to...@qq.com>
AuthorDate: Thu Oct 14 14:26:54 2021 +0800

    Add additional-spring-configuration-metadata.json (#13028)
    
    * add additional-spring-configuration-metadata.json for every shardingsphere spring boot starter
    
    * update config.
---
 .../additional-spring-configuration-metadata.json  |  82 +++++++
 .../additional-spring-configuration-metadata.json  |  87 +++++++
 .../additional-spring-configuration-metadata.json  |  74 ++++++
 .../additional-spring-configuration-metadata.json  | 101 +++++++++
 .../additional-spring-configuration-metadata.json  | 249 +++++++++++++++++++++
 .../additional-spring-configuration-metadata.json  | 143 +-----------
 6 files changed, 596 insertions(+), 140 deletions(-)

diff --git a/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..c4d7652
--- /dev/null
+++ b/shardingsphere-features/shardingsphere-db-discovery/shardingsphere-db-discovery-spring/shardingsphere-db-discovery-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,82 @@
+/*
+ * 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.
+ */
+
+{
+  "groups": [
+    {
+      "name": "spring.shardingsphere.rules.database-discovery",
+      "type": "org.apache.shardingsphere.dbdiscovery.yaml.config.YamlDatabaseDiscoveryRuleConfiguration",
+      "sourceType": "org.apache.shardingsphere.dbdiscovery.spring.boot.rule.YamlDatabaseDiscoveryRuleSpringBootConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.dbdiscovery.yaml.config.rule.YamlDatabaseDiscoveryDataSourceRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.dbdiscovery.yaml.config.YamlDatabaseDiscoveryRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.discovery-types",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.dbdiscovery.yaml.config.YamlDatabaseDiscoveryRuleConfiguration"
+    }
+  ],
+  "properties": [
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.dbdiscovery.yaml.config.rule.YamlDatabaseDiscoveryDataSourceRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.dbdiscovery.yaml.config.YamlDatabaseDiscoveryRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.discovery-types",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.dbdiscovery.yaml.config.YamlDatabaseDiscoveryRuleConfiguration"
+    }
+  ],
+  "hints": [
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.data-sources.keys",
+      "values": []
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.data-sources.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.dbdiscovery.yaml.config.rule.YamlDatabaseDiscoveryDataSourceRuleConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.discovery-types.keys",
+      "values": []
+    },
+    {
+      "name": "spring.shardingsphere.rules.database-discovery.discovery-types.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration"
+          }
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..72bddbf
--- /dev/null
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-spring/shardingsphere-encrypt-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,87 @@
+/*
+ * 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.
+ */
+
+{
+  "groups": [
+    {
+      "name": "spring.shardingsphere.rules.encrypt",
+      "type": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration",
+      "sourceType": "org.apache.shardingsphere.encrypt.spring.boot.rule.YamlEncryptRuleSpringBootConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.encryptors",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptColumnRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration"
+    }
+  ],
+  "properties": [
+    {
+      "name": "spring.shardingsphere.rules.encrypt.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.encryptors",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptColumnRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.query-with-cipher-column",
+      "type": "java.lang.Boolean",
+      "sourceType": "org.apache.shardingsphere.encrypt.yaml.config.YamlEncryptRuleConfiguration"
+    }
+  ],
+  "hints": [
+    {
+      "name": "spring.shardingsphere.rules.encrypt.tables.keys",
+      "values": []
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.tables.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptTableRuleConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.encryptors.keys",
+      "values": []
+    },
+    {
+      "name": "spring.shardingsphere.rules.encrypt.encryptors.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.encrypt.yaml.config.rule.YamlEncryptColumnRuleConfiguration"
+          }
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-spring/shardingsphere-readwrite-splitting-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-spring/shardingsphere-readwrite-splitting-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..14c86a8
--- /dev/null
+++ b/shardingsphere-features/shardingsphere-readwrite-splitting/shardingsphere-readwrite-splitting-spring/shardingsphere-readwrite-splitting-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,74 @@
+/*
+ * 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.
+ */
+
+{
+  "groups": [
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting",
+      "type": "org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration",
+      "sourceType": "org.apache.shardingsphere.readwritesplitting.spring.boot.rule.YamlReadwriteSplittingRuleSpringBootConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.readwritesplitting.yaml.config.rule.YamlReadwriteSplittingDataSourceRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.load-balancers",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration"
+    }
+  ],
+  "properties": [
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.readwritesplitting.yaml.config.rule.YamlReadwriteSplittingDataSourceRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.load-balancers",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.readwritesplitting.yaml.config.YamlReadwriteSplittingRuleConfiguration"
+    }
+  ],
+  "hints": [
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.data-sources.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.readwritesplitting.yaml.config.rule.YamlReadwriteSplittingDataSourceRuleConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.readwrite-splitting.load-balancers.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration"
+          }
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-spring/shardingsphere-shadow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-spring/shardingsphere-shadow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..d5df662
--- /dev/null
+++ b/shardingsphere-features/shardingsphere-shadow/shardingsphere-shadow-spring/shardingsphere-shadow-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,101 @@
+/*
+ * 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.
+ */
+
+{
+  "groups": [
+    {
+      "name": "spring.shardingsphere.rules.shadow",
+      "type": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration",
+      "sourceType": "org.apache.shardingsphere.shadow.spring.boot.rule.YamlShadowRuleSpringBootConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.shadow.yaml.config.datasource.YamlShadowDataSourceConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.shadow.yaml.config.table.YamlShadowTableConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.shadow-algorithms",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    }
+  ],
+  "properties": [
+    {
+      "name": "spring.shardingsphere.rules.shadow.enable",
+      "type": "java.lang.Boolean",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.data-sources",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.shadow.yaml.config.datasource.YamlShadowDataSourceConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.shadow.yaml.config.table.YamlShadowTableConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.shadow-algorithms",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.shadow.yaml.config.YamlShadowRuleConfiguration"
+    }
+  ],
+  "hints": [
+    {
+      "name": "spring.shardingsphere.rules.shadow.data-sources.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.shadow.yaml.config.datasource.YamlShadowDataSourceConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.tables.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.shadow.yaml.config.table.YamlShadowTableConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.shadow.shadow-algorithms.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration"
+          }
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
new file mode 100644
index 0000000..5f34ace
--- /dev/null
+++ b/shardingsphere-features/shardingsphere-sharding/shardingsphere-sharding-spring/shardingsphere-sharding-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -0,0 +1,249 @@
+/*
+ * 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.
+ */
+
+{
+  "groups": [
+    {
+      "name": "spring.shardingsphere.rules.sharding",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.spring.boot.rule.YamlShardingRuleSpringBootConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.auto-tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.sharding.yaml.config.rule.YamlShardingAutoTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.standard",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.complex",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.hint",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.none",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlNoneShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.standard",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.complex",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.hint",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.none",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlNoneShardingStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-key-generate-strategy",
+      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.keygen.YamlKeyGenerateStrategyConfiguration",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.sharding-algorithms",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.key-generators",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    }
+  ],
+  "properties": [
+    {
+      "name": "spring.shardingsphere.rules.sharding.binding-tables",
+      "type": "java.util.Collections<java.lang.String>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.broadcast-tables",
+      "type": "java.util.Collections<java.lang.String>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-sharding-column",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-key-generate-strategy.column",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.keygen.YamlKeyGenerateStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-key-generate-strategy.key-generator-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.keygen.YamlKeyGenerateStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.hint.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.standard.sharding-column",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.standard.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.complex.sharding-columns",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-table-strategy.complex.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.hint.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.standard.sharding-column",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.standard.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.complex.sharding-columns",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.default-database-strategy.complex.sharding-algorithm-name",
+      "type": "java.lang.String",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.auto-tables",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.sharding.yaml.config.rule.YamlShardingAutoTableRuleConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.sharding-algorithms",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.key-generators",
+      "type": "java.util.Map<java.lang.String, org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration>",
+      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.YamlShardingRuleConfiguration"
+    }
+  ],
+  "hints": [
+    {
+      "name": "spring.shardingsphere.rules.sharding.tables.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.sharding.yaml.config.rule.YamlTableRuleConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.auto-tables.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.sharding.yaml.config.rule.YamlShardingAutoTableRuleConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.sharding-algorithms.values",
+      "values": [
+      ],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration"
+          }
+        }
+      ]
+    },
+    {
+      "name": "spring.shardingsphere.rules.sharding.key-generators.values",
+      "values": [],
+      "providers": [
+        {
+          "name": "handle-as",
+          "parameters": {
+            "target": "org.apache.shardingsphere.infra.yaml.config.pojo.algorithm.YamlShardingSphereAlgorithmConfiguration"
+          }
+        }
+      ]
+    }
+  ]
+}
\ No newline at end of file
diff --git a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
index 9298413..cbe863c 100644
--- a/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
+++ b/shardingsphere-jdbc/shardingsphere-jdbc-spring/shardingsphere-jdbc-core-spring/shardingsphere-jdbc-core-spring-boot-starter/src/main/resources/META-INF/additional-spring-configuration-metadata.json
@@ -20,46 +20,6 @@
     {
       "name": "spring.shardingsphere.datasource",
       "type": "org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.complex",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.hint",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.standard",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.complex",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.hint",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.standard",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
     }
   ],
   "properties": [
@@ -91,104 +51,8 @@
       "sourceType": "org.apache.shardingsphere.spring.boot.util.DataSourceUtil"
     },
     {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.complex",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.complex.algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.complex.sharding-columns",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.hint",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.hint.algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.none",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlNoneShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.standard",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.standard.precise-algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.standard.range-algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-database-strategy.standard.sharding-column",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.complex",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.complex.algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlComplexShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.complex.sharding-columns",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.hint",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlHintShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.hint.algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.none",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlNoneShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.standard",
-      "type": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.standard.precise-algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.standard.range-algorithm-class-name",
-      "type": "java.lang.String"
-    },
-    {
-      "sourceType": "org.apache.shardingsphere.sharding.yaml.config.strategy.sharding.YamlStandardShardingStrategyConfiguration",
-      "name": "spring.shardingsphere.sharding.default-table-strategy.standard.sharding-column",
-      "type": "java.lang.String"
+      "name": "spring.shardingsphere.schema.name",
+      "type": "org.apache.shardingsphere.spring.boot.ShardingSphereAutoConfiguration"
     }
   ],
   "hints": [
@@ -198,8 +62,7 @@
     },
     {
       "name": "spring.shardingsphere.datasource.values",
-      "values": [
-      ],
+      "values": [],
       "providers": [
         {
           "name": "any"