Commit Graph
42 Commits
Author SHA1 Message Date
2martens e00870c739 fix: Extract token before usage 2025-08-11 08:05:24 +02:00
2martens 7439bf999b security: Users can only access their own resources
fix: Make sure JWTs from Keycloak are understood and CORS is respected
2025-08-10 23:47:48 +02:00
2martens 18aa9af708 security: Demand authentication for non-permitted paths 2025-08-10 09:25:04 +02:00
2martens bdb708c15d security: Remove policy enforcer from URLs 2025-08-09 18:57:06 +02:00
2martens 7a9731ac32 fix: Fix database connection 2025-03-20 17:57:30 +01:00
2martens 0d71ececf6 fix: Change port to default one used by ionic 2025-03-20 17:57:29 +01:00
2martens dfa2d8c191 fix: Fix realm name 2025-03-20 17:57:29 +01:00
2martens fa1f4b47b9 change: Remove leader election and Kafka 2025-03-20 17:57:29 +01:00
2martens 9734ea0bba fix: Change back to timetable name 2024-01-09 21:05:00 +01:00
2martens 0f950c1bf6 fix: Use correct path for local environment 2024-01-09 20:49:42 +01:00
2martens 3ea9c030ac fix: Use application name that matches repository name 2024-01-09 20:31:45 +01:00
2martens 5f5d17448f feat: Create fetch tasks when creating timetable 2024-01-06 14:23:46 +01:00
2martens 7fbd270019 feat: Support CRUD functionality (#7)
The station search implementation only works via DB and is very slow. For a simple query, the answer takes about 1s or longer. That is 100 times slower than it should be. For now, however, this solution is adequate to achieve a first prototype that includes the core functionality.

feat: Add station search
2024-01-06 14:06:43 +01:00
2martens e0e793ae1e Added leader election and bus event to make sure only one pod is scheduling tasks 2023-10-28 13:43:50 +02:00
2martens 8c84a81439 Handle tasks from the past correctly
Should only ever apply to tasks from a few seconds ago. Longer downtimes should not happen.
2023-10-28 10:55:25 +02:00
2martens 26bb3e0654 Fix BahnStationMapper 2023-10-26 21:00:57 +02:00
2martens f7de1c2825 Added properties to configure country names 2023-10-26 20:54:50 +02:00
2martens 37ce8e1511 Added DTOs for communication with Angular 2023-10-26 20:54:31 +02:00
2martens ec882f7fd9 Added missing fields to formation db model 2023-10-26 20:53:57 +02:00
2martens 54b7f54ade Moved common model classes to common package 2023-10-26 20:52:31 +02:00
2martens aaca4f3436 Changed order of fields 2023-10-26 19:17:57 +02:00
2martens 91be5d66c5 Use HourAtDay 2023-10-26 19:17:06 +02:00
2martens ae358fd690 Added findBy methods to cover unique indices 2023-10-26 19:16:34 +02:00
2martens b3a55af93a Moved generic value classes to separate module 2023-10-26 19:06:26 +02:00
2martens 50ec898257 Fixed missing counter reset 2023-10-26 18:55:51 +02:00
2martens 0ea147fa8e Follow clean code more closely 2023-10-26 09:26:58 +02:00
2martens 06ad9eaa31 Added controller to trigger timetable fetch 2023-10-08 13:34:46 +02:00
2martens e9b17707ab Added logging 2023-10-08 12:36:57 +02:00
2martens 154af5b7a1 Added code to schedule fetch tasks 2023-10-08 12:36:48 +02:00
2martens 805f0a7219 Initialize scheduled tasks after application launch from database 2023-10-04 08:08:53 +02:00
2martens 6f589e048f Set max pool size to 1 2023-10-04 08:08:32 +02:00
2martens dc23a1e915 Reduce thread size to 1 2023-10-03 08:26:14 +02:00
2martens d1b681bfad Added tasks for async fetching and storing timetables 2023-10-02 23:03:02 +02:00
2martens d3a8e0abc8 Added BahnDatabaseService to store stations 2023-09-24 09:05:33 +02:00
2martens 6ddf31f54e Optimized imports 2023-09-24 09:05:20 +02:00
2martens bf5fd38410 Changed type of eva to Int 2023-09-24 09:05:13 +02:00
2martens bcbb935ac1 Changed to text index for name 2023-09-24 09:01:34 +02:00
2martens cae30f430d Added index for name 2023-09-23 21:22:14 +02:00
2martens 08182dee6b Added missing health check controller 2023-09-23 21:10:26 +02:00
2martens 0b8c602384 Implemented BahnAPI to fetch stations and timetables 2023-09-23 20:47:48 +02:00
2martens d377cbd886 Changed to Kotlin 2023-09-23 20:46:13 +02:00
2martens 9bade2780c Initial commit 2023-09-23 08:48:45 +02:00