Bump com.diffplug.spotless from 7.2.1 to 8.0.0 in /services/hanke-service#1121
Bump com.diffplug.spotless from 7.2.1 to 8.0.0 in /services/hanke-service#1121dependabot[bot] wants to merge 1156 commits intodevfrom
Conversation
…service (#805) Bump org.springframework.boot in /services/hanke-service to 3.3.3 Logback access needs to be upgraded to 2.0 to work with Spring Boot 3.3. logstash-logback-encoder needs to be upgraded to 8.0 to work with logback-access 2.0. Fix dependency conflict between logback-access 2.0 and Spring Boot 3.3 by excluding tomcat dependencies from logback-access. Disable GDPR API when running with `./gradlew bootRun`. Otherwise, it wouldn't run unless the gdpr-api-tester was also running. --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Topias Heinonen <topias.heinonen@gofore.com>
Create a new table and entity for storing past report events for operational condition and work finished dates. Save a new event in the DB when the user reports an operational condition date. Return the events in the API with excavation notifications but not with cable reports. Add hakemustunnus to the saved valmistumisilmoitus. We don't need the hakemustunnus at this time, but it feels like something we might need and it's something that's hard or impossible to deduce afterwards.
#814) When creating a new johtoselvitys without existing hanke, the phase of generated hanke is set to RAKENTAMINEN. Also, when creating new johtoselvityshakemus or kaivuilmoitus for an existing hanke, the phase of the hanke is set to RAKENTAMINEN if not already set.
Send a notification email to all contacts when kaivuilmoitus is approved in operational condition.
Send an email notification to all contacts when a kaivuilmoitus enters 'finished' state
In applications, the registry key can be either a company key (y-tunnus) or a personal identification code (henkilötunnus). Rename the internal values to registry key to reflect this. The API already uses registry key, so it doesn't need to be changed. Also, reduce duplication in PDF tests.
Make HakemusService return domain objects instead DTOs. Returning DTOs from services violates the separation of concerns between services and controllers.
Add the `registryKeyHidden` field to all hakemus responses where customer information is available. The value is true when the customer is of type person or other and has a non-null `registryKey`. When registryKeyHidden is true, overwrite the registry key with a null value.
Add the `registryKeyHidden` field to `CustomerRequest`. The value is read as false if it's null or missing from the request JSON. The value and the registry key are validated to be acceptable. The logic for updating the registry key or keeping the old value will be added later in a separate PR. Anything related to invoicing customers will be added later as well. Also, make validation return only unique error paths.
…plication is updated (#820)
Also, refactor hakemus tests to use `HakemusBuilder.save()` instead of `.saveEntity()` and a separate load.
…0 in /services/hanke-service (#822)
When receiving a valid GDPR request to delete a user, clear the `kutsujaId` column of any users the deleted user so the foreign key reference doesn't stop the deletion. Do this separately for the two cases: - There are only unidentified users in a hanke besides the deleted user, so the whole hanke is deleted. - There are identified and/or unidentified users in the hanke, so only the requested user is removed. When a user requests their information should be deleted from Haitaton, being an inviter to another user is not a valid reason to stop the information from getting deleted.
Add an API for reporting the date the work on an excavation is finished. The date is passed on to Allu. The report event is also stored in the local database. Since the functionalities of reporting the work being in operational condition and reporting work finished are so similar, the new API uses a lot of the same implementation, refactored to take the type of completion (operational condition or work finished) as a parameter.
Send an email whenever the status of an application goes to WAITING_INFORMATION, meaning that a new information request (täydennyspyyntö) has been made in Allu. The email is sent to the contacts on the application that have permission to edit the application, i.e. respond to the request.
…services/hanke-service (#830)
…3.8.3 in /services/hanke-service (#831)
Add an optional body for the application send API. The body can contain the receiver of a paper copy of the decision for the application. The receiver is saved to the application data and returned from the application APIs. Adding the receiver is written as an update to audit logs. The receiver can be set only with the send API, it can't be modified with a regular PUT update.
When the orderer asks for a paper of the decision to be sent to an address, send that address to Allu. The address is added to the form data PDF that's sent to Allu after every application. To make the information easy to notice, add a system comment saying that a paper copy has been requested and that the address can be found in the PDF. Also, - Change the customer headers in johtoselvityshakemus PDF to singular, since there can be only one customer for each role. - Fix the `as` keyword in the Dockerfiles. It should be capitalized.
There are a lot of potential cycle paths in parks. We don't know if all of them are really cycle paths, but many of them are. We add them at index value 1 so the users know there might be a cycle path within the project area.
Implement new validation rules for registry keys when sending a kaivuilmoitus. I.e., a registry key is required for all customers (työstä vastaava) and customers invoicing. For companies and associations, it needs to be a y-tunnus, for persons, a henkilötunnus, and for others, any non-blank string.
…ke-service (#1102) * Bump com.github.librepdf:openpdf in /services/hanke-service Bumps com.github.librepdf:openpdf from 2.0.3 to 3.0.0. --- updated-dependencies: - dependency-name: com.github.librepdf:openpdf dependency-version: 3.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Java 17 -> Java 21 (#1114) * Renamed package com.lowagie to org.openpdf * Java 17 --> Java 21 * New email generated email templates * Changed deprecated Locale construction --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Teemu Hiltunen <teemu.hiltunen@gofore.com>
3f6bb26 to
26533af
Compare
…service (#1117) * Bump org.springframework.boot in /services/hanke-service Bumps [org.springframework.boot](https://github.com/spring-projects/spring-boot) from 3.5.5 to 3.5.6. - [Release notes](https://github.com/spring-projects/spring-boot/releases) - [Commits](spring-projects/spring-boot@v3.5.5...v3.5.6) --- updated-dependencies: - dependency-name: org.springframework.boot dependency-version: 3.5.6 dependency-type: direct:production update-type: version-update:semver-patch ... Signed-off-by: dependabot[bot] <support@github.com> * Fixed deleteBy returning entity instead of int --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Teemu Hiltunen <teemu.hiltunen@gofore.com>
26533af to
379e17a
Compare
…ices/hanke-service (#1119) * Bump com.squareup.okhttp3:mockwebserver in /services/hanke-service Bumps [com.squareup.okhttp3:mockwebserver](https://github.com/square/okhttp) from 4.12.0 to 5.1.0. - [Changelog](https://github.com/square/okhttp/blob/master/CHANGELOG.md) - [Commits](square/okhttp@parent-4.12.0...parent-5.1.0) --- updated-dependencies: - dependency-name: com.squareup.okhttp3:mockwebserver dependency-version: 5.1.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com> * Use mockwebserver3 --------- Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Teemu Hiltunen <teemu.hiltunen@gofore.com>
HAI-3601 Added new ApplicationStatus
* Return an error HAI0006 when the session is terminated due to backchannel-logout. In this case UI will know about it and can log out also.
# Description Set CI workflow ### Jira Issue: [PLATTA-6702](https://helsinkisolutionoffice.atlassian.net/browse/PLATTA-6702) ## Type of change - [ ] Bug fix - [ ] New feature - [ ] Other # Instructions for testing Please describe tests how this change or new feature can be tested. # Checklist: - [ ] I have written new tests (if applicable) - [ ] I have ran the tests myself (if applicable) - [ ] I have made necessary changes to the documentation, link to confluence or other location: # Other relevant info Please describe here if there is e.g. some requirements for this change or other info that the tester/user needs to know. [PLATTA-6702]: https://helsinkisolutionoffice.atlassian.net/browse/PLATTA-6702?atlOrigin=eyJpIjoiNWRkNTljNzYxNjVmNDY3MDlhMDU5Y2ZhYzA5YTRkZjUiLCJwIjoiZ2l0aHViLWNvbS1KU1cifQ
Bumps com.diffplug.spotless from 7.2.1 to 8.0.0. --- updated-dependencies: - dependency-name: com.diffplug.spotless dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
379e17a to
d77ace1
Compare
Test Results 410 files ±0 1 errors 409 suites ±0 2m 56s ⏱️ -2s For more details on these parsing errors, see this check. Results for commit d77ace1. ± Comparison against base commit 7bb7c69. |
|
|
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting If you change your mind, just re-open this PR and I'll resolve any conflicts on it. |



Bumps com.diffplug.spotless from 7.2.1 to 8.0.0.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot mergewill merge this PR after your CI passes on it@dependabot squash and mergewill squash and merge this PR after your CI passes on it@dependabot cancel mergewill cancel a previously requested merge and block automerging@dependabot reopenwill reopen this PR if it is closed@dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)