diff --git a/deployment/roles/vitamui/templates/api-gateway/application.yml.j2 b/deployment/roles/vitamui/templates/api-gateway/application.yml.j2 index 06e73d63293..92a13c3dcb9 100644 --- a/deployment/roles/vitamui/templates/api-gateway/application.yml.j2 +++ b/deployment/roles/vitamui/templates/api-gateway/application.yml.j2 @@ -38,6 +38,7 @@ spring: discovery: serviceName: gateway-server preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} gateway: diff --git a/deployment/roles/vitamui/templates/archive-search-external/application.yml.j2 b/deployment/roles/vitamui/templates/archive-search-external/application.yml.j2 index e333925b47f..a379ac303d6 100644 --- a/deployment/roles/vitamui/templates/archive-search-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/archive-search-external/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} diff --git a/deployment/roles/vitamui/templates/archive-search-internal/application.yml.j2 b/deployment/roles/vitamui/templates/archive-search-internal/application.yml.j2 index 9e454857fad..8ac28b2c30b 100644 --- a/deployment/roles/vitamui/templates/archive-search-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/archive-search-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} data: diff --git a/deployment/roles/vitamui/templates/cas-server/application.yml.j2 b/deployment/roles/vitamui/templates/cas-server/application.yml.j2 index a5635d1cd44..18a0089c9ea 100644 --- a/deployment/roles/vitamui/templates/cas-server/application.yml.j2 +++ b/deployment/roles/vitamui/templates/cas-server/application.yml.j2 @@ -5,7 +5,9 @@ spring: host: {{ hostvars[inventory_hostname][consul.network] if (inventory_hostname in groups['hosts_vitamui_consul_server'] or inventory_hostname in groups['hosts_consul_server']) else 'localhost' }} discovery: preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} + spring.application.name: cas-server server: diff --git a/deployment/roles/vitamui/templates/collect-external/application.yml.j2 b/deployment/roles/vitamui/templates/collect-external/application.yml.j2 index beee7ad0049..be665b90ddb 100644 --- a/deployment/roles/vitamui/templates/collect-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/collect-external/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} servlet: diff --git a/deployment/roles/vitamui/templates/collect-internal/application.yml.j2 b/deployment/roles/vitamui/templates/collect-internal/application.yml.j2 index 91bff7d87f5..2440b864fae 100644 --- a/deployment/roles/vitamui/templates/collect-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/collect-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} data: diff --git a/deployment/roles/vitamui/templates/iam-external/application.yml.j2 b/deployment/roles/vitamui/templates/iam-external/application.yml.j2 index 77dea395046..9883ba63e37 100644 --- a/deployment/roles/vitamui/templates/iam-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/iam-external/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} diff --git a/deployment/roles/vitamui/templates/iam-internal/application.yml.j2 b/deployment/roles/vitamui/templates/iam-internal/application.yml.j2 index 31c6565845e..a1844d81061 100644 --- a/deployment/roles/vitamui/templates/iam-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/iam-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} data: diff --git a/deployment/roles/vitamui/templates/ingest-external/application.yml.j2 b/deployment/roles/vitamui/templates/ingest-external/application.yml.j2 index 77fba8caf96..f012cbb69de 100644 --- a/deployment/roles/vitamui/templates/ingest-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/ingest-external/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} diff --git a/deployment/roles/vitamui/templates/ingest-internal/application.yml.j2 b/deployment/roles/vitamui/templates/ingest-internal/application.yml.j2 index b10ca2aaa37..1a1dcfbafc5 100644 --- a/deployment/roles/vitamui/templates/ingest-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/ingest-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} data: diff --git a/deployment/roles/vitamui/templates/pastis-external/application.yml.j2 b/deployment/roles/vitamui/templates/pastis-external/application.yml.j2 index 6d449ca3de6..944018e0a63 100644 --- a/deployment/roles/vitamui/templates/pastis-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/pastis-external/application.yml.j2 @@ -21,6 +21,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} servlet: diff --git a/deployment/roles/vitamui/templates/referential-external/application.yml.j2 b/deployment/roles/vitamui/templates/referential-external/application.yml.j2 index 16f1a62fe5c..d87c1ed3fa4 100644 --- a/deployment/roles/vitamui/templates/referential-external/application.yml.j2 +++ b/deployment/roles/vitamui/templates/referential-external/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} servlet: diff --git a/deployment/roles/vitamui/templates/referential-internal/application.yml.j2 b/deployment/roles/vitamui/templates/referential-internal/application.yml.j2 index 96c0fabcaff..bb246008b90 100644 --- a/deployment/roles/vitamui/templates/referential-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/referential-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} servlet: diff --git a/deployment/roles/vitamui/templates/security-internal/application.yml.j2 b/deployment/roles/vitamui/templates/security-internal/application.yml.j2 index 3b83b7b6eba..99462047835 100644 --- a/deployment/roles/vitamui/templates/security-internal/application.yml.j2 +++ b/deployment/roles/vitamui/templates/security-internal/application.yml.j2 @@ -7,6 +7,7 @@ spring: discovery: serviceName: vitamui-{{ vitamui_struct.vitamui_component }} preferIpAddress: true + healthCheckUrl: http://${management.server.address}:${management.server.port}/actuator/health tags: {{ consul_tags }} instanceId: {{ vitamui_struct.vitamui_component }}-${server.port}-${spring.cloud.client.hostname} data: