This is an automated email from the ASF dual-hosted git repository.
wuweijie pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from 31b06f9 Solve the problem that the query field has a placeholder and
cannot be executed normally (#11283)
add 1c7d6da Split RegistryService and RegistrySubscriber (#11297)
No new revisions were added by this update.
Summary of changes:
.../governance/core/registry/RegistryCenter.java | 17 ++++-
.../service/impl/DataSourceRegistrySubscriber.java | 65 +++++++++++++++++
...vice.java => GlobalRuleRegistrySubscriber.java} | 48 +++---------
.../service/impl/SchemaRuleRegistryService.java | 16 +---
.../service/impl/SchemaRuleRegistrySubscriber.java | 44 +++--------
.../state/service/UserStatusRegistryService.java | 25 ++++---
.../impl/DataSourceRegistryServiceTest.java | 55 ++------------
.../impl/DataSourceRegistrySubscriberTest.java | 85 ++++++++++++++++++++++
.../impl/GlobalRuleRegistryServiceTest.java | 18 +----
.../impl/PropertiesRegistryServiceTest.java | 18 +----
.../impl/SchemaRuleRegistryServiceTest.java | 26 +------
.../impl/SchemaRuleRegistrySubscriberTest.java | 24 +++---
12 files changed, 228 insertions(+), 213 deletions(-)
create mode 100644
shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/registry/config/service/impl/DataSourceRegistrySubscriber.java
copy
shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/registry/config/service/impl/{GlobalRuleRegistryService.java
=> GlobalRuleRegistrySubscriber.java} (54%)
copy
shardingsphere-infra/shardingsphere-infra-common/src/main/java/org/apache/shardingsphere/infra/state/StateContext.java
=>
shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/registry/config/service/impl/SchemaRuleRegistrySubscriber.java
(52%)
copy
shardingsphere-infra/shardingsphere-infra-authority/shardingsphere-infra-authority-api/src/main/java/org/apache/shardingsphere/authority/api/config/AuthorityRuleConfiguration.java
=>
shardingsphere-governance/shardingsphere-governance-core/src/main/java/org/apache/shardingsphere/governance/core/registry/state/service/UserStatusRegistryService.java
(54%)
create mode 100644
shardingsphere-governance/shardingsphere-governance-core/src/test/java/org/apache/shardingsphere/governance/core/registry/config/service/impl/DataSourceRegistrySubscriberTest.java
copy
shardingsphere-db-protocol/shardingsphere-db-protocol-mysql/src/test/java/org/apache/shardingsphere/db/protocol/mysql/packet/command/query/MySQLFieldCountPacketTest.java
=>
shardingsphere-governance/shardingsphere-governance-core/src/test/java/org/apache/shardingsphere/governance/core/registry/config/service/impl/SchemaRuleRegistrySubscriberTest.java
(59%)