Commit Graph

42 Commits

Author SHA1 Message Date
Jim Martens 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
release-please[bot] b5681181fb
chore(main): release 0.0.1 (#1)
Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com>
2023-12-13 17:13:27 +01:00
Jim Martens 51d1f2dbb1
chore: Integrate gradle building into codeql workflow 2023-12-13 09:57:03 +01:00
Jim Martens 71507a9a63
chore: Add executable permission to gradlew scripts 2023-12-13 09:53:03 +01:00
Jim Martens 92f5585884
chore: Add Java CI 2023-12-13 09:51:11 +01:00
Jim Martens 675e745f55
chore: Add code ql scanning 2023-12-13 09:46:15 +01:00
Jim Martens e5148ee97d
chore: Add issue templates 2023-12-13 09:44:06 +01:00
Jim Martens 57bca7bdc7
chore: Remove licence 2023-12-13 09:40:15 +01:00
Jim Martens 82dc31aa4a
chore: Add release please support
Release-As: 0.0.1
2023-12-13 09:35:05 +01:00
Jim Martens f0d67b22b4
chore: Update to Java 21 2023-12-13 09:33:24 +01:00
Jim Martens e0e793ae1e Added leader election and bus event to make sure only one pod is scheduling tasks 2023-10-28 13:43:50 +02:00
Jim Martens 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
Jim Martens 31855a870f Added README 2023-10-26 21:26:44 +02:00
Jim Martens 26bb3e0654 Fix BahnStationMapper 2023-10-26 21:00:57 +02:00
Jim Martens f7de1c2825 Added properties to configure country names 2023-10-26 20:54:50 +02:00
Jim Martens 37ce8e1511 Added DTOs for communication with Angular 2023-10-26 20:54:31 +02:00
Jim Martens 54a075b7e8 Changed name 2023-10-26 20:54:07 +02:00
Jim Martens ec882f7fd9 Added missing fields to formation db model 2023-10-26 20:53:57 +02:00
Jim Martens 54b7f54ade Moved common model classes to common package 2023-10-26 20:52:31 +02:00
Jim Martens aaca4f3436 Changed order of fields 2023-10-26 19:17:57 +02:00
Jim Martens 91be5d66c5 Use HourAtDay 2023-10-26 19:17:06 +02:00
Jim Martens ae358fd690 Added findBy methods to cover unique indices 2023-10-26 19:16:34 +02:00
Jim Martens b3a55af93a Moved generic value classes to separate module 2023-10-26 19:06:26 +02:00
Jim Martens 50ec898257 Fixed missing counter reset 2023-10-26 18:55:51 +02:00
Jim Martens 0ea147fa8e Follow clean code more closely 2023-10-26 09:26:58 +02:00
Jim Martens 06ad9eaa31 Added controller to trigger timetable fetch 2023-10-08 13:34:46 +02:00
Jim Martens e9b17707ab Added logging 2023-10-08 12:36:57 +02:00
Jim Martens 154af5b7a1 Added code to schedule fetch tasks 2023-10-08 12:36:48 +02:00
Jim Martens 805f0a7219 Initialize scheduled tasks after application launch from database 2023-10-04 08:08:53 +02:00
Jim Martens 6f589e048f Set max pool size to 1 2023-10-04 08:08:32 +02:00
Jim Martens dc23a1e915 Reduce thread size to 1 2023-10-03 08:26:14 +02:00
Jim Martens d1b681bfad Added tasks for async fetching and storing timetables 2023-10-02 23:03:02 +02:00
Jim Martens d3a8e0abc8 Added BahnDatabaseService to store stations 2023-09-24 09:05:33 +02:00
Jim Martens 6ddf31f54e Optimized imports 2023-09-24 09:05:20 +02:00
Jim Martens bf5fd38410 Changed type of eva to Int 2023-09-24 09:05:13 +02:00
Jim Martens bcbb935ac1 Changed to text index for name 2023-09-24 09:01:34 +02:00
Jim Martens cae30f430d Added index for name 2023-09-23 21:22:14 +02:00
Jim Martens 08182dee6b Added missing health check controller 2023-09-23 21:10:26 +02:00
Jim Martens 118e8711d8 Fixed non-null-safe operators 2023-09-23 20:48:43 +02:00
Jim Martens 0b8c602384 Implemented BahnAPI to fetch stations and timetables 2023-09-23 20:47:48 +02:00
Jim Martens d377cbd886 Changed to Kotlin 2023-09-23 20:46:13 +02:00
Jim Martens 9bade2780c Initial commit 2023-09-23 08:48:45 +02:00