1. 24 8月, 2020 1 次提交
    • L
      Refactor QueryCommandExecutor.isQueryResponse for impl (#7041) · b3cd9f75
      Liang Zhang 提交于
      * Decouple AuthenticationEngine and BackendConnection
      
      * Decouple AuthenticationEngine and BackendConnection
      
      * Unify userName to username
      
      * Refactor CommandExecutorTask
      
      * Refactor MySQLComQueryPacketExecutor.isQueryResponse
      
      * Refactor MySQLComStmtExecuteExecutor.isQueryResponse
      
      * Refactor PostgreSQLComBindExecutor.isQueryResponse
      
      * Refactor PostgreSQLComQueryExecutor.isQueryResponse
      b3cd9f75
  2. 06 8月, 2020 1 次提交
  3. 22 5月, 2020 1 次提交
  4. 17 5月, 2020 1 次提交
    • L
      Revise ShardingJDBC and ShardingProxy usage in java codes (#5658) · 44382c8c
      Liang Zhang 提交于
      * Rename AbstractShardingJDBCDatabaseAndTableTest to AbstractShardingSphereDataSourceForShardingTest
      
      * Rename AbstractShadowJDBCDatabaseAndTableTest to AbstractShardingSphereDataSourceForShadowTest
      
      * Rename AbstractMasterSlaveJDBCTest to AbstractShardingSphereDataSourceForMasterSlaveTest
      
      * Rename AbstractEncryptJDBCDatabaseAndTableTest to AbstractShardingSphereDataSourceForEncryptTest
      
      * Rename ShardingProxyContext to ShardingSphereProxyContext
      44382c8c
  5. 16 5月, 2020 3 次提交
    • L
      Rename sharding-proxy to shardingsphere-proxy (#5645) · 767d4b3c
      Liang Zhang 提交于
      * Rename sharding-proxy to shardingsphere-proxy
      
      * rename org.apache.shardingsphere.shardingproxy to org.apache.shardingsphere.proxy
      767d4b3c
    • L
      Rename shardingsphere-underlying to shardingsphere-infra (#5638) · 60b82df2
      Liang Zhang 提交于
      * Rename shardingsphere-underlying to shardingsphere-infra
      
      * Rename shardingsphere-infra's subprojects
      
      * Rename shardingsphere-infra's subprojects
      
      * rename package from org.apache.shardingsphere.underlying.common to org.apache.shardingsphere.infra
      
      * rename package from org.apache.shardingsphere.underlying.executor to org.apache.shardingsphere.infra.executor
      
      * rename package from org.apache.shardingsphere.underlying.merge to org.apache.shardingsphere.infra.merge
      
      * rename package from org.apache.shardingsphere.underlying.route to org.apache.shardingsphere.infra.route
      
      * rename package from org.apache.shardingsphere.underlying.rewrite to org.apache.shardingsphere.infra.rewrite
      60b82df2
    • L
      Rename shardingsphere-database-protocol to shardingsphere-db-protocol (#5637) · d928165e
      Liang Zhang 提交于
      * rename shardingsphere-database-protocol to shardingsphere-db-protocol
      
      * rename package org.apache.shardingsphere.database to org.apache.shardingsphere.db
      d928165e
  6. 13 5月, 2020 2 次提交
  7. 17 4月, 2020 1 次提交
    • Z
      support mysql-client8 for sharding-proxy (#5218) · 2e96bfb8
      zhaojun 提交于
      * calculate lower 2 bytes and upper 2 bytes according to mysql protocol
      
      * support mysql8 for sharding-proxy
      
      * fix unit test
      
      * implement AUTHENTICATION_METHOD_MISMATCH of mysql for mysql
      
      * fix bad db error.
      
      * add unit test
      2e96bfb8
  8. 09 3月, 2020 2 次提交
    • L
      Rename sharding-proxy-transport module to shardingsphere-database-protocol (#4673) · 7f80c1ea
      Liang Zhang 提交于
      * move sharding-proxy-transport to shardingsphere-database-protocol
      
      * rename sharding-proxy-transport to shardingsphere-database-protocol for maven module
      
      * rename org.apache.shardingsphere.shardingproxy.transport to org.apache.shardingsphere.database.protocol
      7f80c1ea
    • L
      Decouple sharding-proxy-transport's dependencies (#4664) · 71021b95
      Liang Zhang 提交于
      * remove transaction dependency for proxy-transport
      
      * remove sharding-proxy-common dependency for sharding-proxy-transport-postgresql
      
      * remove netty dependency for sharding-proxy-transport-postgresql & sharding-proxy-transport-mysql
      
      * move SQLErrorCode from sharding-proxy-common to sharding-proxy-transport-core module
      
      * fix javadoc
      
      * for code style
      
      * move MySQLAuthenticationHandler from sharding-proxy-transport-mysql to sharding-proxy-frontend-mysql
      
      * for code style
      
      * remove sharding-proxy-common dependency from sharding-proxy-transport-mysql
      
      * remove dependency from shardingsphere-common
      
      * remove dependency from shardingsphere-common
      71021b95
  9. 03 3月, 2020 1 次提交
    • L
      Upgrade to Java8 (#4583) · 1e50d719
      Liang Zhang 提交于
      * upgrade java version from 7 to 8
      
      * upgrade lambda expr for java8
      
      * use java8 Optional instead of guava Optional
      
      * use java8 Optional instead of guava Optional
      1e50d719
  10. 16 2月, 2020 1 次提交
  11. 23 9月, 2019 1 次提交
    • Fixes #3068 Add a judgment for user's database privileges. (#3079) · c91225b3
      孙不服 提交于
      * 
      1. modify MySQLAuthenticationHandler's login method to return Optional<ProxyUser>.
      2. check response41 database with ProxyUser's database.
      3. add UT.
      
      * resolve conflicts.
      
      * try CI check again.
      
      * 
      1. move schema judgement to MySQLAuthenticationHandler.
      2. modify UT.
      
      * 
      1. modify the input parameter of MySQLAuthenticationHandler.login().
      2. modify UT.
      
      * try CI check again.
      
      * 
      1. add ER_DBACCESS_DENIED_ERROR in MySQLServerErrorCode.
      2. modify the result of MySQLAuthenticationHandler.login() to Optional<MySQLServerErrorCode>.
      3. modify UT classes.
      c91225b3
  12. 21 4月, 2019 1 次提交
    • P
      ShardingProxy supports multiple users and authorizedSchemas (#2237) · 50208610
      panjuan 提交于
      * rename to UserChangedListenerTest
      
      * use AuthenticationChangedListenerTest
      
      * use UserYamlSwapperTest
      
      * modify authentication
      
      * Authentication changed event
      
      * Authentication changed listener
      
      * modify AUTHENTICATION_YAML
      
      * check style
      
      * check style
      
      * modify swap()
      
      * add AuthenticationYamlSwapperTest.java
      
      * use Authentication()
      
      * modify AUTHENTICATION_YAML
      
      * Authentication engine for MySQL.
      
      * login()
      
      * Authentication engine
      
      * modify unit cases in MySQLAuthenticationHandlerTest.java
      
      * setAuthentication()
      
      * use Authentication
      
      * modify javadoc
      
      * modify javadoc
      
      * modify loadServerConfiguration()
      
      * use authentication in loadServerConfiguration
      
      * modify unit cases
      
      * add user
      
      * add UserYamlSwapper
      
      * modify YamlAuthentication
      
      * use YamlUser
      
      * delete new YamlAuthentication()
      
      * add YamlUser.java
      
      * modify AUTHENTICATION_YAML content
      
      * use Collections
      
      * use Collections
      
      * modify config
      
      * use Collections
      
      * modify unit cases
      
      * prefer to use Collections
      
      * modify swap()
      
      * add isAuthorizedSchema()
      
      * isAuthorizedSchema()
      
      * add userName
      
      * modify assertMarshal()
      
      * getSchemaNames()
      
      * mock(BackendConnection.class)
      
      * new ShowDatabasesBackendHandler(backendConnection)
      
      * modify setUp()
      
      * modify setUp()
      
      * !authorizedSchemas.isEmpty()
      
      * trimResults()
      
      * isAuthorizedSchema()
      
      * modify isAuthorizedSchema()
      
      * isAuthorizedSchema(final String schema)
      
      * rename to ProxyUser
      
      * rename to ProxyUserYamlSwapperTest
      
      * modify examples
      
      * use ProxyUserYamlSwapperTest
      
      * use ProxyUser
      
      * use ProxyUser
      
      * Proxy user YAML swapper
      
      * rename to ProxyUserYamlSwapper
      
      * use ProxyUserYamlSwapper
      
      * ProxyUserYamlSwapperTest
      
      * USE YamlProxyUser
      
      * rename to YamlProxyUser
      
      * use YamlProxyUser
      
      * use YamlProxyUser
      
      * rename to  YamlAuthenticationConfiguration
      
      * rename to YamlAuthenticationConfiguration
      
      * use YamlAuthenticationConfiguration
      
      * use YamlAuthenticationConfiguration
      
      * rename to YamlProxyUserConfiguration
      
      * use YamlProxyUserConfiguration
      
      * use YamlProxyUserConfiguration
      50208610
  13. 19 4月, 2019 2 次提交
  14. 07 3月, 2019 3 次提交
  15. 06 3月, 2019 1 次提交
  16. 03 3月, 2019 1 次提交
  17. 27 2月, 2019 4 次提交
  18. 26 2月, 2019 1 次提交
  19. 03 2月, 2019 2 次提交
  20. 17 1月, 2019 2 次提交
  21. 13 12月, 2018 2 次提交
  22. 12 12月, 2018 1 次提交
  23. 10 10月, 2018 2 次提交
  24. 08 10月, 2018 2 次提交
  25. 26 9月, 2018 1 次提交