Browse Source

Merge branches 'dev' and 'dev_issue_project' of http://git.elinkit.com.cn:7070/r/epmet-cloud into dev_issue_project

master
yinzuomei 5 years ago
parent
commit
5d9d20ce4b
  1. 2
      epmet-auth/deploy/docker-compose-dev.yml
  2. 6
      epmet-auth/deploy/docker-compose-test.yml
  3. 2
      epmet-auth/pom.xml
  4. 3
      epmet-module/gov-access/gov-access-client/src/main/java/com/epmet/dto/feign/GovAccessFeignClient.java
  5. 2
      epmet-module/gov-access/gov-access-server/deploy/docker-compose-dev.yml
  6. 6
      epmet-module/gov-access/gov-access-server/deploy/docker-compose-test.yml
  7. 2
      epmet-module/gov-access/gov-access-server/pom.xml
  8. 5
      epmet-module/gov-access/gov-access-server/src/main/java/com/epmet/constant/OperationScopeConstant.java
  9. 43
      epmet-module/gov-access/gov-access-server/src/main/java/com/epmet/service/impl/AccessServiceImpl.java
  10. 2
      epmet-module/gov-grid/gov-grid-server/deploy/docker-compose-dev.yml
  11. 6
      epmet-module/gov-grid/gov-grid-server/deploy/docker-compose-test.yml
  12. 2
      epmet-module/gov-grid/gov-grid-server/pom.xml
  13. 2
      epmet-module/gov-issue/gov-issue-server/deploy/docker-compose-dev.yml
  14. 6
      epmet-module/gov-issue/gov-issue-server/deploy/docker-compose-test.yml
  15. 2
      epmet-module/gov-issue/gov-issue-server/pom.xml
  16. 2
      epmet-module/gov-org/gov-org-server/deploy/docker-compose-dev.yml
  17. 6
      epmet-module/gov-org/gov-org-server/deploy/docker-compose-test.yml
  18. 2
      epmet-module/gov-org/gov-org-server/pom.xml
  19. 2
      epmet-module/gov-project/gov-project-server/deploy/docker-compose-dev.yml
  20. 6
      epmet-module/gov-project/gov-project-server/deploy/docker-compose-test.yml
  21. 2
      epmet-module/gov-project/gov-project-server/pom.xml
  22. 2
      epmet-module/oper-crm/oper-crm-server/deploy/docker-compose-dev.yml
  23. 2
      epmet-module/oper-crm/oper-crm-server/deploy/docker-compose-test.yml
  24. 2
      epmet-module/oper-crm/oper-crm-server/pom.xml
  25. 4
      epmet-module/oper-crm/oper-crm-server/src/main/java/com/epmet/feign/OperCustomizeFeignClient.java
  26. 2
      epmet-user/epmet-user-server/deploy/docker-compose-dev.yml
  27. 2
      epmet-user/epmet-user-server/deploy/docker-compose-test.yml
  28. 2
      epmet-user/epmet-user-server/pom.xml

2
epmet-auth/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
epmet-auth-server: epmet-auth-server:
container_name: epmet-auth-server-dev container_name: epmet-auth-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-auth:0.3.11 image: 192.168.1.130:10080/epmet-cloud-dev/epmet-auth:0.3.12
ports: ports:
- "8081:8081" - "8081:8081"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-auth/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
epmet-auth-server: epmet-auth-server:
container_name: epmet-auth-server-test container_name: epmet-auth-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/epmet-auth:0.3.11 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/epmet-auth:0.3.12
ports: ports:
- "8081:8081" - "8081:8081"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 250M memory: 400M

2
epmet-auth/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<version>0.3.11</version> <version>0.3.12</version>
<parent> <parent>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>epmet-cloud</artifactId> <artifactId>epmet-cloud</artifactId>

3
epmet-module/gov-access/gov-access-client/src/main/java/com/epmet/dto/feign/GovAccessFeignClient.java

@ -8,8 +8,7 @@ import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody; import org.springframework.web.bind.annotation.RequestBody;
//@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovAccessFeignClientFallBack.class) @FeignClient(name = ServiceConstant.GOV_ACCESS_SERVER, fallback = GovAccessFeignClientFallBack.class)
@FeignClient(name = ServiceConstant.GOV_ORG_SERVER, fallback = GovAccessFeignClientFallBack.class, url = "localhost:8099")
public interface GovAccessFeignClient { public interface GovAccessFeignClient {
/** /**

2
epmet-module/gov-access/gov-access-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
gov-access-server: gov-access-server:
container_name: gov-access-server-dev container_name: gov-access-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/gov-access-server:0.3.13 image: 192.168.1.130:10080/epmet-cloud-dev/gov-access-server:0.3.14
ports: ports:
- "8099:8099" - "8099:8099"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-module/gov-access/gov-access-server/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
gov-access-server: gov-access-server:
container_name: gov-access-server-test container_name: gov-access-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-access-server:0.3.13 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-access-server:0.3.14
ports: ports:
- "8099:8099" - "8099:8099"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 250M memory: 400M

2
epmet-module/gov-access/gov-access-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.3.13</version> <version>0.3.14</version>
<parent> <parent>
<artifactId>gov-access</artifactId> <artifactId>gov-access</artifactId>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>

5
epmet-module/gov-access/gov-access-server/src/main/java/com/epmet/constant/OperationScopeConstant.java

@ -39,6 +39,11 @@ public class OperationScopeConstant {
//"本组织" //"本组织"
public static final String SCOPE_ORG_CURR = "org_curr"; public static final String SCOPE_ORG_CURR = "org_curr";
//"本组织的上级"
public static final String SCOPE_ORG_CURR_SUP = "org_curr_sup";
//"本组织及上级"
public static final String SCOPE_ORG_CURR_AND_SUP = "org_curr_and_sup";
//我创建的 //我创建的
public static final String SCOPE_I_CREATED = "i_created"; public static final String SCOPE_I_CREATED = "i_created";
//网格内 //网格内

43
epmet-module/gov-access/gov-access-server/src/main/java/com/epmet/service/impl/AccessServiceImpl.java

@ -3,7 +3,6 @@ package com.epmet.service.impl;
import cn.hutool.core.collection.CollectionUtil; import cn.hutool.core.collection.CollectionUtil;
import com.epmet.bean.OpeScopeFilterResultBean; import com.epmet.bean.OpeScopeFilterResultBean;
import com.epmet.commons.tools.constant.AppClientConstant; import com.epmet.commons.tools.constant.AppClientConstant;
import com.epmet.commons.tools.constant.OpeScopeConstant;
import com.epmet.commons.tools.exception.EpmetErrorCode; import com.epmet.commons.tools.exception.EpmetErrorCode;
import com.epmet.commons.tools.exception.ExceptionUtils; import com.epmet.commons.tools.exception.ExceptionUtils;
import com.epmet.commons.tools.exception.RenException; import com.epmet.commons.tools.exception.RenException;
@ -175,7 +174,7 @@ public class AccessServiceImpl implements AccessService {
Set<String> switchScopes = effectiveOpeScopes.getSwitchScopes(); Set<String> switchScopes = effectiveOpeScopes.getSwitchScopes();
// 生成组织上下级关系系列的sql过滤片段 // 生成组织上下级关系系列的sql过滤片段
if (!CollectionUtil.isEmpty(orgLevelScopes) && !orgLevelScopes.contains(OpeScopeConstant.ORG_ALL)) { if (!CollectionUtil.isEmpty(orgLevelScopes) && !orgLevelScopes.contains(OperationScopeConstant.SCOPE_ORG_ALL)) {
genOrgLevelScopeSqlFilter(sb, orgLevelScopes, userDetails.getOrgIdPath(), form.getTableAlias()); genOrgLevelScopeSqlFilter(sb, orgLevelScopes, userDetails.getOrgIdPath(), form.getTableAlias());
} }
@ -316,7 +315,7 @@ public class AccessServiceImpl implements AccessService {
for (RoleOpeScopeResultDTO scope : scopeDTOS) { for (RoleOpeScopeResultDTO scope : scopeDTOS) {
if (OpeScopeConstant.ALL.equals(scope.getScopeKey())) { if (OperationScopeConstant.SCOPE_ALL.equals(scope.getScopeKey())) {
all = true; all = true;
break; break;
} }
@ -327,7 +326,7 @@ public class AccessServiceImpl implements AccessService {
} }
String scopeIndex = scope.getScopeIndex(); String scopeIndex = scope.getScopeIndex();
if (OpeScopeConstant.ORG_ALL.equals(scope.getScopeKey())) { if (OperationScopeConstant.SCOPE_ORG_ALL.equals(scope.getScopeKey())) {
// 该操作具有org_all的权限,直接放入 // 该操作具有org_all的权限,直接放入
orgLevelScopes.put(scopeIndex, scope); orgLevelScopes.put(scopeIndex, scope);
continue; continue;
@ -378,7 +377,7 @@ public class AccessServiceImpl implements AccessService {
for (String scope : scopes) { for (String scope : scopes) {
switch (scope) { switch (scope) {
// 当前单位(可以用ORG_ID_PATH,也可以用ORG_ID判断) // 当前单位(可以用ORG_ID_PATH,也可以用ORG_ID判断)
case OpeScopeConstant.ORG_CURR: case OperationScopeConstant.SCOPE_ORG_CURR:
if (StringUtils.isBlank(tableAlias)) { if (StringUtils.isBlank(tableAlias)) {
sb.append(" ORG_ID_PATH = '").append(orgIdPath).append("' OR "); sb.append(" ORG_ID_PATH = '").append(orgIdPath).append("' OR ");
//sb.append(" ORG_ID = '").append(currOrgID).append("' OR "); //sb.append(" ORG_ID = '").append(currOrgID).append("' OR ");
@ -388,7 +387,7 @@ public class AccessServiceImpl implements AccessService {
} }
break; break;
// 本单位及其子级单位 // 本单位及其子级单位
case OpeScopeConstant.ORG_CURR_AND_SUB: case OperationScopeConstant.SCOPE_ORG_CURR_AND_SUB:
if (StringUtils.isBlank(tableAlias)) { if (StringUtils.isBlank(tableAlias)) {
sb.append(" ORG_ID_PATH like '").append(orgIdPath).append("%' OR "); sb.append(" ORG_ID_PATH like '").append(orgIdPath).append("%' OR ");
} else { } else {
@ -396,7 +395,7 @@ public class AccessServiceImpl implements AccessService {
} }
break; break;
// 本单位的子级单位 // 本单位的子级单位
case OpeScopeConstant.ORG_CURR_SUB: case OperationScopeConstant.SCOPE_ORG_CURR_SUB:
if (StringUtils.isBlank(tableAlias)) { if (StringUtils.isBlank(tableAlias)) {
sb.append(" ORG_ID_PATH like '").append(orgIdPath).append(":%' OR "); sb.append(" ORG_ID_PATH like '").append(orgIdPath).append(":%' OR ");
} else { } else {
@ -404,7 +403,7 @@ public class AccessServiceImpl implements AccessService {
} }
break; break;
//当前单位的父级单位 //当前单位的父级单位
case OpeScopeConstant.ORG_CURR_SUP: case OperationScopeConstant.SCOPE_ORG_CURR_SUP:
if (StringUtils.isBlank(tableAlias)) { if (StringUtils.isBlank(tableAlias)) {
sb.append(" '").append(orgIdPath).append("' like CONCAT(").append("ORG_ID_PATH,':%') OR "); sb.append(" '").append(orgIdPath).append("' like CONCAT(").append("ORG_ID_PATH,':%') OR ");
} else { } else {
@ -412,30 +411,30 @@ public class AccessServiceImpl implements AccessService {
} }
break; break;
// 当前单位及其父级单位 // 当前单位及其父级单位
case OpeScopeConstant.ORG_CURR_AND_SUP: case OperationScopeConstant.SCOPE_ORG_CURR_AND_SUP:
if (StringUtils.isBlank(tableAlias)) { if (StringUtils.isBlank(tableAlias)) {
sb.append(" '").append(orgIdPath).append("' like CONCAT(").append("ORG_ID_PATH,'%') OR "); sb.append(" '").append(orgIdPath).append("' like CONCAT(").append("ORG_ID_PATH,'%') OR ");
} else { } else {
sb.append(" '").append(orgIdPath).append("' like CONCAT(").append(tableAlias).append(".ORG_ID_PATH,'%' ) OR "); sb.append(" '").append(orgIdPath).append("' like CONCAT(").append(tableAlias).append(".ORG_ID_PATH,'%' ) OR ");
} }
break; break;
case OpeScopeConstant.ORG_EQUAL: case OperationScopeConstant.SCOPE_ORG_EQUAL:
// todo 同级 // todo 同级
//sb.append(" OR "); //sb.append(" OR ");
break; break;
case OpeScopeConstant.ORG_EQUAL_AND_SUB: case OperationScopeConstant.SCOPE_ORG_EQUAL_AND_SUB:
// todo 同级及其子级 // todo 同级及其子级
//sb.append(" OR "); //sb.append(" OR ");
break; break;
case OpeScopeConstant.ORG_EQUAL_SUB: case OperationScopeConstant.SCOPE_ORG_EQUAL_SUB:
// todo 同级的子级 // todo 同级的子级
//sb.append(" OR "); //sb.append(" OR ");
break; break;
case OpeScopeConstant.ORG_EQUAL_AND_SUP: case OperationScopeConstant.SCOPE_ORG_EQUAL_AND_SUP:
// todo 同级及其上级 // todo 同级及其上级
//sb.append(" OR "); //sb.append(" OR ");
break; break;
case OpeScopeConstant.ORG_EQUAL_SUP: case OperationScopeConstant.SCOPE_ORG_EQUAL_SUP:
// todo 同级的上级 // todo 同级的上级
//sb.append(" OR "); //sb.append(" OR ");
break; break;
@ -539,7 +538,7 @@ public class AccessServiceImpl implements AccessService {
HashSet<String> opeKeys = new HashSet<>(); HashSet<String> opeKeys = new HashSet<>();
for (RoleOpeScopeResultDTO opeScope : roleOperations) { for (RoleOpeScopeResultDTO opeScope : roleOperations) {
String scopeKey = opeScope.getScopeKey(); String scopeKey = opeScope.getScopeKey();
if (OpeScopeConstant.ORG_ALL.equals(scopeKey) || OpeScopeConstant.ALL.equals(scopeKey)) { if (OperationScopeConstant.SCOPE_ORG_ALL.equals(scopeKey) || OperationScopeConstant.SCOPE_ALL.equals(scopeKey)) {
// 如果该操作的范围是org_all或者all,不需要根据上下级关系判断,直接返回即可。 // 如果该操作的范围是org_all或者all,不需要根据上下级关系判断,直接返回即可。
opeKeys.add(opeScope.getOperationKey()); opeKeys.add(opeScope.getOperationKey());
continue; continue;
@ -553,21 +552,21 @@ public class AccessServiceImpl implements AccessService {
switch (currOrgRelation) { switch (currOrgRelation) {
case ORG_RELATION_SAME:// 就在所在机构下 case ORG_RELATION_SAME:// 就在所在机构下
if (OpeScopeConstant.ORG_CURR.equals(scopeKey) if (OperationScopeConstant.SCOPE_ORG_CURR.equals(scopeKey)
|| OpeScopeConstant.ORG_CURR_AND_SUB.equals(scopeKey) || OperationScopeConstant.SCOPE_ORG_CURR_AND_SUB.equals(scopeKey)
|| OpeScopeConstant.ORG_CURR_AND_SUP.equals(scopeKey)) { || OperationScopeConstant.SCOPE_ORG_CURR_AND_SUP.equals(scopeKey)) {
opeKeys.add(opeScope.getOperationKey()); opeKeys.add(opeScope.getOperationKey());
} }
break; break;
case ORG_RELATION_SUB:// 所在机构的子级 case ORG_RELATION_SUB:// 所在机构的子级
if (OpeScopeConstant.ORG_CURR_SUB.equals(scopeKey) if (OperationScopeConstant.SCOPE_ORG_CURR_SUB.equals(scopeKey)
|| OpeScopeConstant.ORG_CURR_AND_SUB.equals(scopeKey)) { || OperationScopeConstant.SCOPE_ORG_CURR_AND_SUB.equals(scopeKey)) {
opeKeys.add(opeScope.getOperationKey()); opeKeys.add(opeScope.getOperationKey());
} }
break; break;
case ORG_RELATION_SUP:// 所在机构的上级 case ORG_RELATION_SUP:// 所在机构的上级
if (OpeScopeConstant.ORG_CURR_SUP.equals(scopeKey) if (OperationScopeConstant.SCOPE_ORG_CURR_SUP.equals(scopeKey)
|| OpeScopeConstant.ORG_CURR_AND_SUP.equals(scopeKey)) { || OperationScopeConstant.SCOPE_ORG_CURR_AND_SUP.equals(scopeKey)) {
opeKeys.add(opeScope.getOperationKey()); opeKeys.add(opeScope.getOperationKey());
} }
break; break;

2
epmet-module/gov-grid/gov-grid-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
gov-grid-server: gov-grid-server:
container_name: gov-grid-server-dev container_name: gov-grid-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/gov-grid-server:0.3.22 image: 192.168.1.130:10080/epmet-cloud-dev/gov-grid-server:0.3.23
ports: ports:
- "8097:8097" - "8097:8097"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-module/gov-grid/gov-grid-server/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
gov-grid-server: gov-grid-server:
container_name: gov-grid-server-test container_name: gov-grid-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-grid-server:0.3.22 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-grid-server:0.3.23
ports: ports:
- "8097:8097" - "8097:8097"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 300M memory: 400M

2
epmet-module/gov-grid/gov-grid-server/pom.xml

@ -3,7 +3,7 @@
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<version>0.3.22</version> <version>0.3.23</version>
<parent> <parent>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>gov-grid</artifactId> <artifactId>gov-grid</artifactId>

2
epmet-module/gov-issue/gov-issue-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
gov-issue-server: gov-issue-server:
container_name: gov-issue-server-dev container_name: gov-issue-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/gov-issue-server:0.3.25 image: 192.168.1.130:10080/epmet-cloud-dev/gov-issue-server:0.3.26
ports: ports:
- "8101:8101" - "8101:8101"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-module/gov-issue/gov-issue-server/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
gov-issue-server: gov-issue-server:
container_name: gov-issue-server-test container_name: gov-issue-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-issue-server:0.3.25 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-issue-server:0.3.26
ports: ports:
- "8101:8101" - "8101:8101"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 250M memory: 400M

2
epmet-module/gov-issue/gov-issue-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.3.25</version> <version>0.3.26</version>
<parent> <parent>
<artifactId>gov-issue</artifactId> <artifactId>gov-issue</artifactId>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>

2
epmet-module/gov-org/gov-org-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
gov-org-server: gov-org-server:
container_name: gov-org-server-dev container_name: gov-org-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/gov-org-server:0.3.51 image: 192.168.1.130:10080/epmet-cloud-dev/gov-org-server:0.3.52
ports: ports:
- "8092:8092" - "8092:8092"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-module/gov-org/gov-org-server/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
gov-org-server: gov-org-server:
container_name: gov-org-server-test container_name: gov-org-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-org-server:0.3.51 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-org-server:0.3.52
ports: ports:
- "8092:8092" - "8092:8092"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 300M memory: 400M

2
epmet-module/gov-org/gov-org-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<version>0.3.51</version> <version>0.3.52</version>
<parent> <parent>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>gov-org</artifactId> <artifactId>gov-org</artifactId>

2
epmet-module/gov-project/gov-project-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
gov-project-server: gov-project-server:
container_name: gov-project-server-dev container_name: gov-project-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/gov-project-server:0.3.16 image: 192.168.1.130:10080/epmet-cloud-dev/gov-project-server:0.3.17
ports: ports:
- "8102:8102" - "8102:8102"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

6
epmet-module/gov-project/gov-project-server/deploy/docker-compose-test.yml

@ -2,16 +2,16 @@ version: "3.7"
services: services:
gov-project-server: gov-project-server:
container_name: gov-project-server-test container_name: gov-project-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-project-server:0.3.16 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/gov-project-server:0.3.17
ports: ports:
- "8102:8102" - "8102:8102"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络
volumes: volumes:
- "/opt/epmet-cloud-logs/test:/logs" - "/opt/epmet-cloud-logs/test:/logs"
environment: environment:
RUN_INSTRUCT: "java -Xms32m -Xmx200m -jar ./app.jar" RUN_INSTRUCT: "java -Xms32m -Xmx300m -jar ./app.jar"
deploy: deploy:
resources: resources:
limits: limits:
cpus: '0.1' cpus: '0.1'
memory: 250M memory: 400M

2
epmet-module/gov-project/gov-project-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" <project xmlns="http://maven.apache.org/POM/4.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<version>0.3.16</version> <version>0.3.17</version>
<parent> <parent>
<artifactId>gov-project</artifactId> <artifactId>gov-project</artifactId>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>

2
epmet-module/oper-crm/oper-crm-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
oper-crm-server: oper-crm-server:
container_name: oper-crm-server-dev container_name: oper-crm-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/oper-crm-server:0.3.13 image: 192.168.1.130:10080/epmet-cloud-dev/oper-crm-server:0.3.14
ports: ports:
- "8090:8090" - "8090:8090"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

2
epmet-module/oper-crm/oper-crm-server/deploy/docker-compose-test.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
oper-crm-server: oper-crm-server:
container_name: oper-crm-server-test container_name: oper-crm-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/oper-crm-server:0.3.13 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/oper-crm-server:0.3.14
ports: ports:
- "8090:8090" - "8090:8090"
network_mode: host # 使用现有网络 network_mode: host # 使用现有网络

2
epmet-module/oper-crm/oper-crm-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<version>0.3.13</version> <version>0.3.14</version>
<parent> <parent>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>oper-crm</artifactId> <artifactId>oper-crm</artifactId>

4
epmet-module/oper-crm/oper-crm-server/src/main/java/com/epmet/feign/OperCustomizeFeignClient.java

@ -18,8 +18,8 @@ import org.springframework.web.bind.annotation.RequestBody;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallback = OperCustomizeFeignClientFallBack.class, url = "localhost:8089") //@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallback = OperCustomizeFeignClientFallBack.class, url = "localhost:8089")
//@FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallback = OperCustomizeFeignClientFallBack.class) @FeignClient(name = ServiceConstant.OPER_CUSTOMIZE_SERVER, fallback = OperCustomizeFeignClientFallBack.class)
public interface OperCustomizeFeignClient { public interface OperCustomizeFeignClient {
/** /**

2
epmet-user/epmet-user-server/deploy/docker-compose-dev.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
epmet-user-server: epmet-user-server:
container_name: epmet-user-server-dev container_name: epmet-user-server-dev
image: 192.168.1.130:10080/epmet-cloud-dev/epmet-user-server:0.3.37 image: 192.168.1.130:10080/epmet-cloud-dev/epmet-user-server:0.3.40
ports: ports:
- "8087:8087" - "8087:8087"
network_mode: host # 不会创建新的网络 network_mode: host # 不会创建新的网络

2
epmet-user/epmet-user-server/deploy/docker-compose-test.yml

@ -2,7 +2,7 @@ version: "3.7"
services: services:
epmet-user-server: epmet-user-server:
container_name: epmet-user-server-test container_name: epmet-user-server-test
image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/epmet-user-server:0.3.37 image: registry-vpc.cn-qingdao.aliyuncs.com/epmet-cloud-release/epmet-user-server:0.3.40
ports: ports:
- "8087:8087" - "8087:8087"
network_mode: host # 不会创建新的网络 network_mode: host # 不会创建新的网络

2
epmet-user/epmet-user-server/pom.xml

@ -2,7 +2,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 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> <modelVersion>4.0.0</modelVersion>
<version>0.3.37</version> <version>0.3.40</version>
<parent> <parent>
<groupId>com.epmet</groupId> <groupId>com.epmet</groupId>
<artifactId>epmet-user</artifactId> <artifactId>epmet-user</artifactId>

Loading…
Cancel
Save