Skip to content

Commit

Permalink
升级版本到1.2.0.RELEASE
Browse files Browse the repository at this point in the history
  • Loading branch information
zhongxunking committed Aug 26, 2018
1 parent 1d573b0 commit d6472a3
Show file tree
Hide file tree
Showing 10 changed files with 15 additions and 15 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,19 +59,19 @@ current_id:当前id,标识本生产者在当前周期下生产到了哪个id
![](https://note.youdao.com/yws/api/personal/file/WEB21517303ba4dba3ce73b76e4c338e1b8?method=download&shareKey=77b353a4a710cef174402c89d6586da3)

## 2. 服务端部署
### 1. [下载服务端](https://repo.maven.apache.org/maven2/org/antframework/idcenter/idcenter-assemble/1.1.0.RELEASE/idcenter-assemble-1.1.0.RELEASE-exec.jar)。说明:
### 1. [下载服务端](https://repo.maven.apache.org/maven2/org/antframework/idcenter/idcenter-assemble/1.2.0.RELEASE/idcenter-assemble-1.2.0.RELEASE-exec.jar)。说明:
1. 服务端使用的springboot,直接命令启动下载好的jar包即可,无需部署tomcat。
2. 服务端使用hibernate自动生成表结构,无需导入sql。
3. 服务端在启动时会在"/var/apps/"下创建日志文件,请确保服务端对该目录拥有写权限。

### 2. 启动服务端:
启动命令模板:
```
java -jar idcenter-assemble-1.1.0.RELEASE-exec.jar --spring.profiles.active="环境编码" --spring.datasource.url="数据库连接" --spring.datasource.username="数据库用户名" --spring.datasource.password="数据库密码"
java -jar idcenter-assemble-1.2.0.RELEASE-exec.jar --spring.profiles.active="环境编码" --spring.datasource.url="数据库连接" --spring.datasource.username="数据库用户名" --spring.datasource.password="数据库密码"
```
比如:
```
java -jar idcenter-assemble-1.1.0.RELEASE-exec.jar --spring.profiles.active="online" --spring.datasource.url="jdbc:mysql://localhost:3306/idcenter-dev?useUnicode=true&characterEncoding=utf-8" --spring.datasource.username="root" --spring.datasource.password="root"
java -jar idcenter-assemble-1.2.0.RELEASE-exec.jar --spring.profiles.active="online" --spring.datasource.url="jdbc:mysql://localhost:3306/idcenter-dev?useUnicode=true&characterEncoding=utf-8" --spring.datasource.username="root" --spring.datasource.password="root"
```
### 3. 后台管理
后台中管理员有两种:超级管理员、普通管理员。超级管理员可以管理所有id提供者,也可以管理其他管理员;普通管理员只能管理分配给他的id提供者。
Expand All @@ -90,7 +90,7 @@ java -jar idcenter-assemble-1.1.0.RELEASE-exec.jar --spring.profiles.active="onl
<dependency>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter-client</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</dependency>
```
### 2. 使用客户端
Expand Down
2 changes: 1 addition & 1 deletion idcenter-assemble/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-assemble</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-biz/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-biz</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-client</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-common</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-dal/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-dal</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-facade/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-facade</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-test/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-test</artifactId>
Expand Down
2 changes: 1 addition & 1 deletion idcenter-web/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<parent>
<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<artifactId>idcenter-web</artifactId>
Expand Down
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
<parent>
<groupId>org.antframework.boot</groupId>
<artifactId>ant-boot-starter-parent</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</parent>

<groupId>org.antframework.idcenter</groupId>
<artifactId>idcenter</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
<packaging>pom</packaging>

<name>idcenter</name>
Expand All @@ -32,7 +32,7 @@
<dependency>
<groupId>org.antframework.manager</groupId>
<artifactId>manager-web</artifactId>
<version>1.1.0.RELEASE</version>
<version>1.2.0.RELEASE</version>
</dependency>
</dependencies>
</dependencyManagement>
Expand Down

0 comments on commit d6472a3

Please sign in to comment.