From 3cbf63ff5050c586bcefedb9c2a75eeb3529cbc9 Mon Sep 17 00:00:00 2001 From: Vesa Meskanen Date: Fri, 15 Sep 2023 08:23:50 +0300 Subject: [PATCH] Update configurations to match otp v.2.4 --- router-finland/otp-config.json | 5 ++--- router-finland/router-config.json | 4 +++- router-hsl/otp-config.json | 2 +- router-hsl/router-config.json | 4 +++- router-kela/otp-config.json | 5 ++--- router-kela/router-config.json | 4 +++- router-varely/otp-config.json | 2 +- router-varely/router-config.json | 4 +++- router-waltti-alt/otp-config.json | 2 +- router-waltti-alt/router-config.json | 4 +++- router-waltti/otp-config.json | 2 +- router-waltti/router-config.json | 4 +++- 12 files changed, 26 insertions(+), 16 deletions(-) diff --git a/router-finland/otp-config.json b/router-finland/otp-config.json index 85363bf1..0036ef30 100644 --- a/router-finland/otp-config.json +++ b/router-finland/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, @@ -8,7 +8,6 @@ "SandboxAPIMapboxVectorTilesApi": true, "FloatingBike": false, "ActuatorAPI": true, - "AsyncGraphQLFetchers": true, - "VehicleToStopHeuristics": true + "AsyncGraphQLFetchers": true } } diff --git a/router-finland/router-config.json b/router-finland/router-config.json index f30c62ca..fe349efb 100644 --- a/router-finland/router-config.json +++ b/router-finland/router-config.json @@ -12,7 +12,9 @@ "bikeBoardCost": 120, "stairsTimeFactor": 2, "elevatorBoardTime": 60, - "maxAccessEgressDuration": "1h", + "accessEgress": { + "maxDuration": "1h" + }, "maxDirectStreetDuration": "100h", "maxDirectStreetDurationForMode": { "walk": "90m" diff --git a/router-hsl/otp-config.json b/router-hsl/otp-config.json index 3914f6bc..0036ef30 100644 --- a/router-hsl/otp-config.json +++ b/router-hsl/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, diff --git a/router-hsl/router-config.json b/router-hsl/router-config.json index 37707a57..6f781411 100644 --- a/router-hsl/router-config.json +++ b/router-hsl/router-config.json @@ -12,7 +12,9 @@ "elevatorBoardTime": 60, "walkBoardCost": 120, "bikeBoardCost": 120, - "maxAccessEgressDuration": "35m", + "accessEgress": { + "maxDuration": "35m" + }, "maxDirectStreetDuration": "90m", "maxJourneyDuration": "12h", "streetRoutingTimeout": "6s", diff --git a/router-kela/otp-config.json b/router-kela/otp-config.json index 85363bf1..0036ef30 100644 --- a/router-kela/otp-config.json +++ b/router-kela/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, @@ -8,7 +8,6 @@ "SandboxAPIMapboxVectorTilesApi": true, "FloatingBike": false, "ActuatorAPI": true, - "AsyncGraphQLFetchers": true, - "VehicleToStopHeuristics": true + "AsyncGraphQLFetchers": true } } diff --git a/router-kela/router-config.json b/router-kela/router-config.json index 5ffa9708..b37833f3 100644 --- a/router-kela/router-config.json +++ b/router-kela/router-config.json @@ -12,7 +12,9 @@ "bikeBoardCost": 120, "stairsTimeFactor": 2, "elevatorBoardTime": 60, - "maxAccessEgressDuration": "8h", + "accessEgress": { + "maxDuration": "8h" + }, "maxDirectStreetDuration": "100h", "maxDirectStreetDurationForMode": { "walk": "90m" diff --git a/router-varely/otp-config.json b/router-varely/otp-config.json index d7282887..9c56d410 100644 --- a/router-varely/otp-config.json +++ b/router-varely/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, diff --git a/router-varely/router-config.json b/router-varely/router-config.json index 4d051d4f..3fe3e20b 100644 --- a/router-varely/router-config.json +++ b/router-varely/router-config.json @@ -12,7 +12,9 @@ "elevatorBoardTime": 60, "walkBoardCost": 120, "bikeBoardCost": 120, - "maxAccessEgressDuration": "45m", + "accessEgress": { + "maxDuration": "1h" + }, "maxDirectStreetDuration": "2h", "maxDirectStreetDurationForMode": { "walk": "90m" diff --git a/router-waltti-alt/otp-config.json b/router-waltti-alt/otp-config.json index d7282887..9c56d410 100644 --- a/router-waltti-alt/otp-config.json +++ b/router-waltti-alt/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, diff --git a/router-waltti-alt/router-config.json b/router-waltti-alt/router-config.json index 9f58d815..21352ae6 100644 --- a/router-waltti-alt/router-config.json +++ b/router-waltti-alt/router-config.json @@ -12,7 +12,9 @@ "elevatorBoardTime": 60, "walkBoardCost": 120, "bikeBoardCost": 120, - "maxAccessEgressDuration": "45m", + "accessEgress": { + "maxDuration": "1h" + }, "maxDirectStreetDuration": "4h", "maxDirectStreetDurationForMode": { "walk": "90m" diff --git a/router-waltti/otp-config.json b/router-waltti/otp-config.json index 3914f6bc..0036ef30 100644 --- a/router-waltti/otp-config.json +++ b/router-waltti/otp-config.json @@ -1,6 +1,6 @@ { "otpFeatures": { - "SandboxAPILegacyGraphQLApi": true, + "GtfsGraphQlApi": true, "APIGraphInspectorTile": true, "APIServerInfo": true, "APIUpdaterStatus": false, diff --git a/router-waltti/router-config.json b/router-waltti/router-config.json index 73d6bb52..b2781005 100644 --- a/router-waltti/router-config.json +++ b/router-waltti/router-config.json @@ -12,7 +12,9 @@ "elevatorBoardTime": 60, "walkBoardCost": 120, "bikeBoardCost": 120, - "maxAccessEgressDuration": "45m", + "accessEgress": { + "maxDuration": "1h" + }, "maxDirectStreetDuration": "2h", "maxDirectStreetDurationForMode": { "walk": "90m"