Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BCDA-7197: v1 API throws an error for REACH ACOs when "_type" paramet…
…er is not used (#859) ## 🎫 Ticket https://jira.cms.gov/browse/BCDA-7197 ## 🛠 Changes When verifying resource type (when _type is empty), the Claim and ClaimResponse data types will only be returned if the ACO is allowed those resources and if the version of the endpoint is not V1. ## ℹ️ Context for reviewers The v1 endpoints for `/Group` and `/Patient` will return Claim and ClaimResponse resource types for specific ACOs; this functionality should only occur in v2 endpoints `/Group` and `/Patient`. ## ✅ Acceptance Validation - added unit test for getResourceTypes - postman tests passing after deploying API and running tests ## 🔒 Security Implications - [ ] This PR adds a new software dependency or dependencies. - [ ] This PR modifies or invalidates one or more of our security controls. - [ ] This PR stores or transmits data that was not stored or transmitted before. - [ ] This PR requires additional review of its security implications for other reasons. If any security implications apply, add Jason Ashbaugh (GitHub username: StewGoin) as a reviewer and do not merge this PR without his approval.
- Loading branch information