-
Notifications
You must be signed in to change notification settings - Fork 1
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
#145 Bommel multi-tenant #151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Kannst du auch nochmal die Kaskaden in Tests absichern? Sonst schaut es ganz gut aus.
backend/app.hopps.org/src/main/java/app/hopps/org/jpa/Bommel.java
Outdated
Show resolved
Hide resolved
Wie meinst du Kaskaden absichern? Ich wüsste nur wirklich wie ich PERSIST/MERGE testen könnte...außerdem funktionieren die eh nur in Org -> Bommel Richtung und nicht andersrum. |
e76689a
to
aab9152
Compare
backend/app.hopps.org/src/main/java/app/hopps/org/jpa/Bommel.java
Outdated
Show resolved
Hide resolved
backend/app.hopps.org/src/main/java/app/hopps/org/jpa/Organization.java
Outdated
Show resolved
Hide resolved
backend/app.hopps.org/src/main/java/app/hopps/org/rest/BommelResource.java
Outdated
Show resolved
Hide resolved
backend/app.hopps.org/src/test/java/app/hopps/org/jpa/BommelTest.java
Outdated
Show resolved
Hide resolved
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.
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.
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
Quality Gate passedIssues Measures |
resolves #145