You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Adds the pathways for v3 handling around fhir_ids (BB-4166) (#1419)
* initial commit
* adding version specific permission checking so v3 resources are recognized as v3
* TODO in authorization/views.py. Need to write unit tests for new utils function still
* Address TODOs in bb2_tools/admin.py
* found request.path to contain version. Different from other places but appears to work. Will be open to refactoring
* Ensure fhir_id v2 or v3 are updated if none when re-authorizing. v3 testclient patient/EOB/coverage are now broken, some tests are broken as well. Will fix in morning
* adding extra validation for incorrect versions in utils and using it in create_token_response
* V2 calls all working, v3 patient returning correct data but built in function throwing 404
* adding more generalized version grabbing for crosswalk permissions
* Revert log to reduce test failures (will revisit this log once all functionality is working)
* Ensure v3 coverage and EOD endpoints work. Currently 7 test failures and 11 errors
* changes to get_patient_id, test_read_and_search and other tests to extend more off version
* Modify some tests, pass a version to generate_info_headers. Tests are failing and we have some TODOs, but v3 and v2 endpoints all work
* added notes and some changes to mymedicare views
* Interim collab commit
* Remove completed TODOs
* Remove more completed TODOs
* Remove more TODOs that had been completed
* Fix audit_logger tests, WIP on authentication
* Fixed mocked tests
* Removing print statements
* Add version param to create_fhir_mock to help tests succeed
* Revert unneeded test changes, ensure still passes
* Fix last failing test in test_authentication.py
* Add unit test, remove completed TODOs
* WIP On fixing tests
* Interim
* Fixed callback tests
* fix for test_callback_allow_slsx_changes_to_hicn_and_mbi
* Revert responses.py changes
* Fixed import
* Renaming.
* Rename function, modify return type per PR feedback
* Modify imports to reflect new file name
* Modify default param and update to absolute paths
* Remove unneeded TODO
* Modify a function name and call to more accurately reflect what it does
* revert to have v2 as default to fhir_id, as it broke tests, and we only do not pass a value for a log statement
* Check on blank string in get_and_update_user to accommodate changes from BB2-4224
* Single quotes and comment context
* Refactor get_and_update_user to reduce BFD calls, and to ensure fhir_ids are always updated if DB values differ from what BFD returns
* Updates based on PR self-review with Brandon and Matt
* adding latest versions and changes to the offset math test
* added defaults if there is no fhir_id found for a version
* addressing comments
* changing check to empty string over None but will change back to None some day
* Address TODO that arose from a change made in BB2-4233
* use self.version instead
---------
Co-authored-by: James Demery <[email protected]>
Co-authored-by: Matt Jadud <[email protected]>
Co-authored-by: Connor Lewellyn <[email protected]>
0 commit comments