You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by ki...@apache.org on 2020/07/13 11:10:18 UTC
[shardingsphere] branch master updated (fb066b0 -> 2e6753d)
This is an automated email from the ASF dual-hosted git repository.
kimmking pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from fb066b0 Merge pull request #6339 from menghaoranss/doc-update
add 2e6753d add rule and dataSource callback in config center (#6337)
No new revisions were added by this update.
Summary of changes:
.../core/configcenter/ConfigCenter.java | 16 +++--
.../core/metadatacenter/MetaDataCenter.java | 4 +-
.../core/schema/OrchestrationSchemaContexts.java | 4 +-
.../shardingsphere/infra/callback/Callback.java | 18 +++---
.../callback/orchestration/DataSourceCallback.java | 28 ++++----
.../orchestration}/MetaDataCallback.java | 20 ++++--
.../infra/callback/orchestration/RuleCallback.java | 28 ++++----
.../infra/callback/CallbackTest.java | 74 ++++++++++++++++++++++
.../metadata/callback/MetaDataCallbackTest.java | 39 ------------
.../driver/executor/PreparedStatementExecutor.java | 4 +-
.../driver/executor/StatementExecutor.java | 4 +-
.../jdbc/JDBCDatabaseCommunicationEngine.java | 4 +-
12 files changed, 155 insertions(+), 88 deletions(-)
copy shardingsphere-control-panel/shardingsphere-orchestration/shardingsphere-orchestration-core/shardingsphere-orchestration-core-common/src/main/java/org/apache/shardingsphere/orchestration/core/common/event/DataSourceChangedEvent.java => shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/callback/orchestration/DataSourceCallback.java (63%)
rename shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/{metadata/callback => callback/orchestration}/MetaDataCallback.java (68%)
copy shardingsphere-control-panel/shardingsphere-orchestration/shardingsphere-orchestration-core/shardingsphere-orchestration-core-common/src/main/java/org/apache/shardingsphere/orchestration/core/common/event/RuleConfigurationsChangedEvent.java => shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/callback/orchestration/RuleCallback.java (65%)
create mode 100644 shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/callback/CallbackTest.java
delete mode 100644 shardingsphere-infra/shardingsphere-infra-common/src/test/java/org/apache/shardingsphere/infra/metadata/callback/MetaDataCallbackTest.java