1. 14 5月, 2020 1 次提交
  2. 13 5月, 2020 1 次提交
  3. 09 5月, 2020 1 次提交
  4. 07 5月, 2020 1 次提交
    • L
      Fixes #5433 (#5455) · 630ddceb
      Liang Zhang 提交于
      * refactor OrchestrationRuleRootConfigurationsYamlSwapper
      
      * remove OrchestrationRuleRootConfigurationsYamlSwapper
      
      * deprecate MasterSlaveDataSourceFactory and fixes #5433
      630ddceb
  5. 06 5月, 2020 1 次提交
    • L
      Redesign persist format for config center (#5430) · 35259761
      Liang Zhang 提交于
      * Add YamlRootRuleConfigurations
      
      * Use RuleConfigurationsYamlSwapper for SQLRewriterParameterizedTest
      
      * move RuleConfigurationsYamlSwapper
      
      * Deprecate RuleConfigurationsYamlSwapper
      
      * refactor persist format for config center
      
      * refactor persist format for ui
      35259761
  6. 05 5月, 2020 1 次提交
    • L
      Use RuleConfigurationsYamlSwapper instead of ShardingRuleConfigurationYamlSwapper (#5424) · dfb5051e
      Liang Zhang 提交于
      * add ConfigurationBuilder.buildShardingYaml
      
      * refactor schema and rule map from string, rule to string, Collection<rule>
      
      * deprecate single rule param for OrchestrationShardingDataSourceFactory
      
      * use rules in ConfigCenter.loadShardingRuleConfiguration
      
      * rename ConfigCenter.loadShardingRuleConfiguration to loadRuleConfigurations
      
      * refactor ShardingDataSourceTest
      
      * Add RuleConfigurationsYamlSwapper
      
      * Add YamlRuleConfigurationBuilder
      
      * Add RuleConfigurationsYamlSwapper
      
      * refactor ConfigurationYamlConverter
      
      * use RuleConfigurationsYamlSwapper on rewriter test cases
      
      * refactor ConfigCenter
      
      * refactor ConfigCenter.persistConfiguration to persistConfigurations
      
      * refactor ConfigurationYamlConverter
      
      * refactor Bootstrap
      
      * refactor SchemaChangedListener
      
      * refactor ConfigCenter
      
      * refactor SpringBootConfiguration
      
      * refactor OrchestrationSpringBootConfiguration
      
      * refactor OrchestrationSpringBootConfiguration
      
      * remove YamlRuleConfigurationBuilder
      dfb5051e
  7. 04 5月, 2020 1 次提交
  8. 03 5月, 2020 2 次提交
    • L
      Deprecate ShardingDataSourceFactory.createDataSource() for single rule (#5418) · 079a8791
      Liang Zhang 提交于
      * refactor ConfigurationYamlConverter.loadRuleConfigurations()
      
      * remove useless test cases
      
      * remove useless spaces
      
      * rename RuleBuilder.buildSharding()
      
      * move RuleBuilder
      
      * add ConfigurationBuilder
      
      * refactor ShardingSchema
      
      * refactor SpringShardingDataSource
      
      * refactor OrchestrationSpringBootConfiguration
      
      * refactor ShardingDataSourceFactory
      
      * refactor ShardingDataSourceFactory
      
      * remove RuleBuilder.buildSharding
      
      * deprecate ShardingDataSourceFactory.createDataSource() for single rule configuration
      079a8791
    • L
      Adjust ShardingSphereRule (#5415) · da362ea5
      Liang Zhang 提交于
      * rename BaseRule to ShardingSphereRule
      
      * replace LINE_SEPARATOR to System.lineSeparator()
      
      * rename TablesAggregationRule to DataNodeRoutedRule
      
      * add DataSourceRoutedRule interface
      da362ea5
  9. 30 4月, 2020 1 次提交
    • L
      Remove ShardingRule.toRules() (#5396) · 76697bc0
      Liang Zhang 提交于
      * refactor ShardingSchema
      
      * refactor ShardingDataSourceFactory
      
      * refactor ShardingDataSourceFactory
      
      * refactor SpringShardingDataSource
      
      * Add RuleBuilder
      
      * merge OrchestrationMasterSlaveRule and MasterSlaveRule
      
      * remove OrchestrationShardingRule
      
      * use spi to deal with MixSQLRewriterParameterizedTest
      
      * remove dependency for ShardingRule.toRules()
      
      * refactor ShardingSQLRewriterParameterizedTest
      
      * remove ShardingRule.toRules()
      76697bc0
  10. 22 4月, 2020 1 次提交
    • L
      Add StorageResource to abstract StatementExecutionUnit (#5258) · 8394965e
      Liang Zhang 提交于
      * add StorageResourceExecuteUnit
      
      * move StatementExecuteGroupEngine to jdbc package
      
      * generic ExecuteGroupEngine
      
      * fix javadoc
      
      * add StorageResourceOption
      
      * for code style
      
      * rename BatchPreparedStatementExecutor.getStatementExecuteUnit to findStatementExecuteUnit
      
      * refactor addBatchForRouteUnits
      
      * rename BatchRouteUnit to BatchExecutionUnit
      
      * refactor addBatchForExecutionUnits
      8394965e
  11. 17 4月, 2020 1 次提交
  12. 15 4月, 2020 2 次提交
    • L
      Merge sharding-core-executor module into shardingsphere-executor module (#5204) · 3512d712
      Liang Zhang 提交于
      * refactor SQLExecuteTemplate
      
      * fix javadoc
      
      * rename SQLExecuteTemplate to SQLExecutor
      
      * Move connection to sql package
      
      * move SQLExecutor to shardingsphere executor module
      
      * move QueryResult to shardingsphere executor module
      
      * remove sharding-core-execute module
      
      * move StatementExecuteUnit to sql package
      
      * Merge branch 'master' into dev
      
      # Conflicts:
      #	sharding-proxy/sharding-proxy-backend/src/main/java/org/apache/shardingsphere/shardingproxy/backend/communication/jdbc/execute/JDBCExecuteEngine.java
      3512d712
    • J
      Provide inline implement for standard algorithm (#5195) · a3b9039f
      Juan Pan(Trista) 提交于
      * Provide inline implement for standard algorithm
      
      * fix
      a3b9039f
  13. 09 4月, 2020 2 次提交
  14. 06 4月, 2020 1 次提交
  15. 04 4月, 2020 1 次提交
  16. 03 4月, 2020 1 次提交
  17. 31 3月, 2020 3 次提交
    • L
      Establish ShardingSphereServiceLoader (#5015) · 4a52b814
      Liang Zhang 提交于
      * rename OrderAware to OrderBasedSPI
      
      * move TypeBasedSPI to type package
      
      * move TypeBasedSPI to type package
      
      * rename SPILoader to ShardingSphereServiceLoader
      
      * refactor NewInstanceServiceLoader
      
      * refactor SQLRewriteContextDecorator
      
      * refactor OrderedSPIRegistry
      
      * fix javadoc
      
      * rename SPIClassInstantiationException to ServiceLoaderException
      
      * rename NewInstanceServiceLoader to ShardingSphereServiceLoader
      
      * remove useless exception throw
      4a52b814
    • T
      make key-generator as a spring bean on spring namespace. (#4945) · 921c9404
      TaoZhi 提交于
      * make key-generator as a spring bean on spring namespace.
      
      * fix checkstyle.
      
      * code refactor for make key-generator as a spring bean.
      
      * add test for GenerateKeyAlgorithmFactoryBean.
      
      * rename ShardingKeyGenerator SPI to KeyGenerateAlgorithm.
      
      * rename method containsKeyGeneratorConfiguration to containsKeyGenerateAlgorithm.
      Co-authored-by: Ntaozhi3 <taozhi1@jd.com>
      921c9404
    • L
      Add getType for OrderAware (#5011) · b6af93eb
      Liang Zhang 提交于
      * add OrderAware.getType()
      
      * add generic type for decorator
      
      * add cast
      b6af93eb
  18. 30 3月, 2020 1 次提交
  19. 29 3月, 2020 1 次提交
  20. 27 3月, 2020 1 次提交
  21. 26 3月, 2020 1 次提交
    • L
      Add standard interface for routed rewrite engine (#4957) · 30bec831
      Liang Zhang 提交于
      * add RouteContextAware for ShardingSQLRewriteContextDecorator
      
      * move ShardingSQLBuilder.getLogicAndActualTablesFromBindingTable to ShardingRule
      
      * refactor TableToken
      
      * refactor IndexToken
      
      * remove LogicAndActualTablesAware
      
      * remove generic type for SQLRouteRewriteEngine
      
      * rename ShardingSQLBuilder to RouteSQLBuilder
      
      * remove interface SQLRewriteEngine and SQLRouteRewriteEngine
      30bec831
  22. 25 3月, 2020 2 次提交
  23. 24 3月, 2020 1 次提交
  24. 23 3月, 2020 1 次提交
    • L
      Add GeneratedKeyContext to (#4905) · 77311733
      Liang Zhang 提交于
      * decouple GeneratedKey and ShardingRule
      
      * move GeneratedKey to binder module
      
      * rename GeneratedKey to GeneratedKeyContext
      
      * add GeneratedKeyContext to InsertStatementContext
      
      * refactor package structure of org.apache.shardingsphere.sql.parser.binder.segment.insert
      
      * refactor package structure of org.apache.shardingsphere.sql.parser.binder.segment.insert
      
      * remove generatedKey for InsertClauseShardingConditionEngine
      
      * change sequence of ColumnMetaData.caseSensitive and ColumnMetaData.generated
      
      * change sequence of ColumnMetaData.caseSensitive and ColumnMetaData.generated
      
      * remove ShardingRouteContext.generatedKey
      
      * remove ShardingRouteContext.generatedKey
      
      * remove ShardingRouteContext
      
      * remove GeneratedKeyContext from BaseGeneratedKeyTokenGenerator
      77311733
  25. 21 3月, 2020 3 次提交
  26. 20 3月, 2020 2 次提交
    • L
      Add impl of DataNodeRouter (#4869) · a9123686
      Liang Zhang 提交于
      * fix jav a doc
      
      * Add DefaultDateNodeRouter
      
      * Add ShardingRouteDecorator
      
      * merge DateNodeRouter and DefaultDateNodeRouter
      
      * refactor package of route module
      
      * rename DataNodeRouteDecorator to RouteDecorator
      a9123686
    • L
      Refactor route context (#4856) · d1eb0557
      Liang Zhang 提交于
      * refactor ShardingRouter
      
      * refactor TableUnit
      
      * add DataSourceUnit
      
      * merge DataSourceUnit and TableUnit to RouteMapper
      
      * rename RouteUnit.findTableMapper()
      
      * refactor constructor of RouteUnit
      d1eb0557
  27. 18 3月, 2020 1 次提交
    • L
      Move OrchestrationProperties to orchestration module (#4814) · a6697dfc
      Liang Zhang 提交于
      * rename ShardingSphereProperties to ConfigurationProperties
      
      * rename PropertiesConstant to ConfigurationPropertyKey
      
      * rename ConfigurationProperties and OrchestrationProperties
      
      * move OrchestrationProperties to sharding-orchestration-core-facade module
      
      * move ConfigurationProperties to config package
      
      * rename impl of TypedPropertyKey
      
      * move ConfigurationPropertiesTest
      a6697dfc
  28. 17 3月, 2020 1 次提交
    • L
      Adjust TypedProperties' package structure & simplify domain module (#4794) · f58f74dd
      Liang Zhang 提交于
      * Rename org.apache.shardingsphere.underlying.common.constant.properties to org.apache.shardingsphere.underlying.common.properties
      
      * move TypedProperties to basic package
      
      * refactor package org.apache.shardingsphere.underlying.common.properties
      
      * rename TypedProperties.enumClass to keyClass
      
      * private TypedProperties.find()
      
      * refactor TypedProperties
      
      * fix test case
      
      * remove TypedProperties.keyClass
      
      * fix test case
      f58f74dd
  29. 16 3月, 2020 2 次提交
    • L
      Refactor log for load meta data (#4780) · 43e89e0e
      Liang Zhang 提交于
      * add log for SchemaMetaDataLoader
      
      * add log for ShardingMetaDataLoader
      
      * remove MetaDataLogger
      
      * remove MetaDataLogger
      
      * ignore metadata load log for test
      
      * fix error package for logback
      43e89e0e
    • L
      Refactor TableMetas to SchemaMetaData (#4772) · 784fde4a
      Liang Zhang 提交于
      * add TableMetaDataLoader
      
      * rename TableMetas to SchemaMetaData
      
      * rename ShardingTableMetasLoader to ShardingMetaDataLoader
      
      * rename TableMetaDataDecorator to MetaDataDecorator
      
      * fix javadoc
      
      * add SchemaMetaDataDecorator
      
      * static SchemaMetaDataDecorator
      
      * static SchemaMetaDataDecorator
      784fde4a
  30. 13 3月, 2020 1 次提交