Interface ParametersConfig


@ConfigRoot(phase=RUN_TIME) @ConfigMapping(prefix="onecx.parameters") public interface ParametersConfig
  • Method Details

    • clientUrl

      @WithName("service.client.url") @WithDefault("http://onecx-parameter-svc:8080") String 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

      @WithName("cache") ParametersConfig.CacheConfig cache()
      Cache configuration
    • productName

      @WithName("product-name") String productName()
      Product name.
    • applicationId

      @WithName("application-id") @WithDefault("${quarkus.application.name}") String applicationId()
      Parameters application ID.
    • instanceId

      @WithName("instance-id") Optional<String> instanceId()
      Instance ID
    • history

      @WithName("history") ParametersConfig.HistoryConfig history()
      History configuration.
    • parameters

      @WithName("items") Map<String,String> parameters()
      Parameters configuration
    • tenant

      @WithName("tenant") ParametersConfig.TenantConfig tenant()
      Multi-tenancy configuration.