This is an automated email from the ASF dual-hosted git repository. totalo pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/shardingsphere.git
The following commit(s) were added to refs/heads/master by this push: new a752ed08f41 Add SingletonSPI for AuthorityRegistryProvider (#29573) a752ed08f41 is described below commit a752ed08f41b41e7f0aef81b8f8490c940573df7 Author: Liang Zhang <zhangli...@apache.org> AuthorDate: Thu Dec 28 07:16:02 2023 +0800 Add SingletonSPI for AuthorityRegistryProvider (#29573) --- .../apache/shardingsphere/authority/spi/AuthorityRegistryProvider.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/AuthorityRegistryProvider.java b/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/AuthorityRegistryProvider.java index 7678600a617..2e1e916814f 100644 --- a/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/AuthorityRegistryProvider.java +++ b/kernel/authority/api/src/main/java/org/apache/shardingsphere/authority/spi/AuthorityRegistryProvider.java @@ -19,6 +19,7 @@ package org.apache.shardingsphere.authority.spi; import org.apache.shardingsphere.authority.model.AuthorityRegistry; import org.apache.shardingsphere.infra.metadata.user.ShardingSphereUser; +import org.apache.shardingsphere.infra.spi.annotation.SingletonSPI; import org.apache.shardingsphere.infra.spi.type.typed.TypedSPI; import java.util.Collection; @@ -26,6 +27,7 @@ import java.util.Collection; /** * Authority registry provider. */ +@SingletonSPI public interface AuthorityRegistryProvider extends TypedSPI { /**