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

BAU: Remove unused Orch code in auth #4397

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

alhcomer
Copy link
Contributor

@alhcomer alhcomer commented May 2, 2024

What

This pull request removes the code that is no longer used by us since the Orch/Auth split. The functionality that this code provides is now owned by Orch, and they have implemented similar methods in their parts of the repository.

There are more unused methods in our config service, but I wasn't sure of whether or not we might need them in the future so did not remove them.

How to review

  1. Code Review

Checklist

  • Impact on orch and auth mutual dependencies has been checked.

@alhcomer alhcomer requested review from a team as code owners May 2, 2024 12:58
The TokenService file deleted in this commit is no longer used. Orchestration has
ownership of the implementation of this functionality, and has created another
TokenService file at:
orchestration-shared/src/main/java/uk/gov/di/orchestration/shared/services/TokenService.java

Our currently used TokenService is located at:
auth-external-api/src/main/java/uk/gov/di/authentication/external/services/TokenService.java

Our currently used TokenService above generates a token response that allows orchestration
to access user info, necessary for their token service implementation.
Methods deleted in this commit are methods that are used for orch functionality
and are not used by auth. Orch have all of the methods deleted in this commit in
their config service located at:
orchestration-shared/src/main/java/uk/gov/di/orchestration/shared/services/ConfigurationService.java
@alhcomer alhcomer force-pushed the BAU/remove-unused-orch-code-in-auth branch from 9001a60 to 42465c3 Compare May 8, 2024 08:25
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.

None yet

1 participant