Skip to content

national-rollout#179

Draft
Thomas-Geraghty wants to merge 45 commits intomainfrom
national-rollout
Draft

national-rollout#179
Thomas-Geraghty wants to merge 45 commits intomainfrom
national-rollout

Conversation

@Thomas-Geraghty
Copy link
Contributor

Branch for national rollout, keep up to date with main

Thomas-Geraghty and others added 6 commits January 24, 2026 20:09
* Add AAP API config and client

* Add AAP API wiremock

* Update strategies to use AAP_PLAN

* LINT

* Add support for the `previousOasysSanPk` and `previousOasysSpPk`, rework create to handle this

* Add `newPeriodOfSupervision` parameter for marking if a plan needs resetting

* Add `subjectDetails` and logging off `CRN` and `NOMIS_ID` in AAP_PLAN

* Add `UPW` and `PSR_OUTLINE` plan types (no idea what to do with these yet?)

* Wrap command requests/responses correctly for AAP

* Fix test

* Include the `null` condition in the `when` clause

* Add support for legacy versioning of AAP Sentence Plans (#175)

* Add support for legacy versioning of AAP Sentence Plans

* Add test coverage for AAP plan strategy

* Use Postgres for tests

H2 doesn't support all Postgres features/datatypes we use, we should probably test against the same DB we intend to use in prod

* Add coverage for AAP plan sign strategy

* Add coverage for AAP plan lock strategy

* Add coverage for AAP plan countersign strategy

* Add coverage for OAsys version service

* Add coverage for AAP plan fetch versions strategy

* Refactor and tidy up

* Update versioning strategy for AAP plans (#177)

* Update versioning strategy for AAP plans

* Remove unused enum

---------

Co-authored-by: Lucas Cairns <lucas.cairns@gmail.com>
* SP2-1931: Implement AAPPlanStretegy.reset() to call new API endpoint

* SP2-1931: Store subject forename on assessment during plan creation

* SP2-1931: Revert storing forename on assessment

* SP2-1931: Adding success/failure tests

* SP2-1931: Allow plan reset on same PK for new period of supervision

* SP2-1931: Create OASys version on plan reset and return correct version in response

* SP2-1931: Address review feedback on reset versioning

* SP2-1931 add reset logic

* SP2-1931: Remove obsolete same-PK conflict tests after create() refactor

* SP2-1931: Restore oasysAssessmentPk uniqueness guard in create()

* SP2-1931: Restore oasysAssessmentPk uniqueness guard in create()

---------

Co-authored-by: devkokov <dm.kokov@gmail.com>
* Add plan versioning resolution to existing associations endpoint

* Fix lint

* Fix failing tests
* Add endpoint to migrate associations

* Fix typo

* Refactor to use entity UUID over assessment PK
* Pin auth to a working version

* try an older image

---------

Co-authored-by: Lucas Cairns <lucas.cairns@gmail.com>
…N answers (#207)

* SP2-2002: Clone SAN assessment when linking existing entity during create

* SP2-2002: Add and adjust tests
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants