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

Grant loader configuration cleanup #95

Merged
merged 8 commits into from
Feb 27, 2024
Merged

Conversation

rpoet-jh
Copy link
Contributor

The following changes were made in this PR:

-Converted grant loader to spring boot application.
-Removed need to load connection.properties file on runtime. Now spring boot configuration files are used. Env vars will be set on docker images at runtime for needed properties.
-Added ability to read policy.properties from S3 bucket.
-Uses spring boot IOC to remove bunch of boiler plate code for managing object wiring/configuration.
-Updated JHU grant loader code to be annotated with @Profile("jhu") to use spring Profiles to configure grant loader for particular institution at runtime.
-Added few more tests to improve test coverage.

This PR is for eclipse-pass/main#888

@rpoet-jh rpoet-jh self-assigned this Feb 27, 2024
@rpoet-jh rpoet-jh requested a review from markpatton February 27, 2024 16:43
Copy link
Contributor

@markpatton markpatton left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a good simplification and I like the use of the JHU profile.

@rpoet-jh rpoet-jh merged commit d6b92ab into main Feb 27, 2024
2 checks passed
@rpoet-jh rpoet-jh deleted the russ-888-grant-loader-spring branch August 1, 2024 18:03
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