Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

remove-f-webflux-and-reactive-programming #129

Conversation

MichiBaum
Copy link
Owner

No description provided.

TODO needs correction and testing.

Removed reactive Spring security setup in favor of servlet-based security with `ServletAuthenticationFilter`. Updated API implementations to replace `WebClient` with `RestClient`, improving handling of requests and responses. Removed unused legacy classes and configurations specific to the reactive setup.
Replaced inline form data builder with DTO classes for Fitbit and Spotify OAuth requests to improve maintainability and clarity. Added new DTOs for token requests, ensuring consistent structure and easier extensibility. Also introduced support for a new "FREESTYLE" chess platform across services and database schema.
This commit removes unused or unnecessary fields such as `fideId` and `url` from various test data models and test cases. The cleanup ensures that tests only include essential fields, improving maintainability and clarity of the codebase.
Replaced WebTestClient with MockMvc for consistency across test cases and improved maintainability. Added Testcontainers configuration for better test isolation and removed redundant or outdated configurations. Simplified and parameterized repeated test logic for improved readability and efficiency.
Introduce `FlywayClearDatabaseJunitExtension` to clean and migrate databases before each test across all services. Replace `DirtiesContext` with this extension in `TestcontainersConfiguration` and ensure proper Flyway configuration with test properties. This enhances test isolation and improves database handling consistency.
Enable `build`, `defaults`, `env`, `java`, `os`, `process`, and `ssl` under the `info` section across multiple services’ configuration files. This enhances visibility of system and build metadata in the various service configurations. Also updates the authentication manager to handle multiple authentications properly.
This update removes all dependencies and logic related to auth cookies, including their handling in interceptors, back-end configurations, and logout endpoints. Additionally, it introduces a microservice overview implementation with new components, services, and models for managing and displaying application statuses in the web interface.
Replaced specific actuator request matchers with a global rule requiring ADMIN_SERVICE authority for all requests. This simplifies configuration and ensures consistent access control across the application.
@MichiBaum MichiBaum self-assigned this Jan 1, 2025
@MichiBaum MichiBaum merged commit 876b301 into 126-refactor-database-schema Jan 1, 2025
2 checks passed
@MichiBaum MichiBaum deleted the remove-f-webflux-and-reactive-programming branch January 1, 2025 15:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant