This is the multi-page printable view of this section. Click here to print.

Return to the regular view of this page.

Configuration

Learn how to configure the extensions for Aiven.

    Here, you will find the list of resources supported by the extension for Aiven.

    Configuration

    You can configure the properties to be used to connect the Aiven service through the Jikkou client configuration property jikkou.provider.aiven.

    Example:

    jikkou {
      provider.aiven {
        enabled = true
        type = io.jikkou.extension.aiven.AivenExtensionProvider
        config = {
          # Aiven project name
          project = "http://localhost:8081"
          # Aiven service name
          service = generic
          # URL to the Aiven REST API.
          apiUrl = "https://api.aiven.io/v1/"
          # Aiven Bearer Token. Tokens can be obtained from your Aiven profile page
          tokenAuth = null
          # HTTP proxy URL, e.g. 'http://proxy.example.com:3128'. When empty, JVM proxy system properties are used.
          proxyUrl = "http://proxy.example.com:3128"
          # Username for proxy Basic authentication (optional).
          proxyUsername = null
          # Password for proxy Basic authentication (optional).
          proxyPassword = null
          # Comma-separated hosts that bypass the proxy, e.g. 'localhost,127.0.0.1,*.internal'.
          nonProxyHosts = "localhost,127.0.0.1"
          # Enable debug logging
          debugLoggingEnabled = false
        }
      }
    }
    

    HTTP proxy

    Jikkou can reach the Aiven REST API through an HTTP/HTTPS forward proxy.

    PropertyDescription
    proxyUrlProxy URL, e.g. http://proxy.example.com:3128. When empty, JVM proxy system properties are used.
    proxyUsernameUsername for proxy Basic authentication (optional).
    proxyPasswordPassword for proxy Basic authentication (optional).
    nonProxyHostsComma-separated hosts that bypass the proxy, e.g. localhost,127.0.0.1,*.internal.

    If proxyUrl is not set, Jikkou honors the standard JVM proxy system properties (-Dhttps.proxyHost, -Dhttp.proxyHost, -Dhttp.proxyUser, -Dhttp.proxyPassword, -Dhttp.nonProxyHosts), which can be supplied via JAVA_TOOL_OPTIONS.