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.booleanclientV1()Deprecated.will be removed at some point in the future.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` -
clientV1
@WithName("service.client.v1") @WithDefault("false") boolean clientV1()Deprecated.will be removed at some point in the future.Parameters client version V1. Client v1 is deprecated and will be removed at some point in the future. -
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.
-