-
Notifications
You must be signed in to change notification settings - Fork 6
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
Expose Special issue types endpoint throughout the BIP API service #3280
Conversation
JaCoCo Test Coverage
|
svc-bip-api/src/main/java/gov/va/vro/bip/model/contentions/GetSpecialIssueTypesResponse.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This all looks good to me. The mock enablement is great and the tests look like they should pass just fine. One nitpick on GetSpecialIssuesTypeResponse but not a blocker.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should remove commented code / comments!
...api/src/main/java/gov/va/vro/mockbipclaims/model/bip/response/SpecialIssueTypesResponse.java
Show resolved
Hide resolved
svc-bip-api/src/main/java/gov/va/vro/bip/model/contentions/GetSpecialIssueTypesResponse.java
Outdated
Show resolved
Hide resolved
svc-bip-api/src/main/java/gov/va/vro/bip/model/contentions/ParameterlessBipRequest.java
Outdated
Show resolved
Hide resolved
...-bip-claims-api/src/main/java/gov/va/vro/mockbipclaims/controller/ContentionsController.java
Outdated
Show resolved
Hide resolved
svc-bip-api/src/integrationTest/java/gov/va/vro/bip/SpecialIssueTypesTest.java
Outdated
Show resolved
Hide resolved
svc-bip-api/src/main/java/gov/va/vro/bip/config/BipApiConfig.java
Outdated
Show resolved
Hide resolved
svc-bip-api/src/test/java/gov/va/vro/bip/service/BipApiServiceTest.java
Outdated
Show resolved
Hide resolved
…ng PR feedback with minor edits as identified in PR #3280 comments.
…s the following commits: Laying the ground work for the special issue types endpoint. Also building out the mock data service that we'll need for local development purposes. Get the mock bip api service up and running, with unit test coverage Introduces SpecialIssueStateService which handles population of the state attribute. With this, requests for special issue types now allows for an array of codes while resolving the state attribute based on the functionality described in #3213. Still working through some integration test error with Spring dependency injection. Fix special issue types service, by refactoring both BipApiService and SpecialIssueStateService to descend from a common RestApiService abstract class. This will allow for easier integration testing of the special issue types functionality. simplifying special issue types implementation by eliminating the getSpecialIssueCodes call, and favoring a direct pass through call to the bip api.' Rebasing with develop to refresh this aging branch. Incorporating PR feedback with minor edits as identified in PR #3280 comments. Reapply some of the merge resolutions after the rebase
283c7f1
to
d6bb412
Compare
Co-authored-by: Lisa Chung <lisac@users.noreply.github.com>
…ng PR feedback with minor edits as identified in PR #3280 comments.
8074705
to
40c2301
Compare
40c2301
to
a43daf3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @dfitchett , I wasn't understanding how the unrelated integration test would be failing, but removing the extra RestTemplate mock that was being created certainly makes sense in hindsight.
The EE team has requested that the special_issue_types endpoint be exposed via a new rabbitmq queue on the bip exchange. This PR introduces many of the necessary components towards making that endpoint available for EE consumption. Accompanying the real bip data, is a mock implementation that can be used for local development.
What was the problem?
special_issue_types were needed.
Associated tickets or Slack threads:
How does this fix it?1
Adds the special_issue_types endpoint to all the necessary components of the bip service.
How to test this PR
Footnotes
Pull-Requests guidelines. If PR is significant, update Current Software State wiki page. ↩