Loading README.md +3 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ sharding-sphere-example │ ├── repository-jpa │ └── repository-mybatis ├── sharding-jdbc-example │ ├── hint-example │ │ └── hint-raw-jdbc-example │ ├── orchestration-example │ │ ├── orchestration-raw-jdbc-example │ │ ├── orchestration-spring-boot-example Loading Loading @@ -90,7 +92,7 @@ you can get more detail from **[orchestration-example](./sharding-jdbc-example/o you can get more detail from **[transaction-example](./sharding-jdbc-example/transaction-example)** ### how to use hint routing we will add hint example recently. you can get more detail from **[hint-example](./sharding-jdbc-example/hint-example)** ### how to config none-sharding tables we will add none-sharding example recently. Loading docker/sharding-proxy/orchestration/docker-compose.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line version: '3' services: zookeeper: ## get more versions of zookeeper here : https://hub.docker.com/_/zookeeper?tab=tags image: "zookeeper:3.4" ports: - "2181:2181" container_name: sharding-sphere-zookeeper etcd: ## get more versions of etcd here : https://quay.io/repository/coreos/etcd?tag=latest&tab=tags image: "quay.io/coreos/etcd:v3.3.12" ports: - "2379:2379" - "2380:2380" - "4001:4001" container_name: sharding-sphere-etcd entrypoint: /usr/local/bin/etcd command: - '--advertise-client-urls=http://0.0.0.0:2379' - '--listen-client-urls=http://0.0.0.0:2379' - '--initial-advertise-peer-urls=http://0.0.0.0:2380' - '--listen-peer-urls=http://0.0.0.0:2380' - '--initial-cluster' - 'default=http://0.0.0.0:2380' docker/sharding-proxy/orchestration/run.sh 0 → 100644 +3 −0 Original line number Diff line number Diff line #!/usr/bin/env bash docker-compose up -d docker/sharding-proxy/orchestration/stop.sh 0 → 100644 +3 −0 Original line number Diff line number Diff line #!/usr/bin/env bash docker-compose down example-common/config-utility/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.shardingsphere</groupId> <groupId>org.apache.shardingsphere.example</groupId> <artifactId>example-common</artifactId> <version>4.0.0-RC1-SNAPSHOT</version> </parent> Loading Loading
README.md +3 −1 Original line number Diff line number Diff line Loading @@ -44,6 +44,8 @@ sharding-sphere-example │ ├── repository-jpa │ └── repository-mybatis ├── sharding-jdbc-example │ ├── hint-example │ │ └── hint-raw-jdbc-example │ ├── orchestration-example │ │ ├── orchestration-raw-jdbc-example │ │ ├── orchestration-spring-boot-example Loading Loading @@ -90,7 +92,7 @@ you can get more detail from **[orchestration-example](./sharding-jdbc-example/o you can get more detail from **[transaction-example](./sharding-jdbc-example/transaction-example)** ### how to use hint routing we will add hint example recently. you can get more detail from **[hint-example](./sharding-jdbc-example/hint-example)** ### how to config none-sharding tables we will add none-sharding example recently. Loading
docker/sharding-proxy/orchestration/docker-compose.yml 0 → 100644 +25 −0 Original line number Diff line number Diff line version: '3' services: zookeeper: ## get more versions of zookeeper here : https://hub.docker.com/_/zookeeper?tab=tags image: "zookeeper:3.4" ports: - "2181:2181" container_name: sharding-sphere-zookeeper etcd: ## get more versions of etcd here : https://quay.io/repository/coreos/etcd?tag=latest&tab=tags image: "quay.io/coreos/etcd:v3.3.12" ports: - "2379:2379" - "2380:2380" - "4001:4001" container_name: sharding-sphere-etcd entrypoint: /usr/local/bin/etcd command: - '--advertise-client-urls=http://0.0.0.0:2379' - '--listen-client-urls=http://0.0.0.0:2379' - '--initial-advertise-peer-urls=http://0.0.0.0:2380' - '--listen-peer-urls=http://0.0.0.0:2380' - '--initial-cluster' - 'default=http://0.0.0.0:2380'
docker/sharding-proxy/orchestration/run.sh 0 → 100644 +3 −0 Original line number Diff line number Diff line #!/usr/bin/env bash docker-compose up -d
docker/sharding-proxy/orchestration/stop.sh 0 → 100644 +3 −0 Original line number Diff line number Diff line #!/usr/bin/env bash docker-compose down
example-common/config-utility/pom.xml +1 −1 Original line number Diff line number Diff line Loading @@ -4,7 +4,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <parent> <groupId>io.shardingsphere</groupId> <groupId>org.apache.shardingsphere.example</groupId> <artifactId>example-common</artifactId> <version>4.0.0-RC1-SNAPSHOT</version> </parent> Loading