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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user