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: add node user as owner of files #218

Merged
merged 2 commits into from
Dec 24, 2024
Merged

fix: add node user as owner of files #218

merged 2 commits into from
Dec 24, 2024

Conversation

98jan
Copy link
Contributor

@98jan 98jan commented Dec 24, 2024

No description provided.

@98jan 98jan merged commit 6424501 into main Dec 24, 2024
4 checks passed
@d135-1r43 d135-1r43 deleted the update-file-permissions branch December 25, 2024 17:51
98jan added a commit that referenced this pull request Jan 12, 2025
* fix: upgrade jdk version for org and fin service

* feat: initial draft of helm chart #64

* feat: first draft of saas installation #64

* fix: disable secrets for keycloak bootstrap

* fix: update postgresql configuration

* fix: patching of postgresql

* fix: patching of postgresql

* fix: patching of postgresql

* fix: reduce running pods

* fix: reduce running pods

* fix: reduce running pods

* fix: add missing secret for postgresl-cluster

* fix: add missing secret for postgresl-cluster and openfga

* fix: update secrets for hopps implementation

* fix: update helm-release

* fix: update helm-release

* fix: update keycloak url in secret

* fix: add openfga job manually for migration

* fix: add openfga job manually for migration

* fix: intendation of kafka-ui ingress config

* fix: tls configuration

* Implement organization tree editor

* [126] settings page and organization structure

* [126] emojis and other improvements

* [126] add toast notifications. dark theme improvements and other...

* [126] fix ts issues for tests, add refresing token, add some tests and improvements

* [126] fix failed build

* [126] change nginx port 8080

* [126] add pid to nginx.conf

* [126] fix pid and run nginx on 8080

* [126] trying to configure keycloak

* [126] update docker file to serve react app with node:18

* Bump quarkus.platform.version from 3.16.4 to 3.17.0 in /backend

Bumps `quarkus.platform.version` from 3.16.4 to 3.17.0.

Updates `io.quarkus.platform:quarkus-bom` from 3.16.4 to 3.17.0
- [Commits](quarkusio/quarkus-platform@3.16.4...3.17.0)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.16.4 to 3.17.0
- [Commits](quarkusio/quarkus-platform@3.16.4...3.17.0)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-minor
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump quarkus.platform.version from 3.17.0 to 3.17.2 in /backend

Bumps `quarkus.platform.version` from 3.17.0 to 3.17.2.

Updates `io.quarkus.platform:quarkus-bom` from 3.17.0 to 3.17.2
- [Commits](quarkusio/quarkus-platform@3.17.0...3.17.2)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.17.0 to 3.17.2
- [Commits](quarkusio/quarkus-platform@3.17.0...3.17.2)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump org.cyclonedx:cyclonedx-maven-plugin in /backend

Bumps [org.cyclonedx:cyclonedx-maven-plugin](https://github.com/CycloneDX/cyclonedx-maven-plugin) from 2.9.0 to 2.9.1.
- [Release notes](https://github.com/CycloneDX/cyclonedx-maven-plugin/releases)
- [Commits](CycloneDX/cyclonedx-maven-plugin@cyclonedx-maven-plugin-2.9.0...cyclonedx-maven-plugin-2.9.1)

---
updated-dependencies:
- dependency-name: org.cyclonedx:cyclonedx-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚧 (bommel): WIP for multi-tenant capabilities

* 🛂 (bommel): Require user to be authenticated in bommel endpoints

* ✨ (bommel): Make bommel multi-tenant capable

* ✅ (bommel multi-tenant): Fix Organization tests

* 🎨 (org): Change import style

* ✅ (org): Add test to verify non-cascading behavior in Bommel.

Introduce a new test case to ensure that persisting a child entity does not incorrectly cascade the transaction to its parent. This involves simulating a transaction exception when attempting to commit changes to a child with a null organization, verifying the correct handling of non-cascading behavior.

* 🎨 (org): Improve code formatting for readability

Reformat line breaks and indentation across multiple Java files to enhance code readability and maintain consistent coding conventions. This includes aligning method parameters, exception messages, and annotations more clearly without modifying any functionality. These changes should aid future maintenance and collaboration efforts.

* ✨ (#111): Use java money in JPA

* ✨ (banner): Change banner to real name

* ➕ (109): Add flyway

* ✨ (109): Add BPMN process for az-document events

* ✅ (109): Add tests and cleanup application.properties

* ✨ (109): Add RestResource

* ✨ (109): Add RestClient against org service

* ✅ (109): Add pact consumer test

* ✅ (109): Add two new tests and fix sonar issues

* 🚚 Rename Sonar Vereine to Org

* 🎨 (fin): Refactor and optimize transaction resource and dependencies

Improved clarity and efficiency in TransactionRecordResource by adding API documentation and restructuring conditional logic. Removed unused dependencies from the pom.xml to streamline project configuration. These changes enhance maintainability and align the codebase with best practices.

* 🚧 (dev setup): Create initial docker compose setup, to be tested

* 🧑‍💻 (dev setup): Finish local dev docker-compose.yaml

* 🎨 (compose): Improve keycloak_default_realm.json

* 🐛 (backend): Add migrations to stop services not creating their tables

* 🗃️ (backend): Update init migration script

* 🐛 (backend): Make sure everything works + fix stuff that doesn't

* Bump org.instancio:instancio-junit from 5.1.0 to 5.2.0 in /backend

Bumps [org.instancio:instancio-junit](https://github.com/instancio/instancio) from 5.1.0 to 5.2.0.
- [Release notes](https://github.com/instancio/instancio/releases)
- [Commits](instancio/instancio@instancio-parent-5.1.0...instancio-parent-5.2.0)

---
updated-dependencies:
- dependency-name: org.instancio:instancio-junit
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump io.quarkiverse.wiremock:quarkus-wiremock-test in /backend

Bumps [io.quarkiverse.wiremock:quarkus-wiremock-test](https://github.com/quarkiverse/quarkus-wiremock) from 1.3.2 to 1.4.0.
- [Release notes](https://github.com/quarkiverse/quarkus-wiremock/releases)
- [Commits](quarkiverse/quarkus-wiremock@1.3.2...1.4.0)

---
updated-dependencies:
- dependency-name: io.quarkiverse.wiremock:quarkus-wiremock-test
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🚚 (109): Migration in wrong folder

* [126] WIP invoices service

* [126] update filter and re-rendering invoices

* [155] cleanup

* [155] fix updating summary after refresh

* [155] small improvements

* [155] add pact tests for invoices

* [155] fix lock file

* [155] all language service

* ✨ (142): First iteration of wrapper

* 📈 (#180): Add Micrometer metrics to all services

* ✨ (#177): Add PersistOrganizationDelegate and its tests

Implemented PersistOrganizationDelegate to handle the persistence of organizations, their owners, and root Bommels. Added unit tests to verify that organizations, members, and root Bommels are correctly persisted, ensuring integrity and expected behavior. Introduced a default emoji for root Bommels to standardize their representation.

* ✨ (#177): Integrate into BPMN and fix tests

* ✅ (#177): Change test visibility

* 💚 (fin): Fix failing tests

* 🐛 (#182): Fix user creation in Keycloak

* ✨ (#183): API to get Org by slug and their members

* 🎨 (#183): Remove unnecessary trailing spaces in OrganizationResource.java

* fix: increase storage for database

* feat: add healthcheck and monitoring functionality to helm chart

* ✅ (org): Try to make BommelTest run again

* ✅ (#183): Add @transactional to setUp method in DataHandlerTest

This change ensures transactional context is available during setup, preventing issues in tests that interact with the database. While the current test does not persist data, this prepares for potential future modifications.

* ✅(#183): Add Redpanda Kafka image as a Quarkus devservices workaround

This change updates application properties across multiple modules to specify the Redpanda Kafka image. The addition serves as a temporary fix until the issue is resolved in a future Quarkus release. This ensures consistent behavior in development and testing environments.

* ✅ (org): Refactor Keycloak user creation test to improve assertions

Replaced user count assertions with more precise collection size checks using Hamcrest matchers. This enhances test reliability and provides clearer intent regarding specific user creation validation. Added comments to highlight Keycloak container state reuse.

* 🎨 (org): Fix format

* 🧑‍💻 (188): Enable Quarkus Management Interface

* 🚨 (sonar): Fix sonar warnings and typos

* fix: remove not needed service and merge to one

* Bump org.instancio:instancio-junit from 5.2.0 to 5.2.1 in /backend

Bumps [org.instancio:instancio-junit](https://github.com/instancio/instancio) from 5.2.0 to 5.2.1.
- [Release notes](https://github.com/instancio/instancio/releases)
- [Commits](instancio/instancio@instancio-parent-5.2.0...instancio-parent-5.2.1)

---
updated-dependencies:
- dependency-name: org.instancio:instancio-junit
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump quarkus.platform.version from 3.17.2 to 3.17.4 in /backend

Bumps `quarkus.platform.version` from 3.17.2 to 3.17.4.

Updates `io.quarkus.platform:quarkus-bom` from 3.17.2 to 3.17.4
- [Commits](quarkusio/quarkus-platform@3.17.2...3.17.4)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.17.2 to 3.17.4
- [Commits](quarkusio/quarkus-platform@3.17.2...3.17.4)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: update helm chart and use new healthcheck endpoints

* fix: update healthcheck endpoints and remove nginx references for frontend build

* 🔥 (kafka): Remove workaround

* 📌 (kogito): use 10.0.0 release

* ♻️ (api): Refactor resources to conform to RESTful

* 🧑‍💻 (org): Include test data for org service

* 🔨 (org): Adjust test data for multitenant bommels

* 🧑‍💻 (org): Make test data available in DEV and TEST modes, automatically

* ✅ (org): Create test that uses the test data

* ✅ (org): Pass tests

* 💚 (org): Add mvn clean to backend CI/CD

* ✅ (org): Try to pass test

* ✅ (org): Try to pass OrganizationResourceTests

* 🐛 (org): Add transaction in OrganizationResourceTests

* ✅ (org): Delete all bommels and members in OrganizationResourceTests

* 🎨 (org): mvn formatter:format

* fix: update to newest helm chart, configure kafka integration

* ✨ (#197): Allow setting of first password

* 🔊 (#197): Log correct exception

* ✨ (subtotal): Remove subtotal, not needed by product

* ✨ replace frontend envs

* 🐛 fix path to startup scripts

* 🐛 fix legacy environment variable setting

* ✨ deploy new frontend version

* 🐛 fix startup script in frontend

* 🐛 fix startup script in frontend

* 🐛 fix nginx path issue for frontend

* 🐛 fix file permission issue for sed command

* 🐛 fix group for sed command

* 🐛 fix symbol issue in frontend secret

* 🐛 (208): Fix insertion issues with test-data

- increment by 1 instead of 50
- every endpoint is authenticated

* ✅ (208): Fix tests

* 🎨 (tests): Refactor test class modifiers and formatting adjustments.

Updated test classes to use default access modifiers instead of public, aligning with best practices and improving encapsulation. Also added minor formatting tweaks for better code readability.

* 🔥 (213): remove migration which is cannot work

* docs: update README.md

* docs: update .all-contributorsrc

* 🐛 (#198): Add example, remove operationID

If the operationID is set and it collides, then the OpenAPI gets broken. That resulted in #198.

* fix: add node user as owner of files (#218)

* fix: add node user as owner of files

* fix: update chown command

* fix: update replace string to not replace key in files

* Added progress up to last commit of 99-service-fr-zugferd, in order to merge properly

* change of kafka topic names

* addition of zugferd-document-service to backend pom.xml

* Changes to shouldAnayzeInvoiceWithZugferd test

* Changed URL usage to URI

* Change so that Errors get logged instead of being thrown

* Removement of unused imports

* Changed tests to be protected

* adjustments to error handling in the KafkaConnector

* changed package name accordingly

* ✨ (195): Baseline for proxy

* ✨ (195): Add referenceKey to kafka input/output

* ✨ (195): Integration of commons module

* 🔥 (195): remove subtotal

* ✨ (195): Enable authentication and add url for fin service

* 🔧 (ZUGFERD): Build, sonar and track zugferd status

* ✨ (#195): Update BPMN processes

* 🔧 (#195): Allow dependency track and sonarqube to run always

* ✨ (#195): Working communication between fin and zugferd

* ✨ (#195): Working communication between fin and az-document-ai

* 🐛 (#195): Fix null address in zugferd

* 🎨 (#195): formatting

* Bump quarkus.platform.version from 3.17.4 to 3.17.5 in /backend (#224)

Bumps `quarkus.platform.version` from 3.17.4 to 3.17.5.

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>

* ✨ (#220): Add endpoint to get my org (#221)

* 🐛 (#195): fix PR requests (#225)

Co-authored-by: Manuel Klaus <[email protected]>

* 📝 (Kogito): Temporary fix for not listing the endpoints of kogito

* 🔧 (ZUGFeRD): Enable management port

* 💚 (spa) improve CI build when replacing envs in frontend

* 🔖 (spa) deploy 171

* [000] create organization WIP

* [000] create organization WIP 3

* [000] create organization create root bommel

* [000] create bommels

* [000] implementing saving bommels. fix tests

* [000] add translations and ability to change languages

* [000] updates and fixes

* [000] set password for user on registration

* [000] improvements and fixes

* [000] fix build

* 🚀 deploy frontend with new environment variables fin and org service

* ✨ take photo of invoice

* ✨ (#228): Do not disable Auth in Dev mode for org service

* ⚗️ (todos): Update TODOs for FGAC implementation and dynamic media types

Clarified TODO notes to reflect key requirements: implementing fine-grained access control (FGAC) and dynamically setting the media type header based on file format (PNG, JPEG, PDF). These updates provide guidance for upcoming features.

* 📝 (schema): Add example to document attributs with OpenAPI

* Bump io.quarkiverse.wiremock:quarkus-wiremock-test in /backend

Bumps [io.quarkiverse.wiremock:quarkus-wiremock-test](https://github.com/quarkiverse/quarkus-wiremock) from 1.4.0 to 1.4.1.
- [Release notes](https://github.com/quarkiverse/quarkus-wiremock/releases)
- [Commits](quarkiverse/quarkus-wiremock@1.4.0...1.4.1)

---
updated-dependencies:
- dependency-name: io.quarkiverse.wiremock:quarkus-wiremock-test
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* 🙈 add .dockerignore and undo Dockerfile variable improvement

* 🚀 deploy frontend 180

* 🚀 increase volume size of postgres-cluster

* fix: cleanup repo and update implementation

* fix: remove obsolete job

* 🔐 update spa frontend secret

* 🔒️ fix cors issue for hopps.cloud

* 🔒️ fix cors issue for hopps.cloud enable cors

* fix: update secret implementation and switch migrationType for openfga

* 🐛 (org): Allow creating Orgs without Login

* 🐛 (org): Allow creating Orgs without Login, once again

* 🐛 fix path rewrite issue for org and fin service

* Bump quarkus.platform.version from 3.17.5 to 3.17.6 in /backend

Bumps `quarkus.platform.version` from 3.17.5 to 3.17.6.

Updates `io.quarkus.platform:quarkus-bom` from 3.17.5 to 3.17.6
- [Commits](quarkusio/quarkus-platform@3.17.5...3.17.6)

Updates `io.quarkus.platform:quarkus-amazon-services-bom` from 3.17.5 to 3.17.6
- [Commits](quarkusio/quarkus-platform@3.17.5...3.17.6)

Updates `io.quarkus.platform:quarkus-maven-plugin` from 3.17.5 to 3.17.6
- [Commits](quarkusio/quarkus-platform@3.17.5...3.17.6)

---
updated-dependencies:
- dependency-name: io.quarkus.platform:quarkus-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.quarkus.platform:quarkus-amazon-services-bom
  dependency-type: direct:production
  update-type: version-update:semver-patch
- dependency-name: io.quarkus.platform:quarkus-maven-plugin
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Bump org.mustangproject:validator from 2.15.2 to 2.16.0 in /backend

Bumps org.mustangproject:validator from 2.15.2 to 2.16.0.

---
updated-dependencies:
- dependency-name: org.mustangproject:validator
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* feat: initial draft of helm chart #64

* feat: first draft of saas installation #64

* fix: disable secrets for keycloak bootstrap

* fix: update postgresql configuration

* fix: patching of postgresql

* fix: patching of postgresql

* fix: patching of postgresql

* fix: reduce running pods

* fix: reduce running pods

* fix: reduce running pods

* fix: add missing secret for postgresl-cluster

* fix: add missing secret for postgresl-cluster and openfga

* fix: update secrets for hopps implementation

* fix: update helm-release

* fix: update helm-release

* fix: update keycloak url in secret

* fix: add openfga job manually for migration

* fix: add openfga job manually for migration

* fix: intendation of kafka-ui ingress config

* fix: tls configuration

* fix: increase storage for database

* fix: update helm chart and use new healthcheck endpoints

* fix: update to newest helm chart, configure kafka integration

* ✨ deploy new frontend version

* 🐛 fix startup script in frontend

* 🐛 fix file permission issue for sed command

* 🐛 fix group for sed command

* 🐛 fix symbol issue in frontend secret

* 🔖 (spa) deploy 171

* 🚀 deploy frontend with new environment variables fin and org service

* 🚀 deploy frontend 180

* 🚀 increase volume size of postgres-cluster

* fix: cleanup repo and update implementation

* fix: remove obsolete job

* 🔐 update spa frontend secret

* 🔒️ fix cors issue for hopps.cloud

* 🔒️ fix cors issue for hopps.cloud enable cors

* fix: update secret implementation and switch migrationType for openfga

* 🐛 fix path rewrite issue for org and fin service

* fix: update keycloak domain and add admin-client configuration for org-service

* fix: configure realm for admin client

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: Kostya Zamurnyak <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Emilia Jaser <[email protected]>
Co-authored-by: Markus Herhoffer <[email protected]>
Co-authored-by: Manuel Klaus <[email protected]>
Co-authored-by: pro100Koss <[email protected]>
Co-authored-by: Markus Herhoffer <[email protected]>
Co-authored-by: Manuel Hummler <[email protected]>
Co-authored-by: allcontributors[bot] <46447321+allcontributors[bot]@users.noreply.github.com>
Co-authored-by: Johsiko <[email protected]>
Co-authored-by: Manuel <[email protected]>
Co-authored-by: Manuel Hummler <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants