Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Old cases and events are deleted after a configurable time (default is after 6 months) with all associated data. #384

Merged
merged 2 commits into from
Oct 6, 2021

Conversation

jekutzsche
Copy link
Member

@jekutzsche jekutzsche commented Sep 29, 2021

  • Integrates scheduled jobs which deletes the old cases and events.
  • Extends the repositories for the necessary methods.
  • Fixes an error in IrisDateTimeProvider. The method is not allowed for
    Instant.
  • Sets the default property values in application.properties.

Integrates JavaFaker library for a simpler and random creation of test
data.

Refs iris-connect/iris-backlog#244

@jekutzsche jekutzsche changed the title feat: Old cases and events are deleted after a configurable time feat: Old cases and events are deleted after a configurable time (default is after 6 months) with all associated data. Sep 29, 2021
@jekutzsche jekutzsche force-pushed the feature/244_delete_old_data branch 3 times, most recently from b0f2e9f to 8f548e1 Compare September 29, 2021 09:05
@github-actions
Copy link

github-actions bot commented Sep 29, 2021

Unit Test Results

21 files  ±0  21 suites  ±0   1m 19s ⏱️ ±0s
79 tests ±0  79 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 3da22e4. ± Comparison against base commit 3da22e4.

♻️ This comment has been updated with latest results.

(default is after 6 months) with all associated data.

* Integrates scheduled jobs which deletes the old cases and events.
* Extends the repositories for the necessary methods.
* Fixes an error in IrisDateTimeProvider. The method is not allowed for
`Instant`.
* Sets the default property values in application.properties.

Integrates JavaFaker library for a simpler and random creation of test
data.

Refs iris-connect/iris-backlog#244
* removes false JavaDoc @SInCE notes
@jekutzsche jekutzsche merged commit 3da22e4 into develop Oct 6, 2021
@jekutzsche jekutzsche deleted the feature/244_delete_old_data branch October 6, 2021 18:23
jekutzsche pushed a commit that referenced this pull request Oct 26, 2021
# [1.1.0-rc.1](v1.0.1...v1.1.0-rc.1) (2021-10-26)

### Bug Fixes

* After an update, the frontend is automatically reloaded if it would ([cb98b9c](cb98b9c)), closes [iris-connect/iris-backlog#229](https://github.com/iris-connect/iris-backlog/issues/229) [#358](#358)
* Fixed an occasional blank home screen when contact address information is missing. ([8a7fe34](8a7fe34)), closes [#350](#350)
* Front end no longer runs as root in the container. ([6da6662](6da6662)), closes [iris-connect/iris-backlog#224](https://github.com/iris-connect/iris-backlog/issues/224) [#329](#329)
* Front end no longer runs as root in the container. ([e8abc17](e8abc17)), closes [iris-connect/iris-backlog#224](https://github.com/iris-connect/iris-backlog/issues/224) [#326](#326)
* If an error occurs in the app, a data request is now no longer ([9e0c176](9e0c176)), closes [iris-connect/iris-backlog#124](https://github.com/iris-connect/iris-backlog/issues/124)
* International phone numbers will be accepted now. ([6b08b0a](6b08b0a)), closes [iris-connect/iris-backlog#230](https://github.com/iris-connect/iris-backlog/issues/230)
* Meaningful error message if username is already used. ([e244049](e244049)), closes [iris-connect/iris-backlog#192](https://github.com/iris-connect/iris-backlog/issues/192)
* Removes license reference for code generated by Swagger that no ([85c07a5](85c07a5))
* Use event request guest's mobile number as phone number if mobile number is valid and phone number is not. ([99fd390](99fd390)), closes [iris-connect/iris-backlog#249](https://github.com/iris-connect/iris-backlog/issues/249) [#419](#419)

### Features

* Add search hint to location search dialog explaining on how to use the new search algorithm. ([3022d28](3022d28)), closes [iris-connect/iris-backlog#110](https://github.com/iris-connect/iris-backlog/issues/110) [#370](#370)
* Adds automated end to end tests to check many frontend core functionalities. ([3dd737c](3dd737c)), closes [#420](#420)
* Change atomic address from columns to comma separated text in standard csv export. ([a9a9fb5](a9a9fb5)), closes [iris-connect/iris-backlog#246](https://github.com/iris-connect/iris-backlog/issues/246) [#403](#403)
* Enables MySQL, MariaDB and MSSQL to be used alongside PostgreSQL as DBMS. ([416172f](416172f)), closes [#214](#214) [#386](#386)
* Extends the search of events and cases to a fuzzy and wildcard search over the visible text columns of the event and the case overview. ([7457f11](7457f11)), closes [iris-connect/iris-backlog#110](https://github.com/iris-connect/iris-backlog/issues/110) [#385](#385)
* Old cases and events are deleted after a configurable time (default is after 6 months) with all associated data. ([3da22e4](3da22e4)), closes [iris-connect/iris-backlog#244](https://github.com/iris-connect/iris-backlog/issues/244) [#384](#384)

### Reverts

* Revert "fix: Front end no longer runs as root in the container." (#328) ([98a4b30](98a4b30)), closes [#328](#328)
@jekutzsche
Copy link
Member Author

🎉 This PR is included in version 1.1.0-rc.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

jekutzsche pushed a commit that referenced this pull request Nov 3, 2021
# [1.1.0](v1.0.1...v1.1.0) (2021-11-03)

### Bug Fixes

* After an update, the frontend is automatically reloaded if it would ([cb98b9c](cb98b9c)), closes [iris-connect/iris-backlog#229](https://github.com/iris-connect/iris-backlog/issues/229) [#358](#358)
* An admin can now change a user's data again. An error occurred ([402baba](402baba))
* **build:** The image tags in the composite files are now correct with ([9146a1f](9146a1f))
* Cleans the Docker image of the frontend from artifacts that are only needed for the build. This makes it more secure and greatly reduced in size. ([d62ca2a](d62ca2a)), closes [#442](#442)
* Fixed an occasional blank home screen when contact address information is missing. ([8a7fe34](8a7fe34)), closes [#350](#350)
* Front end no longer runs as root in the container. ([6da6662](6da6662)), closes [iris-connect/iris-backlog#224](https://github.com/iris-connect/iris-backlog/issues/224) [#329](#329)
* Front end no longer runs as root in the container. ([e8abc17](e8abc17)), closes [iris-connect/iris-backlog#224](https://github.com/iris-connect/iris-backlog/issues/224) [#326](#326)
* If an error occurs in the app, a data request is now no longer ([9e0c176](9e0c176)), closes [iris-connect/iris-backlog#124](https://github.com/iris-connect/iris-backlog/issues/124)
* International phone numbers will be accepted now. ([6b08b0a](6b08b0a)), closes [iris-connect/iris-backlog#230](https://github.com/iris-connect/iris-backlog/issues/230)
* Meaningful error message if username is already used. ([e244049](e244049)), closes [iris-connect/iris-backlog#192](https://github.com/iris-connect/iris-backlog/issues/192)
* Removes license reference for code generated by Swagger that no ([85c07a5](85c07a5))
* Restricts the content of …deployment….zip to the folders and files ([d265238](d265238)), closes [#432](#432) [#433](#433)
* Use event request guest's mobile number as phone number if mobile number is valid and phone number is not. ([99fd390](99fd390)), closes [iris-connect/iris-backlog#249](https://github.com/iris-connect/iris-backlog/issues/249) [#419](#419)

### Features

* Add search hint to location search dialog explaining on how to use the new search algorithm. ([3022d28](3022d28)), closes [iris-connect/iris-backlog#110](https://github.com/iris-connect/iris-backlog/issues/110) [#370](#370)
* Adds automated end to end tests to check many frontend core functionalities. ([3dd737c](3dd737c)), closes [#420](#420)
* Change atomic address from columns to comma separated text in standard csv export. ([a9a9fb5](a9a9fb5)), closes [iris-connect/iris-backlog#246](https://github.com/iris-connect/iris-backlog/issues/246) [#403](#403)
* Enables MySQL, MariaDB and MSSQL to be used alongside PostgreSQL as DBMS. ([416172f](416172f)), closes [#214](#214) [#386](#386)
* Extends the search of events and cases to a fuzzy and wildcard search over the visible text columns of the event and the case overview. ([7457f11](7457f11)), closes [iris-connect/iris-backlog#110](https://github.com/iris-connect/iris-backlog/issues/110) [#385](#385)
* Old cases and events are deleted after a configurable time (default is after 6 months) with all associated data. ([3da22e4](3da22e4)), closes [iris-connect/iris-backlog#244](https://github.com/iris-connect/iris-backlog/issues/244) [#384](#384)

### Reverts

* Revert "fix: Front end no longer runs as root in the container." (#328) ([98a4b30](98a4b30)), closes [#328](#328)
@jekutzsche
Copy link
Member Author

🎉 This PR is included in version 1.1.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants