Skip to content

Refactor client HTTP logic with new ClientBase class#1608

Merged
StuartFerguson merged 1 commit intomasterfrom
task/change_client_base
May 3, 2026
Merged

Refactor client HTTP logic with new ClientBase class#1608
StuartFerguson merged 1 commit intomasterfrom
task/change_client_base

Conversation

@StuartFerguson
Copy link
Copy Markdown
Member

Introduce abstract ClientBase to centralize HTTP request logic, serialization, deserialization, and error handling. Refactor SecurityServiceClient to inherit from ClientBase, replacing custom HTTP methods with unified ClientBase methods. Switch to Newtonsoft.Json for (de)serialization and update all HTTP calls for consistency and maintainability.

Introduce abstract ClientBase to centralize HTTP request logic, serialization, deserialization, and error handling. Refactor SecurityServiceClient to inherit from ClientBase, replacing custom HTTP methods with unified ClientBase methods. Switch to Newtonsoft.Json for (de)serialization and update all HTTP calls for consistency and maintainability.
@codacy-production
Copy link
Copy Markdown

Not up to standards ⛔

🔴 Issues 1 critical · 1 medium · 1 minor

Alerts:
⚠ 2 issues (≤ 0 issues of at least medium severity)

Results:
3 new issues

Category Results
BestPractice 1 medium
CodeStyle 1 minor
Complexity 1 critical

View in Codacy

🟢 Metrics 94 complexity · 21 duplication

Metric Results
Complexity 94
Duplication 21

View in Codacy

NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.

@StuartFerguson StuartFerguson merged commit b2dc6b1 into master May 3, 2026
10 of 11 checks passed
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