forked from apache/shardingsphere
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor orchestration spring boot starter.
- Loading branch information
Showing
4 changed files
with
28 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
13 changes: 13 additions & 0 deletions
13
...chestration/spring/boot/masterslave/SpringBootMasterSlaveRuleConfigurationProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.shardingjdbc.orchestration.spring.boot.masterslave; | ||
|
||
import io.shardingjdbc.core.yaml.masterslave.YamlMasterSlaveRuleConfiguration; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
|
||
/** | ||
* Master slave rule configuration properties. | ||
* | ||
* @author caohao | ||
*/ | ||
@ConfigurationProperties(prefix = "sharding.jdbc.config.masterslave") | ||
public class SpringBootMasterSlaveRuleConfigurationProperties extends YamlMasterSlaveRuleConfiguration { | ||
} |
13 changes: 13 additions & 0 deletions
13
...dbc/orchestration/spring/boot/sharding/SpringBootShardingRuleConfigurationProperties.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
package io.shardingjdbc.orchestration.spring.boot.sharding; | ||
|
||
import io.shardingjdbc.core.yaml.sharding.YamlShardingRuleConfiguration; | ||
import org.springframework.boot.context.properties.ConfigurationProperties; | ||
|
||
/** | ||
* Sharding rule configuration properties. | ||
* | ||
* @author caohao | ||
*/ | ||
@ConfigurationProperties(prefix = "sharding.jdbc.config.sharding") | ||
public class SpringBootShardingRuleConfigurationProperties extends YamlShardingRuleConfiguration { | ||
} |