Skip to content

refactor(api): replace unirest with spring restclient and vavr - #11

Merged
eggy03 merged 1 commit into
v2.0.0from
Replace-Unirest
Sep 14, 2025
Merged

refactor(api): replace unirest with spring restclient and vavr#11
eggy03 merged 1 commit into
v2.0.0from
Replace-Unirest

Conversation

@eggy03

@eggy03 eggy03 commented Sep 14, 2025

Copy link
Copy Markdown
Owner

Replaces the Unirest HTTP client library with Spring's RestClient and introduces Vavr's Either for functional error handling. This change refactors the HttpServiceEngine, all API clients, and updates DTOs and API response handling in listeners.

Benefits:

  • Improves error handling with explicit success/failure states using Either.
  • Adopts a modern and actively maintained HTTP client.
  • Enhances consistency and maintainability of API interactions.

Replaces the Unirest HTTP client library with Spring's RestClient
and introduces Vavr's Either for functional error handling.
This change refactors the HttpServiceEngine, all API clients,
and updates DTOs and API response handling in listeners.

Benefits:
- Improves error handling with explicit success/failure states using Either.
- Adopts a modern and actively maintained HTTP client.
- Enhances consistency and maintainability of API interactions.
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

Failed conditions
16.6% Duplication on New Code (required ≤ 3%)

See analysis details on SonarQube Cloud

@eggy03
eggy03 merged commit 9d1a386 into v2.0.0 Sep 14, 2025
5 of 6 checks passed
@eggy03
eggy03 deleted the Replace-Unirest branch September 14, 2025 19:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant