This is an automated email from the ASF dual-hosted git repository.
panjuan pushed a change to branch main
in repository https://gitbox.apache.org/repos/asf/shardingsphere-plugin.git
from 409327f Merge pull request #29 from strongduanmu/dev-02262
add bceb7fe Move cosid, nanoid algorithm to infra module and update doc
new 6c12b05 Merge pull request #30 from strongduanmu/dev-0227
The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails. The revisions
listed as "add" were already present in the repository and have only
been added to this reference.
Summary of changes:
README.md | 125 +++++++++++----------
README_ZH.md | 125 +++++++++++----------
.../CosIdSnowflakeIntervalShardingAlgorithm.java | 7 +-
...nfra.algorithm.keygen.core.KeyGenerateAlgorithm | 19 ----
features/sharding/pom.xml | 1 -
.../algorithm/key-generator/cosid}/pom.xml | 23 ++--
.../keygen/cosid}/CosIdKeyGenerateAlgorithm.java | 6 +-
.../cosid}/CosIdSnowflakeKeyGenerateAlgorithm.java | 6 +-
.../cosid/constant/CosIdKeyGenerateConstants.java | 8 +-
...nfra.algorithm.keygen.core.KeyGenerateAlgorithm | 3 +-
.../cosid}/CosIdKeyGenerateAlgorithmTest.java | 14 +--
.../CosIdSnowflakeKeyGenerateAlgorithmTest.java | 12 +-
.../cosid}/fixture/WorkerIdGeneratorFixture.java | 2 +-
infra/algorithm/key-generator/nanoid/pom.xml | 34 ++++++
.../keygen/nanoid}/NanoIdKeyGenerateAlgorithm.java | 3 +-
...nfra.algorithm.keygen.core.KeyGenerateAlgorithm | 2 +-
.../nanoid}/NanoIdKeyGenerateAlgorithmTest.java | 2 +-
.../algorithm/key-generator}/pom.xml | 4 +-
infra/{url => algorithm}/pom.xml | 4 +-
infra/pom.xml | 1 +
20 files changed, 215 insertions(+), 186 deletions(-)
delete mode 100644
features/sharding/cosid/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.algorithm.keygen.core.KeyGenerateAlgorithm
rename {features/sharding/nanoid =>
infra/algorithm/key-generator/cosid}/pom.xml (69%)
rename
{features/sharding/cosid/src/main/java/org/apache/shardingsphere/sharding/cosid/algorithm/keygen
=>
infra/algorithm/key-generator/cosid/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid}/CosIdKeyGenerateAlgorithm.java
(90%)
rename
{features/sharding/cosid/src/main/java/org/apache/shardingsphere/sharding/cosid/algorithm/keygen
=>
infra/algorithm/key-generator/cosid/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid}/CosIdSnowflakeKeyGenerateAlgorithm.java
(95%)
copy
features/sharding/cosid/src/main/java/org/apache/shardingsphere/sharding/cosid/algorithm/CosIdAlgorithmConstants.java
=>
infra/algorithm/key-generator/cosid/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid/constant/CosIdKeyGenerateConstants.java
(82%)
rename {features/sharding/nanoid =>
infra/algorithm/key-generator/cosid}/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.algorithm.keygen.core.KeyGenerateAlgorithm
(82%)
rename
{features/sharding/cosid/src/test/java/org/apache/shardingsphere/sharding/cosid/algorithm/keygen
=>
infra/algorithm/key-generator/cosid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid}/CosIdKeyGenerateAlgorithmTest.java
(87%)
rename
{features/sharding/cosid/src/test/java/org/apache/shardingsphere/sharding/cosid/algorithm/keygen
=>
infra/algorithm/key-generator/cosid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid}/CosIdSnowflakeKeyGenerateAlgorithmTest.java
(93%)
rename
{features/sharding/cosid/src/test/java/org/apache/shardingsphere/sharding/cosid/algorithm/keygen
=>
infra/algorithm/key-generator/cosid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/cosid}/fixture/WorkerIdGeneratorFixture.java
(94%)
create mode 100644 infra/algorithm/key-generator/nanoid/pom.xml
rename
{features/sharding/nanoid/src/main/java/org/apache/shardingsphere/sharding/nanoid/algorithm/keygen
=>
infra/algorithm/key-generator/nanoid/src/main/java/org/apache/shardingsphere/infra/algorithm/keygen/nanoid}/NanoIdKeyGenerateAlgorithm.java
(96%)
copy
features/encrypt/rc4/src/main/resources/META-INF/services/org.apache.shardingsphere.encrypt.spi.EncryptAlgorithm
=>
infra/algorithm/key-generator/nanoid/src/main/resources/META-INF/services/org.apache.shardingsphere.infra.algorithm.keygen.core.KeyGenerateAlgorithm
(90%)
rename
{features/sharding/nanoid/src/test/java/org/apache/shardingsphere/sharding/nanoid/algorithm/keygen
=>
infra/algorithm/key-generator/nanoid/src/test/java/org/apache/shardingsphere/infra/algorithm/keygen/nanoid}/NanoIdKeyGenerateAlgorithmTest.java
(96%)
copy {features/sharding => infra/algorithm/key-generator}/pom.xml (90%)
copy infra/{url => algorithm}/pom.xml (92%)