Interface ParametersConfig
@ConfigRoot(phase=RUN_TIME)
@ConfigMapping(prefix="onecx.parameters")
public interface ParametersConfig
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceCache configuration.static interfaceHistory configurationstatic interfaceMulti-tenancy configuration. -
Method Summary
Modifier and TypeMethodDescriptionParameters application ID.cache()Cache configurationParameters client URL configuration.booleanenabled()If set to true, the application will attempt to look up the configuration from Parameter servicehistory()History configuration.Instance IDParameters configurationProduct name.tenant()Multi-tenancy configuration.booleanThrow update exception when parameters are loaded from backend.
-
Method Details
-
clientUrl
Parameters client URL configuration. This property is alias for rest-client generated configuration property `quarkus.rest-client.onecx_parameter.url` -
enabled
@WithName("enabled") @WithDefault("true") boolean enabled()If set to true, the application will attempt to look up the configuration from Parameter service -
throwUpdateException
@WithName("throw-update-exception") @WithDefault("false") boolean throwUpdateException()Throw update exception when parameters are loaded from backend. -
cache
Cache configuration -
productName
Product name. -
applicationId
Parameters application ID. -
instanceId
Instance ID -
history
History configuration. -
parameters
Parameters configuration -
tenant
Multi-tenancy configuration.
-