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

APR-2890 Refactor Web and Internal API to use same Outer api client implementation #930

Merged
merged 6 commits into from
Jan 17, 2022

Conversation

DevenKShah
Copy link
Contributor

The existing usage of charity commissions api forced to have two outer api clients. In this PR I have refactored the code so that there is only single simplified implementation of outer api client. This client is then used inside web controller and internal api service directly.

I have deleted CharityCommissionsController as this was only used in the admin service. When I looked inside admin service there was a client for this controller but no usage was found. I have created a separate PR to remove the client from admin service.

I have included minor code improvements that I came across.

MarkFCain
MarkFCain previously approved these changes Jan 4, 2022
MarkFCain
MarkFCain previously approved these changes Jan 17, 2022
@DevenKShah DevenKShah merged commit da13b8c into master Jan 17, 2022
@DevenKShah DevenKShah deleted the APR-2890-RefactorOuterApiClient branch January 17, 2022 16:43
@sonarcloud
Copy link

sonarcloud bot commented Jan 17, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 3 Code Smells

0.0% 0.0% Coverage
0.0% 0.0% Duplication

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.

2 participants