MarkHuang 5 роки тому
батько
коміт
bbc5fe1dd0

+ 7 - 5
src/main/resources/application-dev.yml

@@ -62,11 +62,6 @@ spring:
           url: jdbc:mysql://192.168.2.236:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
           username: root
           password: lantone
-  data:
-    neo4j:
-      URI: http://192.168.3.150:7478
-      username: neo4j
-      password: root
 
   #redis
   redis:
@@ -88,6 +83,13 @@ spring:
     multipart:
       max-request-size: 2048MB
 
+
+neo4j:
+  data:
+    URI: http://192.168.3.150:7478
+    username: neo4j
+    password: root
+
 #mybatis
 mybatis-plus:
   mapper-locations: classpath:/mapper/*Mapper.xml

+ 14 - 43
src/main/resources/application-local.yml

@@ -55,49 +55,11 @@ spring:
     minIdle: 1
     #定义最长等待时间
     maxWait: 60000
-  data:
-    neo4j:
-      URI: http://192.168.3.150:7478
-      username: neo4j
-      password: root
-
-
-  #      uri: bolt://192.168.3.150:7690
-  #    driver-class-name: org.neo4j.jdbc.Driver
-  #    url: jdbc:neo4j:http://192.168.3.150:7478
-  #    username: neo4j
-  #    password: root
-#spring:
-#  datasource:
-#    dynamic:
-#      primary: neo4j
-#      # 数据库配置
-#      datasource:
-#        neo4j:
-#          driver: org.neo4j.ogm.drivers.http.driver.HttpDriver
-#          uri: http://192.168.3.150:7478
-##          driver-class-name: org.neo4j.jdbc.Driver
-##          url: jdbc:neo4j:http://192.168.3.150:7478
-#          username: neo4j
-#          password: root
-#          # 连接池的配置信息
-#          #定义初始连接数
-#          initialSize: 5
-#          #定义最大连接数
-#          maxActive: 20
-#          #定义最大空闲
-#          maxIdle: 20
-#          #定义最小空闲
-#          minIdle: 1
-#          #定义最长等待时间
-#          maxWait: 60000
-#        mysql:
-#          driver-class-name: com.mysql.cj.jdbc.Driver
-#          platform: mysql
-#          url: jdbc:mysql://192.168.2.236:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
-#          username: root
-#          password: lantone
-#
+
+
+
+
+
 
   #redis
   redis:
@@ -119,6 +81,15 @@ spring:
     multipart:
       max-request-size: 2048MB
 
+
+neo4j:
+  data:
+    URI: http://192.168.3.150:7478
+    username: neo4j
+    password: root
+
+
+
 #mybatis
 mybatis-plus:
   mapper-locations: classpath:/mapper/*Mapper.xml

+ 8 - 5
src/main/resources/application-pre.yml

@@ -62,11 +62,6 @@ spring:
           url: jdbc:mysql://192.168.2.121:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
           username: teamback
           password: goTulmLeon
-  data:
-    neo4j:
-      URI: http://192.168.3.150:7478
-      username: neo4j
-      password: root
 
   #redis
   redis:
@@ -88,6 +83,14 @@ spring:
     multipart:
       max-request-size: 2048MB
 
+
+neo4j:
+  data:
+    URI: http://192.168.3.150:7478
+    username: neo4j
+    password: root
+
+
 #mybatis
 mybatis-plus:
   mapper-locations: classpath:/mapper/*Mapper.xml

+ 8 - 5
src/main/resources/application-pro.yml

@@ -62,11 +62,6 @@ spring:
           url: jdbc:mysql://192.168.2.122:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
           username: root
           password: lantone
-  data:
-    neo4j:
-      URI: http://192.168.3.150:7478
-      username: neo4j
-      password: root
 
 
   #redis
@@ -89,6 +84,14 @@ spring:
     multipart:
       max-request-size: 2048MB
 
+
+neo4j:
+  data:
+    URI: http://192.168.3.150:7478
+    username: neo4j
+    password: root
+
+
 #mybatis
 mybatis-plus:
   mapper-locations: classpath:/mapper/*Mapper.xml

+ 7 - 5
src/main/resources/application-test.yml

@@ -62,11 +62,6 @@ spring:
           url: jdbc:mysql://192.168.2.241:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
           username: root
           password: lantone
-  data:
-    neo4j:
-      URI: http://192.168.3.150:7478
-      username: neo4j
-      password: root
 
 
   #redis
@@ -89,6 +84,13 @@ spring:
     multipart:
       max-request-size: 2048MB
 
+
+neo4j:
+  data:
+    URI: http://192.168.3.150:7478
+    username: neo4j
+    password: root
+
 #mybatis
 mybatis-plus:
   mapper-locations: classpath:/mapper/*Mapper.xml