Skip to content

Conversation

@ctsims
Copy link
Member

@ctsims ctsims commented Aug 21, 2020

Removes the last places where a RestTemplate was constructed from scratch rather than being autowired for the same reasons outlined in #754 and adds tests whenever practical.

Also refactors out the classes using those RestTemplates into explicit components, rather than Context injected beans, since there's no reason to have Context injected beans without any polymorphism.

Note: These changes affect a set of services which are a a bit less straightforward to test (case claim and "FormattedQuestionsService" (I think that's "Beautiful forms"?) and I haven't quite touched all of those paths yet to confirm that the Context Bean -> Component change is indeed a no-op

@ctsims ctsims added the product/invisible Change has no end-user visible impact label Aug 21, 2020
@ctsims ctsims requested a review from dannyroberts August 21, 2020 22:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

product/invisible Change has no end-user visible impact

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants