diff options
| author | 刘永强 <[email protected]> | 2020-08-24 15:35:25 +0800 |
|---|---|---|
| committer | 刘永强 <[email protected]> | 2020-08-24 15:35:25 +0800 |
| commit | 1295c2a3105bb3b509a4a9ec2e3b64dbb4a750cf (patch) | |
| tree | f3ff1a50bba65a7460b27add9850a40a8941bae0 | |
| parent | 4123016892c24f36c85dfcd9df28044bb287655e (diff) | |
update config
4 files changed, 36 insertions, 0 deletions
diff --git a/galaxy-data-engine/src/main/resources/application-dev.properties b/galaxy-data-engine/src/main/resources/application-dev.properties index b937e2e..c5b34bf 100644 --- a/galaxy-data-engine/src/main/resources/application-dev.properties +++ b/galaxy-data-engine/src/main/resources/application-dev.properties @@ -1,11 +1,22 @@ #����˿����� server.port=8701 +#��ʾeureka-client������ȥ��ȡ����ע����Ϣ +eureka.client.registry-fetch-interval-seconds=5 +#��ʾeureka-client����������server�˵�Ƶ�� +eureka.instance.lease-renewal-interval-in-seconds=10 +#�������ҳ���URL +eureka.instance.health-check-url-path=/actuator/health #��Eurekaע��������ĵ�ͨ��zone��url��ַ eureka.client.serviceUrl.defaultZone=http://admin:admin@localhost:8501/eureka/ #��ʵ�������hostname�Ƿ�����ʹ��IP eureka.instance.prefer-ip-address=true #��ʵ��ע�ᵽ�������ĵ�ΨһID eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port} +#��¶���ж˵� +management.endpoints.web.exposure.include=* +#��ϸ��Ӧ�ý�����Ϣ +management.endpoint.health.show-details=always + #HttpClient���� httpclient.connectTimeout=1000 httpclient.socketTimeout=21700000 diff --git a/galaxy-data-engine/src/main/resources/application-prod.properties b/galaxy-data-engine/src/main/resources/application-prod.properties index b937e2e..c5b34bf 100644 --- a/galaxy-data-engine/src/main/resources/application-prod.properties +++ b/galaxy-data-engine/src/main/resources/application-prod.properties @@ -1,11 +1,22 @@ #����˿����� server.port=8701 +#��ʾeureka-client������ȥ��ȡ����ע����Ϣ +eureka.client.registry-fetch-interval-seconds=5 +#��ʾeureka-client����������server�˵�Ƶ�� +eureka.instance.lease-renewal-interval-in-seconds=10 +#�������ҳ���URL +eureka.instance.health-check-url-path=/actuator/health #��Eurekaע��������ĵ�ͨ��zone��url��ַ eureka.client.serviceUrl.defaultZone=http://admin:admin@localhost:8501/eureka/ #��ʵ�������hostname�Ƿ�����ʹ��IP eureka.instance.prefer-ip-address=true #��ʵ��ע�ᵽ�������ĵ�ΨһID eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port} +#��¶���ж˵� +management.endpoints.web.exposure.include=* +#��ϸ��Ӧ�ý�����Ϣ +management.endpoint.health.show-details=always + #HttpClient���� httpclient.connectTimeout=1000 httpclient.socketTimeout=21700000 diff --git a/galaxy-data-engine/src/main/resources/application-test.properties b/galaxy-data-engine/src/main/resources/application-test.properties index b937e2e..c5b34bf 100644 --- a/galaxy-data-engine/src/main/resources/application-test.properties +++ b/galaxy-data-engine/src/main/resources/application-test.properties @@ -1,11 +1,22 @@ #����˿����� server.port=8701 +#��ʾeureka-client������ȥ��ȡ����ע����Ϣ +eureka.client.registry-fetch-interval-seconds=5 +#��ʾeureka-client����������server�˵�Ƶ�� +eureka.instance.lease-renewal-interval-in-seconds=10 +#�������ҳ���URL +eureka.instance.health-check-url-path=/actuator/health #��Eurekaע��������ĵ�ͨ��zone��url��ַ eureka.client.serviceUrl.defaultZone=http://admin:admin@localhost:8501/eureka/ #��ʵ�������hostname�Ƿ�����ʹ��IP eureka.instance.prefer-ip-address=true #��ʵ��ע�ᵽ�������ĵ�ΨһID eureka.instance.instance-id=${spring.cloud.client.ip-address}:${server.port} +#��¶���ж˵� +management.endpoints.web.exposure.include=* +#��ϸ��Ӧ�ý�����Ϣ +management.endpoint.health.show-details=always + #HttpClient���� httpclient.connectTimeout=1000 httpclient.socketTimeout=21700000 diff --git a/galaxy-data-engine/src/main/resources/application.properties b/galaxy-data-engine/src/main/resources/application.properties index 891fae6..5208294 100644 --- a/galaxy-data-engine/src/main/resources/application.properties +++ b/galaxy-data-engine/src/main/resources/application.properties @@ -1,3 +1,6 @@ +#��ǰ����Ļ������� spring.profiles.active=dev +#Ӧ���������� spring.application.name=galaxy-data-engine +#��־�����ļ�·�� logging.config=classpath:logback-spring.xml
\ No newline at end of file |
