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(Standalone installation): The announcement database file is now r… #528

Merged
merged 1 commit into from
Jan 10, 2022

Conversation

jekutzsche
Copy link
Member

…elative to the execution path by default and can be additionally configured with ANNOUNCEMENT_DB_FOLDER.

Refs #222

…elative to the execution path by default and can be additionally configured with ANNOUNCEMENT_DB_FOLDER.

Refs #222
@github-actions
Copy link

Unit Test Results

  26 files    26 suites   2m 38s ⏱️
112 tests 112 ✔️ 0 💤 0

Results for commit d547f01.

Copy link
Contributor

@lucky-lusa lucky-lusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does not need to be configurable. Inside the container it should be /app/db/private-proxy-announcements.db in my opinion.

It's just important that admins can set the correct path as bind-mount in docker-compose.yml to persist the file.

In the long run, we should move this database to redis. The option has been around for a few EPS versions.

@jekutzsche
Copy link
Member Author

This is exclusively about the standalone installation and thus the mounts do not help.

Copy link
Contributor

@lucky-lusa lucky-lusa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry, overlooked its for standalone.

@jekutzsche jekutzsche merged commit f9e5bf9 into develop Jan 10, 2022
@jekutzsche jekutzsche deleted the fix/C#222-relative_databes_file branch January 10, 2022 12:25
jekutzsche pushed a commit that referenced this pull request Jan 26, 2022
# [1.3.0-rc.1](v1.2.1...v1.3.0-rc.1) (2022-01-26)

### Bug Fixes

* Avoids irrelevant but logged ClassNotFoundException. It is correct that the class iris.backend_service.configurations.CentralConfigurationException is missing. ([89c2da8](89c2da8)), closes [#527](#527)
* Cleans the `.env(.sample)` from values that are prescribed for the environments. Admins in the HDs do not have to do anything with it now, instead the correct values are set internally based on the `IRIS_ENV`. ([0211219](0211219)), closes [#566](#566)
* **Deps:** Sets new log4j version to fix current vulnerability in versions ≤2.17.0 ([c57d32f](c57d32f))
* from version 0.22.0 Trivy scans POMs and disables JAR detection ([ce5f37b](ce5f37b))
* ignores vulnerability with unclear reason ([5fdc9db](5fdc9db))
* Removes a few default values for configurations that do not work in general, but hide the lack of an individual configuration. If the `.env(.sample)` has been filled in according to the notes it contains, then all mandatory values are already set correctly and no action is required. ([c61dc00](c61dc00)), closes [#561](#561)
* Removes the long deprecated environment variable TRUSTED_CA_CRT from `.env.sample`. This has not had any effect for some time. ([1e19b7e](1e19b7e)), closes [#554](#554) [#555](#555)
* Stack traces are not included in error responses now to avoid giving too many internal details to the outside world for error conditions. ([07c6476](07c6476)), closes [#560](#560)
* **Standalone installation:** The announcement database file is now relative to the execution path by default and can be additionally configured with ANNOUNCEMENT_DB_FOLDER. ([f9e5bf9](f9e5bf9)), closes [#222](#222) [#528](#528)
* The property `SECURITY_JWT_SHARED_SECRET` is now deprecated and is no longer considered. Instead, the secret is set randomly. This relieves the administrators of the IRIS client from this technically necessary detail. ([1bfe801](1bfe801)), closes [#553](#553) [#556](#556)
* Updates EPS from version from v0.1.69 to v0.2.1 ([fc4e767](fc4e767)), closes [#526](#526)

### Features

* Adds alerts about configuration mismatch of proxy target subdomain. ([7327bf8](7327bf8)), closes [#529](#529)
* **Codescan:** adds more queries to the CodeQL scan to be more helpful ([8fb828c](8fb828c))
* **Database:** Updates the integrated PostgreSQL database (Docker-Compose installation) to the version `13.5`. ([60ed899](60ed899)), closes [#540](#540)
* set content specific cell formats to excel export for octoware ([5d2854d](5d2854d)), closes [iris-connect/iris-backlog#264](https://github.com/iris-connect/iris-backlog/issues/264)
* The certificate of the local EPS is validated by the IRIS Client now. This will further improve security within the health department installation. ([870ae47](870ae47)), closes [iris-connect/iris-backlog#226](https://github.com/iris-connect/iris-backlog/issues/226) [#568](#568)
* To protect against flooding with very large amounts of data, submissions is now limited. This concerns both the pure amount of data and the number of elements per data submission. ([7733fe8](7733fe8)), closes [iris-backlog/issues#180](https://github.com/iris-backlog/issues/issues/180) [#573](#573)

### Reverts

* Revert "chore: test of templates for PRs" ([15b92dd](15b92dd))
* Revert "chore: test of templates for issuess" ([b96fbeb](b96fbeb))
@jekutzsche
Copy link
Member Author

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

The release is available on GitHub release

Your semantic-release bot 📦🚀

jekutzsche pushed a commit that referenced this pull request Feb 1, 2022
# [1.3.0](v1.2.1...v1.3.0) (2022-02-01)

### Bug Fixes

* Avoids irrelevant but logged ClassNotFoundException. It is correct that the class iris.backend_service.configurations.CentralConfigurationException is missing. ([89c2da8](89c2da8)), closes [#527](#527)
* Changes the certificate paths to the new schema introduced with new EPS. ([6772bdc](6772bdc))
* Changes the certificate paths to the new schema introduced with new EPS. ([fe1a0b3](fe1a0b3))
* Cleans the `.env(.sample)` from values that are prescribed for the environments. Admins in the HDs do not have to do anything with it now, instead the correct values are set internally based on the `IRIS_ENV`. ([0211219](0211219)), closes [#566](#566)
* **Deps:** Sets new log4j version to fix current vulnerability in versions ≤2.17.0 ([c57d32f](c57d32f))
* from version 0.22.0 Trivy scans POMs and disables JAR detection ([ce5f37b](ce5f37b))
* ignores vulnerability with unclear reason ([5fdc9db](5fdc9db))
* Removes a few default values for configurations that do not work in general, but hide the lack of an individual configuration. If the `.env(.sample)` has been filled in according to the notes it contains, then all mandatory values are already set correctly and no action is required. ([c61dc00](c61dc00)), closes [#561](#561)
* Removes the long deprecated environment variable TRUSTED_CA_CRT from `.env.sample`. This has not had any effect for some time. ([1e19b7e](1e19b7e)), closes [#554](#554) [#555](#555)
* Stack traces are not included in error responses now to avoid giving too many internal details to the outside world for error conditions. ([07c6476](07c6476)), closes [#560](#560)
* **Standalone installation:** The announcement database file is now relative to the execution path by default and can be additionally configured with ANNOUNCEMENT_DB_FOLDER. ([f9e5bf9](f9e5bf9)), closes [#222](#222) [#528](#528)
* The property `SECURITY_JWT_SHARED_SECRET` is now deprecated and is no longer considered. Instead, the secret is set randomly. This relieves the administrators of the IRIS client from this technically necessary detail. ([1bfe801](1bfe801)), closes [#553](#553) [#556](#556)
* Updates EPS from version from v0.1.69 to v0.2.1 ([fc4e767](fc4e767)), closes [#526](#526)

### Features

* Adds alerts about configuration mismatch of proxy target subdomain. ([7327bf8](7327bf8)), closes [#529](#529)
* **Codescan:** adds more queries to the CodeQL scan to be more helpful ([8fb828c](8fb828c))
* **Database:** Updates the integrated PostgreSQL database (Docker-Compose installation) to the version `13.5`. ([60ed899](60ed899)), closes [#540](#540)
* set content specific cell formats to excel export for octoware ([5d2854d](5d2854d)), closes [iris-connect/iris-backlog#264](https://github.com/iris-connect/iris-backlog/issues/264)
* **Standalone installation:** Provides a script to check and import the now required root certificates to the key store of the used Java installation. This script runs together with 'start-iris-client-bff.sh'. ([ed691f8](ed691f8)), closes [iris-connect/iris-backlog#226](https://github.com/iris-connect/iris-backlog/issues/226) [#586](#586)
* The certificate of the local EPS is validated by the IRIS Client now. This will further improve security within the health department installation. ([870ae47](870ae47)), closes [iris-connect/iris-backlog#226](https://github.com/iris-connect/iris-backlog/issues/226) [#568](#568)
* To protect against flooding with very large amounts of data, submissions is now limited. This concerns both the pure amount of data and the number of elements per data submission. ([7733fe8](7733fe8)), closes [iris-backlog/issues#180](https://github.com/iris-backlog/issues/issues/180) [#573](#573)

### Reverts

* Revert "chore: test of templates for PRs" ([15b92dd](15b92dd))
* Revert "chore: test of templates for issuess" ([b96fbeb](b96fbeb))
@jekutzsche
Copy link
Member Author

🎉 This PR is included in version 1.3.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