|
@@ -1,14 +1,11 @@
|
|
spring.profiles.active=dev
|
|
spring.profiles.active=dev
|
|
|
|
|
|
-spring.application.name=ExamCloud-SERVICE-OUTLET
|
|
|
|
|
|
+spring.application.name=EC-EXCHANGE
|
|
server.port=8007
|
|
server.port=8007
|
|
|
|
|
|
spring.datasource.validation-query=SELECT 1 FROM DUAL
|
|
spring.datasource.validation-query=SELECT 1 FROM DUAL
|
|
spring.datasource.test-on-borrow=true
|
|
spring.datasource.test-on-borrow=true
|
|
|
|
|
|
-spring.http.multipart.max-file-size=50Mb
|
|
|
|
-spring.http.multipart.max-request-size=50Mb
|
|
|
|
-
|
|
|
|
server.max-http-header-size=1048576
|
|
server.max-http-header-size=1048576
|
|
|
|
|
|
spring.jpa.show-sql=false
|
|
spring.jpa.show-sql=false
|
|
@@ -21,4 +18,12 @@ $rmp.cloud.exchange.outer=/api/ecs_outlet
|
|
$rmp.ctr.examwork=/api/ecs_exam_work
|
|
$rmp.ctr.examwork=/api/ecs_exam_work
|
|
$rmp.ctr.basic=/api/ecs_core
|
|
$rmp.ctr.basic=/api/ecs_core
|
|
|
|
|
|
|
|
+eureka.instance.lease-renewal-interval-in-seconds=1
|
|
|
|
+eureka.instance.lease-expiration-duration-in-seconds=2
|
|
|
|
+eureka.instance.prefer-ip-address=true
|
|
|
|
+eureka.instance.instance-id=${spring.cloud.client.ipAddress}:${server.port}
|
|
|
|
+eureka.client.healthcheck.enabled=true
|
|
|
|
+
|
|
|
|
+info.app=${spring.application.name}
|
|
|
|
+
|
|
|
|
|