Problem
Hardcoded values scattered across the codebase make it fragile and hard to configure for different environments.
Examples
- AI endpoint URL:
https://litellm-prod.apps.maas.redhatworkshops.io/v1 in application.properties
- Default passwords:
gateforge, changeme, dummy in properties and Helm values
quarkus.langchain4j.openai.log-requests=true / log-responses=true — leaks prompts and API keys in logs
- Magic TTLs and timeouts without named constants
- FAQ prompts hardcoded in ChatResource
Acceptance criteria
Problem
Hardcoded values scattered across the codebase make it fragile and hard to configure for different environments.
Examples
https://litellm-prod.apps.maas.redhatworkshops.io/v1inapplication.propertiesgateforge,changeme,dummyin properties and Helm valuesquarkus.langchain4j.openai.log-requests=true/log-responses=true— leaks prompts and API keys in logsAcceptance criteria
%devprofile for dev-only defaults (passwords, logging)