This is an automated email from the ASF dual-hosted git repository.
zhangliang pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git.
from d641de2 add EncryptAlgorithm SM3 & SM4 (#13894)
add a483387 Add DistSQL example (#13980)
No new revisions were added by this update.
Summary of changes:
examples/README.md | 1 +
examples/README_ZH.md | 2 +
examples/shardingsphere-proxy-example/pom.xml | 1 +
.../shardingsphere-proxy-distsql-example/pom.xml | 47 ++++++++
.../example/proxy/distsql/DistSQLExecutor.java | 28 +++++
.../proxy/distsql/DistSQLFeatureExample.java | 57 +++++++++
.../example/proxy/distsql/DistSQLHintExample.java | 66 +++++++++++
.../distsql/config/DatasourceConfiguration.java | 63 ++++++++++
.../proxy/distsql/factory/DataSourceFactory.java | 39 +++++++
.../distsql/feature/AbstractFeatureExecutor.java | 47 ++++++++
.../example/proxy/distsql/feature/FeatureType.java | 57 +++++++++
.../distsql/feature/encrypt/EncryptExecutor.java | 92 +++++++++++++++
.../ReadWriteSplittingExecutor.java | 87 ++++++++++++++
.../distsql/feature/resource/ResourceExecutor.java | 95 +++++++++++++++
.../distsql/feature/shadow/ShadowExecutor.java | 127 +++++++++++++++++++++
.../distsql/feature/sharding/ShardingExecutor.java | 108 ++++++++++++++++++
.../proxy/distsql/hint/AbstractHintExecutor.java | 43 +++++++
.../example/proxy/distsql/hint/HintType.java | 62 ++++++++++
.../distsql/hint/impl/AddShardingExecutor.java | 60 ++++++++++
.../hint/impl/SetReadwriteSplittingExecutor.java | 57 +++++++++
.../distsql/hint/impl/SetShardingExecutor.java | 57 +++++++++
.../example/proxy/distsql/utils/FileUtil.java | 29 +++++
.../main/resources/client/datasource-config.yaml | 21 ++++
.../src/main/resources/logback.xml | 0
.../src/main/resources/server/config-schema.yaml | 75 ++++++++++++
.../src/main/resources/server/server.yaml | 77 +++++++++++++
26 files changed, 1398 insertions(+)
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/pom.xml
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/DistSQLExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/DistSQLFeatureExample.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/DistSQLHintExample.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/config/DatasourceConfiguration.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/factory/DataSourceFactory.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/AbstractFeatureExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/FeatureType.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/encrypt/EncryptExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/readwritesplitting/ReadWriteSplittingExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/resource/ResourceExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/shadow/ShadowExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/feature/sharding/ShardingExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/hint/AbstractHintExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/hint/HintType.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/hint/impl/AddShardingExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/hint/impl/SetReadwriteSplittingExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/hint/impl/SetShardingExecutor.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/java/org/apache/shardingsphere/example/proxy/distsql/utils/FileUtil.java
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/resources/client/datasource-config.yaml
copy examples/shardingsphere-proxy-example/{shardingsphere-proxy-hint-example
=> shardingsphere-proxy-distsql-example}/src/main/resources/logback.xml (100%)
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/resources/server/config-schema.yaml
create mode 100644
examples/shardingsphere-proxy-example/shardingsphere-proxy-distsql-example/src/main/resources/server/server.yaml