Commit Graph
55 Commits
Author SHA1 Message Date
2martens 009eec9b85 change: Create docker image also for pull requests 2024-01-09 18:18:29 +01:00
2martens c8a8e075a1 change: Only use ubuntu runner for build workflow 2024-01-09 17:55:17 +01:00
2martens 54b8cfc579 feat: Add CI workflows 2024-01-09 17:50:25 +01:00
2martens e389c3a012 change: Add userId, routeId to uniquely identify timetables 2024-01-08 19:50:53 +01:00
2martens eaa67bfdfe change: Use routeId for index of TswRoute 2024-01-08 19:19:48 +01:00
2martens 1ff144d100 change: Don't use text index for station 2024-01-08 19:12:23 +01:00
2martens 91e7b795c9 change: Add hour to log entry 2024-01-08 19:00:58 +01:00
2martens 4c5802fe47 fix: Fill eva value of BahnTimetable 2024-01-08 19:00:31 +01:00
2martens f7484e0868 fix: Don't use implicit toString value of Eva 2024-01-08 19:00:20 +01:00
2martens 864144b37a fix: Unmarshalling requires mutable list 2024-01-08 18:59:29 +01:00
2martens cd0e58eda5 fix: Use correct field for index 2024-01-06 15:13:29 +01:00
2martens 4241fcabfa fix: Let Spring Data fill id field 2024-01-06 15:08:20 +01:00
2martens bb62330404 change: Use mongo template to bulk insert new tasks 2024-01-06 14:53:43 +01:00
2martens 07de3a4387 fix: Let Spring Data fill the id field 2024-01-06 14:53:20 +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 51d1f2dbb1 chore: Integrate gradle building into codeql workflow 2023-12-13 09:57:03 +01:00
2martens 71507a9a63 chore: Add executable permission to gradlew scripts 2023-12-13 09:53:03 +01:00
2martens 92f5585884 chore: Add Java CI 2023-12-13 09:51:11 +01:00
2martens 675e745f55 chore: Add code ql scanning 2023-12-13 09:46:15 +01:00
2martens e5148ee97d chore: Add issue templates 2023-12-13 09:44:06 +01:00
2martens 57bca7bdc7 chore: Remove licence 2023-12-13 09:40:15 +01:00
2martens 82dc31aa4a chore: Add release please support
Release-As: 0.0.1
2023-12-13 09:35:05 +01:00
2martens f0d67b22b4 chore: Update to Java 21 2023-12-13 09:33:24 +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 31855a870f Added README 2023-10-26 21:26:44 +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 54a075b7e8 Changed name 2023-10-26 20:54:07 +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 118e8711d8 Fixed non-null-safe operators 2023-09-23 20:48:43 +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