diff options
| author | Fabian Mastenbroek <fmastenbroek@meta.com> | 2023-01-07 19:23:11 +0000 |
|---|---|---|
| committer | Fabian Mastenbroek <mail.fabianm@gmail.com> | 2023-02-01 22:01:19 +0000 |
| commit | e64487cb57ca75d17fe5a8a664c1e8247c7b5168 (patch) | |
| tree | 1f164874a6cb0d9635d8b629661b0bf54114fdc5 /opendc-web/opendc-web-server/build.gradle.kts | |
| parent | ccd3b4641ba6135abf6c80f8cf7c34d16148d818 (diff) | |
refactor(web/server): Use Panache for entity modeling
This change updates the OpenDC web server to use Panache (provided by
Quarkus) to model entities. Such approach is better supported in Quarkus
and simplifies our implementation.
Diffstat (limited to 'opendc-web/opendc-web-server/build.gradle.kts')
| -rw-r--r-- | opendc-web/opendc-web-server/build.gradle.kts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/opendc-web/opendc-web-server/build.gradle.kts b/opendc-web/opendc-web-server/build.gradle.kts index 62c13591..bbf713cd 100644 --- a/opendc-web/opendc-web-server/build.gradle.kts +++ b/opendc-web/opendc-web-server/build.gradle.kts @@ -46,7 +46,8 @@ dependencies { implementation(libs.quarkus.security) implementation(libs.quarkus.oidc) - implementation(libs.quarkus.hibernate.orm) + implementation(libs.quarkus.hibernate.orm.core) + implementation(libs.quarkus.hibernate.orm.panache) implementation(libs.quarkus.hibernate.validator) implementation(libs.quarkus.flyway) implementation(libs.quarkus.jdbc.postgresql) @@ -56,6 +57,7 @@ dependencies { testImplementation(libs.quarkus.junit5.core) testImplementation(libs.quarkus.junit5.mockk) testImplementation(libs.quarkus.jacoco) + testImplementation(libs.quarkus.panache.mock) testImplementation(libs.restassured.core) testImplementation(libs.restassured.kotlin) testImplementation(libs.quarkus.test.security) |
