Tags: ministryofjustice/opg-use-an-lpa
Tags
Uml 3783 Implement getByViewercode in a combined LPA world (#3122) * Refactor the exception throwing and handling around viewer code access. * Refactor lpa client classes to better DRY * Implement getByViewerCode * Fix testcase errors on DataStoreLpas * Testing revealed issue with way ApiException create function handles failed responses. * New SiriusLpas code tested * Broke some tests with ApiException edits Tests are good :) * Enable LpaStore lpas in development environment * Protect getAdditionalData function from exceptions * Switch out JWT identification field from 'aud' to 'sub'. * Add test case to replicate issue with invalid array field access * Fix case where error response is set on lpa in collection (Not found) * Add better typing to Person hydrator * Refactor of ParseLpaData test file to better use the entity helpers * Test to enforce stripping of bad lpas from the lpa results * Remove lpas in error from response in ParseLpaData * Temporary debug code as it's still failing * Code consistency fix * Temporary debug output * Well that's unfun. I'd mistakenly removed hyphens from our source data as I was under the assumption they were stripped as historically they always had been. Turns out they were added back in some 4 years back. But we had code in the LpaService that stripped them and I'd neglected to reimplement in the new services. * Use more appropriate test assertion. * Ensure we use the correct mixture of hyphenated and non-hyphenated sirius uids in tests. * Remove test that is no longer needed. * Ensure we handle middlenames properly when flag is on in smoke tests * Forgot the regexp delimiter * Remove temporary logging and log useful information.
UML-3736 Event receiver to create db entries (#3114) * UML-3724 consuming event and added tests * UML-3724 updated terminology * UML-3724 consume event and output log to confirm * UML-3724 using sqs not cloudwatchevent * UML-3724 github workflow * UML-3724 github workflow update * UML-3724 github workflow update * UML-3724 github workflow update * UML-3724 updated main * UML-3724 adjusted alignment removed s3 added mockery command * UML-3724 updated pipeline and applied event-reciever test within build test scan push * UML-3724 updated build push yml * UML-3736 wip * UML-3724 changed logger package to telemetry.NewLogger decoding sqsevent appropriately to be handled off added more test cases to address deserialisation * UML-3724 updated dockerfile to include every .go file during ZIP * UML-3736 updated tests refactored * UML-3736 refactored handler to accept dependencies to be able to effectively mock dynamo * UML-3736 removed unused func removed early return * UML-3736 updated dockerfile to include internal folder * UML-3736 copy internal --------- Co-authored-by: Adam Cooper <[email protected]>
UML-3780: Creation of sharecodes for all LPAs (#3110) * Actor Id will now be passed and stored as string in ViewerCodes * So that the SiriusLpa code generation doesn't break * test changes and additions * Changes as per code review * indentation correction * test correction with code change --------- Co-authored-by: Adam Cooper <[email protected]>
PreviousNext