Skip to content

Sdk refactor - #10

Merged
eggy03 merged 3 commits into
v2.0.0from
sdk-refactor
Aug 25, 2025
Merged

Sdk refactor#10
eggy03 merged 3 commits into
v2.0.0from
sdk-refactor

Conversation

@eggy03

@eggy03 eggy03 commented Aug 25, 2025

Copy link
Copy Markdown
Owner

No description provided.

eggy03 added 3 commits August 25, 2025 19:50
Replaces ApiResult with HttpServiceResponse across all SDK clients and listeners. Introduces HttpServiceEngine and HttpServiceResponse for unified HTTP request handling. Updates method signatures and usages to reflect the new response type and success/error checks. Removes the old ApiResult class.
Switched JSON serialization from Jackson to Gson throughout the codebase, updating dependencies and removing Jackson-specific configuration. Corrected HTTP methods in MessageContentLogClient and MessageLogClient to use GET and DELETE where appropriate, ensuring proper RESTful API usage.
Eliminated unnecessary check for void or blank response bodies in HttpServiceEngine. The method now always attempts to deserialize the response body if the request is successful.
@eggy03 eggy03 self-assigned this Aug 25, 2025
@sonarqubecloud

Copy link
Copy Markdown

Quality Gate Failed Quality Gate failed

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

See analysis details on SonarQube Cloud

@eggy03
eggy03 merged commit 24107d3 into v2.0.0 Aug 25, 2025
5 of 6 checks passed
@eggy03
eggy03 deleted the sdk-refactor branch August 25, 2025 15:24
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