Package org.cibseven.webapp.config
Class EngineRestProperties
java.lang.Object
org.cibseven.webapp.config.EngineRestProperties
@Component
@ConfigurationProperties(prefix="cibseven.webclient.engine-rest")
public class EngineRestProperties
extends Object
Configuration properties for engine REST endpoints.
Supports connecting to multiple engine REST servers.
Example configuration in application.yaml:
cibseven:
webclient:
engineRest:
url: http://localhost:8080
path: /engine-rest
displayName: Local Server
tooltip: Local environment
additionalEngineRest:
- url: https://flow4cib.dev.cib.de/
path: /engine-rest
displayName: Dev Server
tooltip: Development environment
- url: https://flow4cib.qa.cib.de/
path: /engine-rest
displayName: QA Server
tooltip: QA environment
The application will fetch engines from the default engineRest URL and all
additionalEngineRest URLs, combining them into a single list.
For displayName and tooltip:
- If engine name is "default", uses displayName/tooltip as-is
- Otherwise, appends engine name in parentheses, e.g., "Local Server (production)"
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
EngineRestProperties
public EngineRestProperties()
-