You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/06/19 01:04:02 UTC

[GitHub] [incubator-shardingsphere] KomachiSion opened a new issue #2582: Use `@Conditional` in sharding-jdbc-spring-boot-starter

KomachiSion opened a new issue #2582: Use `@Conditional` in sharding-jdbc-spring-boot-starter
URL: https://github.com/apache/incubator-shardingsphere/issues/2582
 
 
   The current sharding-jdbc-spring-boot-starter uses much internal `if..else..` to auto-configure the corresponding type of DataSource, especially in the spring-boot-starter of Orchestration.
   
   So we can use `@Conditional` annotation spring-boot provided to replace `if...else...` and make it more readable.
   
   - [ ] use `@Conditional`  in sharding-jdbc-spring-boot-starter
   - [ ] use `@Conditional`  in sharding-jdbc-orchestration-spring-boot-starter

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services