Commit fe761a80a1b56e0ff1736f3f3d660e73a13e69b0

Authored by Liu Haoyu
1 parent f1d1834f

配置文件由39修改到117上;

src/main/java/com/objecteye/utils/LinuxUtils.java
... ... @@ -30,13 +30,13 @@ public class LinuxUtils {
30 30 process = run.exec(cmdList);
31 31 }
32 32 if (log.isDebugEnabled()) {
33   - log.debug("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|cmd: {}", cmd);
  33 + log.debug("executeLinuxCmd|cmd: {}", cmd);
34 34 }
35 35 String line;
36 36 BufferedReader stdoutReader = new BufferedReader(new InputStreamReader(process.getInputStream()));
37 37 while ((line = stdoutReader.readLine()) != null) {
38 38 if (log.isDebugEnabled()) {
39   - log.debug("OccupationOfBasicResourcesServiceImpl|executeLinuxCmd|line: {}", line);
  39 + log.debug("executeLinuxCmd|line: {}", line);
40 40 }
41 41  
42 42 if (line.contains("command not found") && line.contains("-bash")) {
... ...
src/main/resources/application-test.yml
1 1 spring:
2 2 datasource:
3   - url: jdbc:mysql://192.168.10.39:3306/sy_vehicle?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
  3 + url: jdbc:mysql://192.168.10.117:3306/sy_vehicle?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai
4 4 username: root
5 5 password: 123456
6 6 data:
7 7 mongodb:
8   - uri: mongodb://192.168.10.39:27017/vehicle
  8 + uri: mongodb://vehicle:shiyu2018@192.168.10.117:27017/vehicle
9 9 servlet:
10 10 multipart:
11 11 max-file-size: 20MB
12 12 max-request-size: 20MB
13 13 redis:
14 14 database: 0
15   - host: 192.168.10.39
  15 + host: 192.168.10.117
16 16 port: 6379
17 17 jedis:
18 18 pool:
... ...
src/main/resources/application.yml
... ... @@ -2,10 +2,10 @@ spring:
2 2 profiles:
3 3 active: test #默认开发环境
4 4 rabbitmq:
5   - host: 192.168.10.39
  5 + host: 192.168.10.117
6 6 port: 5672
7   - username: admin
8   - password: 123456
  7 + username: shiyu
  8 + password: shiyu
9 9 virtualHost: /
10 10  
11 11  
... ...