939 feature request add a new job system to reitti#947
Closed
dgraf-gh wants to merge 8 commits into
Closed
Conversation
- Add `GpxImporterTest` to verify GPX file imports - Upgrade Spring Boot version to 3.5.12 in `pom.xml` - Include JobRunr dependency for job scheduling
- Refactor `GpxImporter` to use JobRunr for background job scheduling - Add `LocationPointStagingService` for batch handling and staging of data - Introduce `JobType`, `JobState`, and `LocationDataCleanupJob` classes - Include `TimeRange` record to simplify time range handling - Add `updateNewestData` method in `UserSettingsJdbcService` - Update GPX import test cases for new method signature - Modify processing pipeline to streamline import logic with JobRunr
- Refactor `GoogleIOSTimelineImporter` and `GoogleAndroidTimelineImporter` to integrate JobRunr for scheduling background tasks - Replace batch processing with `LocationPointStagingService` for staged data insertion and management - Update `JobType` to include `GOOGLE_TIMELINE_IMPORT` - Implement grace time handling for delayed job processing - Add progress tracking to `LocationDataCleanupJob` - Remove unused method `processWhileImport` from `TestingService` - Adapt test cases to reflect new import logic and dependencies - Add cron configuration for staging cleanup in `application.properties`
- Adjust GPX and timeline importer tests to verify JobRunr enqueue functionality - Replace `awaitDataImport` timeout in tests with updated values - Update `OwntracksIngestionApiControllerIntegrationTest` to support nullable `Device` in `addLocationPoint` verification - Remove unused mocks and assertions in timeline importer tests
- Delete redundant Redis queue-related classes, including `RedisQueueService`, `RedisQueueKeys`, `QueueMessage`, and annotations - Remove unused `QueueStatistics` and `MessageHandler` interfaces - Drop unused Redis-based queue-related logic and metadata handling
5 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.