All runtime settings for CulturarteWeb live in a single properties file atDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/17Franco/CulturarteWeb/llms.txt
Use this file to discover all available pages before exploring further.
~/.Culturarte/config.properties. The Config.config singleton reads this file once when the application starts. If the file or its parent directory does not exist, they are created automatically the first time the application runs — the bundled default config.properties (from src/main/resources/) is copied into place so the application can start immediately with sensible defaults.
Config.config is a singleton loaded once at JVM startup. Restart Tomcat after making any changes to config.properties — live-editing the file while the application is running has no effect until the next startup.Full configuration reference
| Key | Default | Description |
|---|---|---|
WEB_SERVICES_HOST | localhost | Hostname or IP address of the SOAP ControllerWS service |
WEB_SERVICES_PORT | 9125 | Port on which the SOAP ControllerWS service is listening |
SERVICE | /controllerWS | Path segment of the SOAP service endpoint |
WEB_SERVICES_HOSTR | localhost | Hostname or IP address of the REST proponentes service |
WEB_SERVICES_PORTR | 9126 | Port on which the REST proponentes service is listening |
SERVICER | /proponentes | Base path of the REST endpoint |
WEB_HOST | localhost | Target host used by DeployServidorWeb.sh — set to an IP for remote deployment |
USER_HOST_WEB | (empty) | SSH username for remote deployment via the deploy script |
RUTA_IMG | IMG | Relative path (from the web root or mount point) where event images are stored |
API_TOKEN | (empty) | Trello API token for board integration |
API_KEY | (empty) | Trello API key for board integration |
SOAP endpoint construction
The application constructs the full SOAP WSDL URL from three keys:jaxws-maven-plugin to generate Java client stubs from the WSDL (wsimport). The WEB_SERVICES_HOST and WEB_SERVICES_PORT values in config.properties are therefore read at both build time (by the properties-maven-plugin) and at runtime (by the Config.config singleton).
REST endpoint construction
The REST client constructs per-proponent URLs using:jdoe becomes:
Trello credentials
API_KEY and API_TOKEN are required for any feature that reads from or writes to Trello boards. To obtain them:
- Log in to trello.com with the account that owns (or has access to) the target board.
- Navigate to the Power-Ups Admin portal.
- Create a new Power-Up (or use an existing one) and copy the API Key from the dashboard.
- Generate a Token by following the token authorization link shown on the same page and granting the requested permissions.
- Paste both values into
config.properties:
Sample config.properties
A complete sample file with all available keys and their defaults:How the singleton works
TheConfig.config class (src/main/java/Config/config.java) follows a simple eager-initialization singleton pattern:
- The single instance is created when the class is first loaded.
- The constructor calls
verificarfile(), which:- Creates
~/.Culturarte/if the directory does not exist. - Copies the bundled default
config.propertiesfrom the classpath if no file is found at~/.Culturarte/config.properties. - Loads the file into a
java.util.Propertiesobject.
- Creates
- All callers retrieve values via
Config.config.getInstance().getProps("KEY").
config.properties after Tomcat has started are not picked up until the JVM restarts.