Skip to content

Commit

Permalink
Update generated files
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Segismont <tsegismont@gmail.com>
  • Loading branch information
tsegismont committed Dec 14, 2023
1 parent bdf84be commit f51d142
Show file tree
Hide file tree
Showing 45 changed files with 133 additions and 822 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,7 @@ package io.vertx.kotlin.amqp

import io.vertx.amqp.AmqpClientOptions
import io.netty.handler.logging.ByteBufFormat
import io.vertx.core.net.JdkSSLEngineOptions
import io.vertx.core.net.JksOptions
import io.vertx.core.net.OpenSSLEngineOptions
import io.vertx.core.net.PemKeyCertOptions
import io.vertx.core.net.PemTrustOptions
import io.vertx.core.net.PfxOptions
import io.vertx.core.buffer.Buffer
import io.vertx.core.net.ProxyOptions
import java.util.concurrent.TimeUnit

Expand All @@ -47,20 +42,12 @@ import java.util.concurrent.TimeUnit
* @param writeIdleTimeout Set the write idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is sent within the timeout. If you want change default time unit, use [io.vertx.amqp.AmqpClientOptions]
* @param idleTimeoutUnit
* @param ssl
* @param keyStoreOptions
* @param pfxKeyCertOptions
* @param pemKeyCertOptions
* @param trustOptions
* @param trustStoreOptions
* @param pfxTrustOptions
* @param pemTrustOptions
* @param enabledCipherSuites
* @param crlPaths
* @param crlValues
* @param useAlpn Set the ALPN usage.
* @param sslEngineOptions
* @param jdkSslEngineOptions
* @param openSslEngineOptions
* @param tcpFastOpen
* @param tcpCork
* @param tcpQuickAck
Expand Down Expand Up @@ -111,20 +98,12 @@ fun amqpClientOptionsOf(
writeIdleTimeout: Int? = null,
idleTimeoutUnit: TimeUnit? = null,
ssl: Boolean? = null,
keyStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxKeyCertOptions: io.vertx.core.net.PfxOptions? = null,
pemKeyCertOptions: io.vertx.core.net.PemKeyCertOptions? = null,
trustOptions: io.vertx.core.net.TrustOptions? = null,
trustStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxTrustOptions: io.vertx.core.net.PfxOptions? = null,
pemTrustOptions: io.vertx.core.net.PemTrustOptions? = null,
enabledCipherSuites: Iterable<String>? = null,
crlPaths: Iterable<String>? = null,
crlValues: Iterable<io.vertx.core.buffer.Buffer>? = null,
useAlpn: Boolean? = null,
sslEngineOptions: io.vertx.core.net.SSLEngineOptions? = null,
jdkSslEngineOptions: io.vertx.core.net.JdkSSLEngineOptions? = null,
openSslEngineOptions: io.vertx.core.net.OpenSSLEngineOptions? = null,
tcpFastOpen: Boolean? = null,
tcpCork: Boolean? = null,
tcpQuickAck: Boolean? = null,
Expand Down Expand Up @@ -201,27 +180,9 @@ fun amqpClientOptionsOf(
if (ssl != null) {
this.setSsl(ssl)
}
if (keyStoreOptions != null) {
this.setKeyStoreOptions(keyStoreOptions)
}
if (pfxKeyCertOptions != null) {
this.setPfxKeyCertOptions(pfxKeyCertOptions)
}
if (pemKeyCertOptions != null) {
this.setPemKeyCertOptions(pemKeyCertOptions)
}
if (trustOptions != null) {
this.setTrustOptions(trustOptions)
}
if (trustStoreOptions != null) {
this.setTrustStoreOptions(trustStoreOptions)
}
if (pfxTrustOptions != null) {
this.setPfxTrustOptions(pfxTrustOptions)
}
if (pemTrustOptions != null) {
this.setPemTrustOptions(pemTrustOptions)
}
if (enabledCipherSuites != null) {
for (item in enabledCipherSuites) {
this.addEnabledCipherSuite(item)
Expand All @@ -243,12 +204,6 @@ fun amqpClientOptionsOf(
if (sslEngineOptions != null) {
this.setSslEngineOptions(sslEngineOptions)
}
if (jdkSslEngineOptions != null) {
this.setJdkSslEngineOptions(jdkSslEngineOptions)
}
if (openSslEngineOptions != null) {
this.setOpenSslEngineOptions(openSslEngineOptions)
}
if (tcpFastOpen != null) {
this.setTcpFastOpen(tcpFastOpen)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ import java.util.concurrent.TimeUnit
* @param blockedThreadCheckInterval Sets the value of blocked thread check period, in [io.vertx.core.VertxOptions]. <p> The default value of [io.vertx.core.VertxOptions] is
* @param maxEventLoopExecuteTime Sets the value of max event loop execute time, in [io.vertx.core.VertxOptions]. <p> The default value of [io.vertx.core.VertxOptions]is
* @param maxWorkerExecuteTime Sets the value of max worker execute time, in [io.vertx.core.VertxOptions]. <p> The default value of [io.vertx.core.VertxOptions] is
* @param clusterManager Programmatically set the cluster manager to be used when clustering. <p> Only valid if clustered = true. <p> Normally Vert.x will look on the classpath for a cluster manager, but if you want to set one programmatically you can use this method.
* @param internalBlockingPoolSize Set the value of internal blocking pool size
* @param haEnabled Set whether HA will be enabled on the Vert.x instance.
* @param quorumSize Set the quorum size to be used when HA is enabled.
Expand Down Expand Up @@ -61,7 +60,6 @@ fun vertxOptionsOf(
blockedThreadCheckInterval: Long? = null,
maxEventLoopExecuteTime: Long? = null,
maxWorkerExecuteTime: Long? = null,
clusterManager: io.vertx.core.spi.cluster.ClusterManager? = null,
internalBlockingPoolSize: Int? = null,
haEnabled: Boolean? = null,
quorumSize: Int? = null,
Expand Down Expand Up @@ -95,9 +93,6 @@ fun vertxOptionsOf(
if (maxWorkerExecuteTime != null) {
this.setMaxWorkerExecuteTime(maxWorkerExecuteTime)
}
if (clusterManager != null) {
this.setClusterManager(clusterManager)
}
if (internalBlockingPoolSize != null) {
this.setInternalBlockingPoolSize(internalBlockingPoolSize)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.vertx.kotlin.core.dns

import io.vertx.core.dns.AddressResolverOptions
import io.vertx.core.buffer.Buffer

/**
* A function providing a DSL for building [io.vertx.core.dns.AddressResolverOptions] objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,8 @@ package io.vertx.kotlin.core.eventbus

import io.vertx.core.eventbus.EventBusOptions
import io.netty.handler.logging.ByteBufFormat
import io.vertx.core.buffer.Buffer
import io.vertx.core.http.ClientAuth
import io.vertx.core.net.JdkSSLEngineOptions
import io.vertx.core.net.JksOptions
import io.vertx.core.net.OpenSSLEngineOptions
import io.vertx.core.net.PemKeyCertOptions
import io.vertx.core.net.PemTrustOptions
import io.vertx.core.net.PfxOptions
import java.util.concurrent.TimeUnit

/**
Expand All @@ -46,20 +41,12 @@ import java.util.concurrent.TimeUnit
* @param writeIdleTimeout Set the write idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is sent within the timeout. If you want change default time unit, use [io.vertx.core.eventbus.EventBusOptions]
* @param idleTimeoutUnit Set the idle timeout unit. If not specified, default is seconds.
* @param ssl Set whether SSL/TLS is enabled
* @param keyStoreOptions Set the key/cert options in jks format, aka Java keystore.
* @param pfxKeyCertOptions Set the key/cert options in pfx format.
* @param pemKeyCertOptions Set the key/cert store options in pem format.
* @param trustOptions Set the trust options.
* @param trustStoreOptions Set the trust options in jks format, aka Java truststore
* @param pfxTrustOptions Set the trust options in pfx format
* @param pemTrustOptions Set the trust options in pem format
* @param enabledCipherSuites Add an enabled cipher suite, appended to the ordered suites.
* @param crlPaths Add a CRL path
* @param crlValues Add a CRL value
* @param useAlpn Set the ALPN usage.
* @param sslEngineOptions Set to use SSL engine implementation to use.
* @param jdkSslEngineOptions
* @param openSslEngineOptions
* @param tcpFastOpen Enable the <code>TCP_FASTOPEN</code> option - only with linux native transport.
* @param tcpCork Enable the <code>TCP_CORK</code> option - only with linux native transport.
* @param tcpQuickAck Enable the <code>TCP_QUICKACK</code> option - only with linux native transport.
Expand Down Expand Up @@ -100,20 +87,12 @@ fun eventBusOptionsOf(
writeIdleTimeout: Int? = null,
idleTimeoutUnit: TimeUnit? = null,
ssl: Boolean? = null,
keyStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxKeyCertOptions: io.vertx.core.net.PfxOptions? = null,
pemKeyCertOptions: io.vertx.core.net.PemKeyCertOptions? = null,
trustOptions: io.vertx.core.net.TrustOptions? = null,
trustStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxTrustOptions: io.vertx.core.net.PfxOptions? = null,
pemTrustOptions: io.vertx.core.net.PemTrustOptions? = null,
enabledCipherSuites: Iterable<String>? = null,
crlPaths: Iterable<String>? = null,
crlValues: Iterable<io.vertx.core.buffer.Buffer>? = null,
useAlpn: Boolean? = null,
sslEngineOptions: io.vertx.core.net.SSLEngineOptions? = null,
jdkSslEngineOptions: io.vertx.core.net.JdkSSLEngineOptions? = null,
openSslEngineOptions: io.vertx.core.net.OpenSSLEngineOptions? = null,
tcpFastOpen: Boolean? = null,
tcpCork: Boolean? = null,
tcpQuickAck: Boolean? = null,
Expand Down Expand Up @@ -180,27 +159,9 @@ fun eventBusOptionsOf(
if (ssl != null) {
this.setSsl(ssl)
}
if (keyStoreOptions != null) {
this.setKeyStoreOptions(keyStoreOptions)
}
if (pfxKeyCertOptions != null) {
this.setPfxKeyCertOptions(pfxKeyCertOptions)
}
if (pemKeyCertOptions != null) {
this.setPemKeyCertOptions(pemKeyCertOptions)
}
if (trustOptions != null) {
this.setTrustOptions(trustOptions)
}
if (trustStoreOptions != null) {
this.setTrustStoreOptions(trustStoreOptions)
}
if (pfxTrustOptions != null) {
this.setPfxTrustOptions(pfxTrustOptions)
}
if (pemTrustOptions != null) {
this.setPemTrustOptions(pemTrustOptions)
}
if (enabledCipherSuites != null) {
for (item in enabledCipherSuites) {
this.addEnabledCipherSuite(item)
Expand All @@ -222,12 +183,6 @@ fun eventBusOptionsOf(
if (sslEngineOptions != null) {
this.setSslEngineOptions(sslEngineOptions)
}
if (jdkSslEngineOptions != null) {
this.setJdkSslEngineOptions(jdkSslEngineOptions)
}
if (openSslEngineOptions != null) {
this.setOpenSslEngineOptions(openSslEngineOptions)
}
if (tcpFastOpen != null) {
this.setTcpFastOpen(tcpFastOpen)
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
package io.vertx.kotlin.core.http

import io.vertx.core.http.GoAway
import io.vertx.core.buffer.Buffer

/**
* A function providing a DSL for building [io.vertx.core.http.GoAway] objects.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,9 @@ package io.vertx.kotlin.core.http

import io.vertx.core.http.HttpClientOptions
import io.netty.handler.logging.ByteBufFormat
import io.vertx.core.buffer.Buffer
import io.vertx.core.http.Http2Settings
import io.vertx.core.http.HttpVersion
import io.vertx.core.net.JdkSSLEngineOptions
import io.vertx.core.net.JksOptions
import io.vertx.core.net.OpenSSLEngineOptions
import io.vertx.core.net.PemKeyCertOptions
import io.vertx.core.net.PemTrustOptions
import io.vertx.core.net.PfxOptions
import io.vertx.core.net.ProxyOptions
import io.vertx.core.tracing.TracingPolicy
import java.util.concurrent.TimeUnit
Expand All @@ -49,20 +44,12 @@ import java.util.concurrent.TimeUnit
* @param writeIdleTimeout Set the write idle timeout, default time unit is seconds. Zero means don't timeout. This determines if a connection will timeout and be closed if no data is sent within the timeout. If you want change default time unit, use [io.vertx.core.http.HttpClientOptions]
* @param idleTimeoutUnit Set the idle timeout unit. If not specified, default is seconds.
* @param ssl Set whether SSL/TLS is enabled
* @param keyStoreOptions Set the key/cert options in jks format, aka Java keystore.
* @param pfxKeyCertOptions Set the key/cert options in pfx format.
* @param pemKeyCertOptions Set the key/cert store options in pem format.
* @param trustOptions Set the trust options.
* @param trustStoreOptions Set the trust options in jks format, aka Java truststore
* @param pfxTrustOptions Set the trust options in pfx format
* @param pemTrustOptions Set the trust options in pem format
* @param enabledCipherSuites Add an enabled cipher suite, appended to the ordered suites.
* @param crlPaths Add a CRL path
* @param crlValues Add a CRL value
* @param useAlpn Set the ALPN usage.
* @param sslEngineOptions Set to use SSL engine implementation to use.
* @param jdkSslEngineOptions
* @param openSslEngineOptions
* @param tcpFastOpen Enable the <code>TCP_FASTOPEN</code> option - only with linux native transport.
* @param tcpCork Enable the <code>TCP_CORK</code> option - only with linux native transport.
* @param tcpQuickAck Enable the <code>TCP_QUICKACK</code> option - only with linux native transport.
Expand All @@ -85,7 +72,7 @@ import java.util.concurrent.TimeUnit
* @param pipelining Set whether pipe-lining is enabled on the client
* @param pipeliningLimit Set the limit of pending requests a pipe-lined HTTP/1 connection can send.
* @param verifyHost Set whether hostname verification is enabled
* @param tryUseCompression Set whether compression is enabled
* @param decompressionSupported Whether the client should send requests with an <code>accepting-encoding</code> header set to a compression algorithm.
* @param defaultHost Set the default host name to be used by this client in requests if none is provided when making the request.
* @param defaultPort Set the default port to be used by this client in requests if none is provided when making the request.
* @param protocolVersion Set the protocol version.
Expand Down Expand Up @@ -122,20 +109,12 @@ fun httpClientOptionsOf(
writeIdleTimeout: Int? = null,
idleTimeoutUnit: TimeUnit? = null,
ssl: Boolean? = null,
keyStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxKeyCertOptions: io.vertx.core.net.PfxOptions? = null,
pemKeyCertOptions: io.vertx.core.net.PemKeyCertOptions? = null,
trustOptions: io.vertx.core.net.TrustOptions? = null,
trustStoreOptions: io.vertx.core.net.JksOptions? = null,
pfxTrustOptions: io.vertx.core.net.PfxOptions? = null,
pemTrustOptions: io.vertx.core.net.PemTrustOptions? = null,
enabledCipherSuites: Iterable<String>? = null,
crlPaths: Iterable<String>? = null,
crlValues: Iterable<io.vertx.core.buffer.Buffer>? = null,
useAlpn: Boolean? = null,
sslEngineOptions: io.vertx.core.net.SSLEngineOptions? = null,
jdkSslEngineOptions: io.vertx.core.net.JdkSSLEngineOptions? = null,
openSslEngineOptions: io.vertx.core.net.OpenSSLEngineOptions? = null,
tcpFastOpen: Boolean? = null,
tcpCork: Boolean? = null,
tcpQuickAck: Boolean? = null,
Expand All @@ -158,7 +137,7 @@ fun httpClientOptionsOf(
pipelining: Boolean? = null,
pipeliningLimit: Int? = null,
verifyHost: Boolean? = null,
tryUseCompression: Boolean? = null,
decompressionSupported: Boolean? = null,
defaultHost: String? = null,
defaultPort: Int? = null,
protocolVersion: HttpVersion? = null,
Expand Down Expand Up @@ -221,27 +200,9 @@ fun httpClientOptionsOf(
if (ssl != null) {
this.setSsl(ssl)
}
if (keyStoreOptions != null) {
this.setKeyStoreOptions(keyStoreOptions)
}
if (pfxKeyCertOptions != null) {
this.setPfxKeyCertOptions(pfxKeyCertOptions)
}
if (pemKeyCertOptions != null) {
this.setPemKeyCertOptions(pemKeyCertOptions)
}
if (trustOptions != null) {
this.setTrustOptions(trustOptions)
}
if (trustStoreOptions != null) {
this.setTrustStoreOptions(trustStoreOptions)
}
if (pfxTrustOptions != null) {
this.setPfxTrustOptions(pfxTrustOptions)
}
if (pemTrustOptions != null) {
this.setPemTrustOptions(pemTrustOptions)
}
if (enabledCipherSuites != null) {
for (item in enabledCipherSuites) {
this.addEnabledCipherSuite(item)
Expand All @@ -263,12 +224,6 @@ fun httpClientOptionsOf(
if (sslEngineOptions != null) {
this.setSslEngineOptions(sslEngineOptions)
}
if (jdkSslEngineOptions != null) {
this.setJdkSslEngineOptions(jdkSslEngineOptions)
}
if (openSslEngineOptions != null) {
this.setOpenSslEngineOptions(openSslEngineOptions)
}
if (tcpFastOpen != null) {
this.setTcpFastOpen(tcpFastOpen)
}
Expand Down Expand Up @@ -335,8 +290,8 @@ fun httpClientOptionsOf(
if (verifyHost != null) {
this.setVerifyHost(verifyHost)
}
if (tryUseCompression != null) {
this.setTryUseCompression(tryUseCompression)
if (decompressionSupported != null) {
this.setDecompressionSupported(decompressionSupported)
}
if (defaultHost != null) {
this.setDefaultHost(defaultHost)
Expand Down
Loading

0 comments on commit f51d142

Please sign in to comment.