Refactor RolePlay application structure and enhance configuration

- Remove the RolePlayApplication class as part of the restructuring.
- Update pom.xml to include new dependencies for YAML configuration and H2 database support.
- Modify API package imports in ModelResource, SessionResource, and TurnResource to use the generated API package.
- Update application.yml to configure H2 datasource and enable Liquibase migrations at startup.
This commit is contained in:
Konrad Neitzel
2026-02-20 20:01:19 +01:00
parent f91604aea6
commit ffb97f6b8e
6 changed files with 35 additions and 38 deletions
+12 -1
View File
@@ -1,9 +1,20 @@
quarkus:
application:
name: roleplay
resteasy-reactive:
scan:
paths: de.neitzel.roleplay.fascade,de.neitzel.roleplay.business,de.neitzel.roleplay.common,de.neitzel.roleplay.data
http:
root-path: /
datasource:
db-kind: h2
jdbc:
url: jdbc:h2:mem:roleplay;DB_CLOSE_DELAY=-1
username: sa
password: ""
liquibase:
change-log: db/migration/changelog.xml
migrate-at-start: false
migrate-at-start: true
rest-client:
ollama-api:
url: http://debian:11434