Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simply the configuration for orchestration #1335

Merged
merged 23 commits into from
Oct 11, 2018
Merged

Simply the configuration for orchestration #1335

merged 23 commits into from
Oct 11, 2018

Conversation

tristaZero
Copy link
Contributor

Fixes #1328.

Changes proposed in this pull request:

  • Modify loadMasterSlaveRuleConfiguration()
  • Modify loadShardingRuleConfiguration()
  • Modify OrchestrationSpringBootConfiguration
  • Modify check for loadMasterSlaveRuleConfiguration and loadShardingRuleConfiguration
  • Modify some tests

@coveralls
Copy link

Pull Request Test Coverage Report for Build 5337

  • 8 of 25 (32.0%) changed or added relevant lines in 6 files are covered.
  • 3 unchanged lines in 1 file lost coverage.
  • Overall coverage decreased (-0.04%) to 63.37%

Changes Missing Coverage Covered Lines Changed/Added Lines %
sharding-jdbc/sharding-jdbc-orchestration/src/main/java/io/shardingsphere/shardingjdbc/orchestration/internal/datasource/OrchestrationMasterSlaveDataSource.java 0 1 0.0%
sharding-jdbc/sharding-jdbc-orchestration/src/main/java/io/shardingsphere/shardingjdbc/orchestration/internal/datasource/OrchestrationShardingDataSource.java 0 1 0.0%
sharding-orchestration/sharding-orchestration-core/src/main/java/io/shardingsphere/orchestration/yaml/YamlOrchestrationConfiguration.java 0 1 0.0%
sharding-orchestration/sharding-orchestration-core/src/main/java/io/shardingsphere/orchestration/internal/state/datasource/DataSourceService.java 0 2 0.0%
sharding-orchestration/sharding-orchestration-core/src/main/java/io/shardingsphere/orchestration/internal/config/ConfigurationService.java 0 4 0.0%
sharding-jdbc/sharding-jdbc-orchestration-spring/sharding-jdbc-orchestration-spring-boot-starter/src/main/java/io/shardingsphere/shardingjdbc/orchestration/spring/boot/OrchestrationSpringBootConfiguration.java 8 16 50.0%
Files with Coverage Reduction New Missed Lines %
sharding-orchestration/sharding-orchestration-reg/src/main/java/io/shardingsphere/orchestration/reg/newzk/client/zookeeper/base/Holder.java 3 70.49%
Totals Coverage Status
Change from base Build 5336: -0.04%
Covered Lines: 7977
Relevant Lines: 12588

💛 - Coveralls

@terrymanu terrymanu merged commit 53485b5 into apache:dev Oct 11, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants