v2.0.0
📰 Release 2.0.0 Headlines
- New Approved Premises and OASys domain API
- New Approved Premises and Delius domain API
- New Make Recall Decisions and Delius integration service
- New Risk Assessment Scores OASys and Delius integration service
- New Unpaid Work and Delius integration service
- Remodelled Workforce Allocation domain API
- All services upgraded to Spring Boot 3
- All integration services migrated to Cloud Platform hosting
✨ Features
- PI-583 Risk to the individual Ords endpoint proxy (#413)
- PI-579 Changes to Allocation Demand API to bring back all data for Un… (#416)
- PI-584 Add risk assessment endpoint (#419)
- PI-585 New ORDS Endpoint proxy for ROSH details (#422)
- PI-603 Add ords health endpoint (#430)
- PI-608 updated to use SB3 compliant code (#433)
- WFP-1595 removed non probation supervision orders when out of custody (#437)
- PI-583 add booleans to replace yes no values (#439)
- PI-579 updated to use sentence end date key date (#448)
- PI-619 added missing document types equality and drugs test (#452)
- PI-626 Updates to ORDS endpoints based on v.0.9 of the Spec (#473)
- PI-609 / PI-610 Switch to Spring AWS Messaging for SQS, and Artemis for JMS (#469)
- PI-609 Fix missing SNS NotificationMessageTemplate (#475)
- PI-628 Deploy risk score consumer to all environments (#477)
- PI-609 Fix missing topic ARN (#478)
- PI-609 Fix MessageConversionException due to incorrect ObjectMapper (#479)
- PI-630 Remove domain-events-and-delius project (#480)
- PI-626 Updates in line with ORDS endpoint fixes (#485)
- PI-610 Reduce healthcheck telemetry (#515)
- PI-568 Raise Trivy vulnerabilities as GitHub issues (#466)
- PI-631 fix for filename format (#522)
- PI-626 Updates in line with camel case fixes in JSON responses (#526)
- PI-610 Switch to Spring Boot 3 compatible Sentry starter (#534)
- PI-571 Handle approved premises application submitted events (#516)
- PI-568 Fix issues being opened and closed immediately (#540)
- PI-571 Added env vars for AWS access key (#538)
- PI-610 Updated SQS listener to capture Sentry exceptions (#541)
- PI-571 Grant access to create contacts for approved-premises-and-delius service (#542)
- PI-635 updates to support SR27 changes in delius (#544)
- PI-641 Deploy to prod when e2e tests succeed for specific projects (#548)
- PI-572 Handle approved premises application assessed messages (#554)
- PI-656: Add end-to-end test option for R&M (#556)
- PI-622 Create initial project for custody-key-dates-and-delius (#565)
- PI-641 Fixes for end-to-end test workflow (#569)
- PI-658 Fix Playwright HTML report link (#572)
- PI-648 Improve error logging in Risk Assessment Scores to Delius consumer (#571)
- PI-648 Improve regular expression and add event number message (#576)
- PI-648 Fix handling of extra spaces in validation messages (#577)
- PI-664 Production change freeze (#581)
- PI-665 Improve pipeline change detection (#578)
- PI-634 Create initial project for make-recall-decisions-and-delius (#586)
- PI-668 Enable Dependabot for Terraform templates (#589)
- PI-668 Fix syntax issues in Terraform template (#591)
- PI-668 Fix syntax issues in ECS Terraform templates (#592)
- PI-668 Enable UI console access when creating SQS queues (#595)
- PI-634 Handle recall recommendation started messages (#600)
- PI-573 Handle approved premises booking messages (#601)
- PI-639 Remove gradle-git-properties plugin (#602)
- PI-636 Move DB user creation to a separate workflow (#605)
- PI-659 PI-660 Use event number instead of event id (#606)
- PI-645 Set OpenAPI server (#611)
- PI-606 Handle null custody location change date and update Telemetry (#613)
- PI-679 Move common Helm values to helm-defaults.yml file, and added a default IP allowlist (#615)
- PI-672 Management Oversight Recall (#620)
- PI-682 Fix failing Gradle build/assemble tasks (#619)
- PI-685 Add option to run all tests from a branch (#634)
- PI-684 Fix e2e test alert firing when there are no failures (#627)
- PI-683 Fix Trivy workflow from closing/re-opening issues (#625)
- PI-573 Handle approved premises person not arrived messages (#626)
- PI-634 PI-672 Deploy make-recall-decisions-and-delius to preprod and prod (#637)
- PI-664 Re-enable production deployments (#639)
- PI-681 replace artemis (#638)
- PI-651 API endpoint for Manage a Workforce Choose Practitioner page (#643)
- PI-690 update for new location of pre-cons (#646)
- PI-655 API endpoint for Manage a Workforce Allocation Completed details (#668)
- PI-693 Deploy approved-premises-and-oasys integration to preprod (#669)
- PI-652 new staff details endpoint (#670)
- PI-695 Fetch user email addresses from Delius LDAP (#672)
- PI-647 Probation Record API (#673)
- PI-652 added email to response (#676)
- PI-699 Link termination contact to licence condition (#675)
- PI-654 - Allocate to Practitioner Impact API (#677)
- PI-697 handle no event number - send detail to telemetry (#678)
- PI-653 active cases endpoint (#681)
- PI-698 Update sampling to capture all telemetry (#685)
- PI-646 Case View Allocation API (#684)
- WFP-1698 remove all section from teams (#688)
- PI-575 Initial code for handling "person-arrived" messages (#686)
- PI-721 use submitted date for referral date (#697)
- PI-693: Update Pre-Prod OAuth URL (#701)
- PI-720 refactor case view (#703)
- PI-727 Enable workflow_dispatch for DB access workflow (#704)
- PI-727 Reduce concurrency in DB access workflow (#707)
- PI-727 Simplify environment mapping (#708)
- PI-727 Fix environment check (#711)
- PI-727 Fix environment name prefix in task definition secrets (#712)
- PI-720 refactor staff / staff with user (#716)
- PI-731 update contact notes for EOTL (#719)
- PI-730 Create initial project for unpaid-work-and-delius (#723)
- PI-732 move offender events to CP (#728)
- PI-732 Fix for deployment enabled flag and Helm values priority (#729)
- PI-732 Fix path to default values.yaml file (#732)
- PI-732 enable offender events in CP preprod (#733)
- PI-732 enable offender events in prod CP (#734)
- PI-732 move tier to delius to CP (#739)
- PI-732 tier to delius (#740)
- PI-732 move risk assessment scores to CP (#738)
- PI-732 move custody key dates to CP (#737)
- PI-732 move make recall decisions to CP (#736)
- PI-732 moved db url to common (#741)
- WFP-1694 added main offence boolean (#742)
- PI-732 update to use common db url (#743)
- PI-689 Add URL for make-recall-decisions-and-delius test (#744)
- PI-737 make async task executor the primary (#746)
- PI-732 move custody status to CP (#747)
- PI-732 move pre sentence reports to CP (#748)
- PI-732 move approved premises and delius to CP (#749)
- PI-732 move person search indexer to CP (#751)
- PI-732 remove B (#752)
- PI-741 Workaround for GitHub packages rate-limiting issues (#731)
- PI-743 Clean up old images in GitHub container registry (#755)
- PI-732 override java opts as no app insights jar for search indexer (#756)
- PI-732 override java opts (#757)
- WFP-1695 added termination date to response (#759)
- WFP-1697 remove event number from risk endpoint as not required (#760)
- PI-730 Unpaid Work Personal Details API (#750)
- PI-747 - Allow address type to be null (#766)
- PI-732 Update readme and templates following migration to MOJ Cloud Platform (#758)
- PI-732 moved service to CP (#767)
- PI-732 access via namespace (#774)
- PI-738 Approved premises caseload access endpoint (#770)
- PI-750 Set rate-limit and create alert for Sentry during bootstrap (#776)
- PI-752 Move index management script to k8s CronJob (#780)
- PI-756 Increase default minimum resources (#782)
- PI-752 Remove reference to search ingress credentials (#783)
- PI-740 Remove old SchemaSpy and Playwright reports (#786)
- PI-757 Migrate workforce-allocations-to-delius to Cloud Platform (#792)
- PI-740 Remove single-commit option, so that only diffs are retrieved on git pull (#795)
🐛 Fixes
- fix hibernate trying to access length column (#679)
- fix issue with disposal entry length units (#682)
- PI-745 Exclude soft deleted events (#764)
- PI-749 fix sql for sentence view (#771)
- Fix DB username for prison-case-notes-to-probation (#802)
📄 Documentation
⬆️ Dependencies
- Bump sentry-spring-boot-starter from 6.7.0 to 6.8.0 (#412)
- Bump springdoc-openapi-ui from 1.6.12 to 1.6.13 (#414)
- Bump springdoc-openapi-kotlin from 1.6.12 to 1.6.13 (#415)
- Bump org.springframework.boot from 2.7.5 to 2.7.6 (#428)
- Bump plugin.spring from 1.7.21 to 1.7.22 (#445)
- Bump hawtio-springboot from 2.16.1 to 2.16.2 (#454)
- Bump sentry-spring-boot-starter from 6.8.0 to 6.9.1 (#453)
- Bump applicationinsights-agent from 3.4.4 to 3.4.5 (#484)
- PI-610 Upgrade Application Insights SDK to 3.4.5 (#486)
- PI-610 Upgrade to Spring Boot 3 (#476)
- Bump com.gradle.enterprise from 3.11.4 to 3.12 (#525)
- Bump applicationinsights-agent from 3.4.5 to 3.4.6 (#524)
- Bump applicationinsights-web from 3.4.5 to 3.4.6 (#523)
- Bump sentry-spring-boot-starter from 6.9.1 to 6.9.2 (#513)
- Bump mikepenz/release-changelog-builder-action from 3.4.0 to 3.5.0 (#550)
- Bump applicationinsights-web from 3.4.6 to 3.4.7 (#575)
- Bump applicationinsights-agent from 3.4.6 to 3.4.7 (#573)
- Bump springdoc-openapi-starter-webmvc-ui from 2.0.0 to 2.0.2 (#580)
- Bump sentry-spring-boot-starter-jakarta from 6.9.2 to 6.10.0 (#579)
- Bump SERVICE_NAME-queue::cloud-platform-terraform-sqs from 4.8 to 4.9.1 in /templates (#594)
- Bump SERVICE_NAME-dlq::cloud-platform-terraform-sqs from 4.8 to 4.9.1 in /templates (#593)
- Bump spring-cloud-starter-openfeign from 4.0.0-RC3 to 4.0.0 (#590)
- Bump com.gradle.enterprise from 3.12 to 3.12.1 (#604)
- Bump aws-actions/configure-aws-credentials from 1.pre.node16 to 1.7.0 (#612)
- Bump org.springframework.boot from 3.0.0 to 3.0.1 (#621)
- Bump Kotlin from 1.7.22 to 1.8.0 (#629)
- Bump mockito-inline from 4.10.0 to 4.11.0 (#630)
- Bump sentry-spring-boot-starter-jakarta from 6.10.0 to 6.11.0 (#635)
- Bump com.gradle.enterprise from 3.12.1 to 3.12.2 (#644)
- Bump mikepenz/release-changelog-builder-action from 3.5.0 to 3.6.0 (#671)
- Bump sentry-spring-boot-starter-jakarta from 6.11.0 to 6.12.1 (#698)
- Bump mockito-inline from 4.11.0 to 5.0.0 (#695)
- Bump applicationinsights-web from 3.4.7 to 3.4.8 (#714)
- Bump applicationinsights-agent from 3.4.7 to 3.4.8 (#713)
- Bump org.springframework.boot from 3.0.1 to 3.0.2 (#718)
- Bump spring-cloud-starter-openfeign from 4.0.0 to 4.0.1 (#773)
- Bump sentry-spring-boot-starter-jakarta from 6.12.1 to 6.13.0 (#781)
- Bump com.gradle.enterprise from 3.12.2 to 3.12.3 (#789)
- Bump org.jlleitschuh.gradle.ktlint from 11.0.0 to 11.1.0 (#791)
- Bump io.awspring.cloud:spring-cloud-aws-starter from 3.0.0-M3 to 3.0.0-RC1 (#790)
- Bump io.awspring.cloud:spring-cloud-aws-autoconfigure from 3.0.0-M3 to 3.0.0-RC1 (#798)
- Bump org.mockito:mockito-inline from 5.0.0 to 5.1.1 (#797)
- Bump com.microsoft.azure:applicationinsights-agent from 3.4.8 to 3.4.9 (#801)
- Bump com.microsoft.azure:applicationinsights-web from 3.4.8 to 3.4.9 (#800)