Add initial project structure and configuration for RolePlay service

- Create .gitignore to exclude target and IDE files
- Add application.yml for Quarkus configuration
- Implement package-info.java for business logic, facade, data, and common packages
- Define core classes for handling user actions, character states, and narrative suggestions
- Set up Ollama API client for narrative generation and state updates
- Include unit tests for greeting service and serialization of context
This commit is contained in:
Konrad Neitzel
2026-02-20 13:41:24 +01:00
commit eed9d1da66
44 changed files with 2362 additions and 0 deletions
+12
View File
@@ -0,0 +1,12 @@
quarkus:
application:
name: roleplay
liquibase:
change-log: db/migration/changelog.xml
migrate-at-start: false
rest-client:
ollama-api:
url: http://debian:11434
connect-timeout: 5000
read-timeout: 120000
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<databaseChangeLog
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns="http://www.liquibase.org/xml/ns/dbchangelog"
xsi:schemaLocation="http://www.liquibase.org/xml/ns/dbchangelog
http://www.liquibase.org/xml/ns/dbchangelog/dbchangelog-4.24.xsd">
</databaseChangeLog>