From 65d951282ee65bc3afd4e70b2d35d77894aecbde Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Thu, 13 Jun 2024 12:04:32 +0200 Subject: [PATCH 1/2] feat: redirect to datahub and not header and dont call areaofcompetence --- datahub/conf/default.toml | 2 +- gateway/routes.yaml | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/datahub/conf/default.toml b/datahub/conf/default.toml index 5e3ddf1..60ac0d6 100644 --- a/datahub/conf/default.toml +++ b/datahub/conf/default.toml @@ -69,7 +69,7 @@ fonts_stylesheet_url = "https://fonts.googleapis.com/css2?family=Display&family= # Optional; specify a GeoJSON object to be used as filter: all records contained inside the geometry will be boosted on top, # all records which do not intersect with the geometry will be shown with lower priority; can be specified as URL or inline # Note: if the GeoJSON object contains multiple features, only the geometry of the first one will be kept! -filter_geometry_url = "/console/account/areaofcompetence" +#filter_geometry_url = "/console/account/areaofcompetence" # filter_geometry_data = '{ "coordinates": [...], "type": "Polygon" }' # The advanced search filters available to the user can be customized with this setting. diff --git a/gateway/routes.yaml b/gateway/routes.yaml index c56f573..850051b 100644 --- a/gateway/routes.yaml +++ b/gateway/routes.yaml @@ -6,11 +6,11 @@ spring: gateway: routes: - id: root - uri: ${georchestra.gateway.services.header.target} + uri: ${georchestra.gateway.services.datahub.target} predicates: - Path=/ filters: - - RedirectTo=308, /header + - RedirectTo=308, /datahub/ - id: header uri: ${georchestra.gateway.services.header.target} predicates: From bd5a4bedc8ba0390277590165a4113068808d22c Mon Sep 17 00:00:00 2001 From: Florian Necas Date: Thu, 13 Jun 2024 13:38:05 +0200 Subject: [PATCH 2/2] feat: disable analytics --- default.properties | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/default.properties b/default.properties index 831050d..60f0db7 100644 --- a/default.properties +++ b/default.properties @@ -83,13 +83,13 @@ enableRabbitmqEvents=false # rabbitmq server domain name rabbitmqHost=localhost -# rabbitmq user +# rabbitmq user rabbitmqUser=georchestra -# rabbitmq password +# rabbitmq password rabbitmqPassword=georchestra -# rabbitmq port +# rabbitmq port rabbitmqPort=5672 ### LDAP properties @@ -144,10 +144,10 @@ smtpHost=localhost # Listening port of the SMTP server smtpPort=25 -# Activates analytics +# Activates analytics # WARNING : When using the geOrchestra gateway, analytics should be disabled -# if set to true, the analytics app will be enabled (https://github.com/georchestra/georchestra/tree/master/analytics) +# if set to true, the analytics app will be enabled (https://github.com/georchestra/georchestra/tree/master/analytics) # console will add all links to analytics and also execute XHR requests # header will diplay analytics app # default: true -# analyticsEnabled=true +analyticsEnabled=false