Commit Graph
83 Commits
Author SHA1 Message Date
2martens 7a845d6312 change: Log response headers 2024-01-20 09:42:46 +01:00
2martens a0a54d15c2 change: Log requested URI 2024-01-18 19:12:45 +01:00
2martens 10f16eef94 change: Log complete body 2024-01-18 11:34:52 +01:00
2martens 5427a81658 change: Log each response 2024-01-18 10:21:32 +01:00
2martens 899380ee27 change: Add response to log entry 2024-01-18 09:28:58 +01:00
2martens 55275dd85d change: Allow overwriting BahnTimetable 2024-01-18 09:27:50 +01:00
2martens e75d54c547 change: Add error handler and log error responses 2024-01-17 18:20:38 +01:00
2martens dbcc556bd2 chore: Add additional debug logs 2024-01-14 11:27:58 +01:00
2martens d370524cc6 fix: Save first task via repository 2024-01-10 08:42:15 +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 1ee4577c1c Merge branch 'main' into feat/fetch-services 2024-01-09 20:35:56 +01:00
2martens 3afe34940e chore: Allow manual call of docker image workflow 2024-01-09 20:34:36 +01:00
2martens 3ea9c030ac fix: Use application name that matches repository name 2024-01-09 20:31:45 +01:00
2martens 5a0edfad45 chore: Pass along secret 2024-01-09 19:36:44 +01:00
2martens b43f004de8 chore: Pass along actual values of inputs 2024-01-09 19:22:42 +01:00
2martens b1408e760c chore: Allow contents write 2024-01-09 19:18:36 +01:00
2martens 8b178ad039 chore: Use workflow in main branch 2024-01-09 19:17:49 +01:00
2martens ddff93e70f chore: Call workflow in changed repository 2024-01-09 19:16:45 +01:00
2martens 25c5b92aaf chore: Use amd version 2024-01-09 19:09:31 +01:00
2martens 5e77ea3a0c chore: Fix typo 2024-01-09 19:08:07 +01:00
2martens 609002bccd chore: Add workflow to deploy application 2024-01-09 19:01:52 +01:00
2martens 70cd7b3397 feat: Add workflow to deploy application 2024-01-09 18:59:29 +01:00
2martens e8bac41932 chore: Only checkout one commit 2024-01-09 18:59:03 +01:00
2martens 6402b01fd0 chore: Create final docker image only on tag creation 2024-01-09 18:44:00 +01:00
2martens 997f519bbc chore: Update jib plugin 2024-01-09 18:22:29 +01:00
2martens 9c71423613 change: Only run container image workflow after build 2024-01-09 18:21:11 +01:00
2martens 090381ee83 change: Don't run build workflow on its own 2024-01-09 18:19:19 +01:00
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