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

fix(Messages): Improves the performance of the . The list of possible… #680

Merged
merged 1 commit into from
Mar 22, 2022

Conversation

jekutzsche
Copy link
Member

… recipients for messages is now created cyclically in a background job and is immediately available for the frontend.

fix(Message): Displays the county or city name from RKI data as recipient and in the recipient selection instead of a technical name.

  • Extends the EPSHdSearchClient with the new method getAllHds and the new parameters withDetails and alsoNotConnectedHds. The parameters are set to false to load only the most necessary data.
  • The IrisMessageService creates the list of recipients in a job method and holds this list or an occurred exception in a Try instance.
  • The name in IrisMessageHdContact is set to the name from RKI data now.
  • The ownIrisMessageHdContact is now cached to avoid too frequent loading of data from the BS.
  • The job runs with a delay of 15 minutes after the last run.
  • Includes commons-collections4 to the dependencies.

Refs #678

… recipients for messages is now created cyclically in a background job and is immediately available for the frontend.

fix(Message): Displays the county or city name from RKI data as recipient and in the recipient selection instead of a technical name.

- Extends the `EPSHdSearchClient` with the new method `getAllHds` and the new parameters `withDetails` and `alsoNotConnectedHds`. The parameters are set to `false` to load only the most necessary data.
- The `IrisMessageService` creates the list of recipients in a job method and holds this list or an occurred exception in a `Try` instance.
- The `name` in `IrisMessageHdContact` is set to the name from RKI data now.
- The `ownIrisMessageHdContact` is now cached to avoid too frequent loading of data from the BS.
- The job runs with a delay of 15 minutes after the last run.
- Includes commons-collections4 to the dependencies.

Refs #678
@github-actions
Copy link

Unit Test Results

  41 files  ±0    41 suites  ±0   4m 5s ⏱️ + 1m 1s
236 tests ±0  236 ✔️ ±0  0 💤 ±0  0 ±0 

Results for commit 2486a56. ± Comparison against base commit e13ff57.

@jekutzsche jekutzsche merged commit 73cda44 into develop Mar 22, 2022
@jekutzsche jekutzsche deleted the fix/678-use_job_to_build_recipients_list branch March 22, 2022 07:02
jekutzsche pushed a commit that referenced this pull request Mar 25, 2022
## [1.5.1-rc.1](v1.5.0...v1.5.1-rc.1) (2022-03-25)

### Bug Fixes

* **Messages:** Improves the performance of the . The list of possible recipients for messages is now created cyclically in a background job and is immediately available for the frontend. ([73cda44](73cda44)), closes [#678](#678) [#680](#680)
* Removes long deprecated environment variables from `.env.sample`. This variables have had no effect for some time. ([9bf0a55](9bf0a55)), closes [#679](#679)
* RPC methods can now be extended with additional parameters while still remaining compatible with legacy RPC clients if default values are used. ([4320b23](4320b23)), closes [iris-connect/iris-backlog#278](https://github.com/iris-connect/iris-backlog/issues/278)
@jekutzsche
Copy link
Member Author

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

The release is available on GitHub release

Your semantic-release bot 📦🚀

jekutzsche pushed a commit that referenced this pull request Mar 29, 2022
## [1.5.1](v1.5.0...v1.5.1) (2022-03-29)

### Bug Fixes

* **Messages:** Improves the performance of the . The list of possible recipients for messages is now created cyclically in a background job and is immediately available for the frontend. ([73cda44](73cda44)), closes [#678](#678) [#680](#680)
* Removes long deprecated environment variables from `.env.sample`. This variables have had no effect for some time. ([9bf0a55](9bf0a55)), closes [#679](#679)
* RPC methods can now be extended with additional parameters while still remaining compatible with legacy RPC clients if default values are used. ([4320b23](4320b23)), closes [iris-connect/iris-backlog#278](https://github.com/iris-connect/iris-backlog/issues/278)
* Updates EPS to version v0.2.6 ([2cd3a4a](2cd3a4a))
@jekutzsche
Copy link
Member Author

🎉 This PR is included in version 1.5.1 🎉

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