Skip to content

Commit

Permalink
Complements
Browse files Browse the repository at this point in the history
  • Loading branch information
vietj committed Dec 18, 2024
1 parent ab93659 commit 96bcf95
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
2 changes: 2 additions & 0 deletions asciidoc/index.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,8 @@ include::modules/vertx_mongo_client.adoc[leveloffset=+1]

include::modules/vertx_redis_client.adoc[leveloffset=+1]

include::modules/vertx_consul_client.adoc[leveloffset=+1]

include::modules/vertx_health_check.adoc[leveloffset=+1]

include::modules/vertx_circuit_breaker.adoc[leveloffset=+1]
Expand Down
13 changes: 13 additions & 0 deletions asciidoc/modules/vertx_consul_client.adoc
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
= {VertX} Consul Client

The `io.vertx.ext.consul.AclToken` has been removed, instead `io.vertx.ext.consul.token.AclToken` should be used.

These deprecated API methods has been removed:

- `Check#getNodeName()`, instead `Check#getNode()` should be used.
- `ConsulClient#createAclToken(io.vertx.ext.consul.AclToken)`, instead use `createAclToken(io.vertx.ext.consul.token.AclToken)`
- `ConsulClient#updateAclToken(io.vertx.ext.consul.AclToken)`, instead use `updateAclToken(String, io.vertx.ext.consul.token.AclToken)`
- `ConsulClient#cloneAclToken(String)`, instead use `cloneAclToken(String, CloneAclTokenOptions)`
- `ConsulClient#infoAclToken(String)`, instead use `readAclToken(String)`
- `ConsulClient#destroyAclToken(String)`, instead use `deleteAclToken(String)`
- `ConsulClient#listAclTokens()`, instead use `getAclTokens()`
6 changes: 6 additions & 0 deletions asciidoc/modules/vertx_core.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -478,6 +478,12 @@ Scheduler scheduler = RxHelper.scheduler(vertx);
Observable<Long> timer = Observable.interval(100, 100, TimeUnit.MILLISECONDS, scheduler);
----

=== Context local storage removal

The context local storage API has been removed from the public API since it should not have been public in the first place and is meant for extending Vert.x

Its methods have been moved to `io.vertx.core.internal.ContextInternal` interface and might be removed any time in Vert.x 5 since there is a alternative implementation for it (`io.vertx.core.spi.context.storage.ContextLocal).

=== keyCertOptions key manager mapper removal

`KeyCertOptions#keyManagerMapper()` method has been removed in {VertX5}, implementors must instead implement `keyManagerFactoryMappermethod` that provides the opportunity to cache the `KeyManagerFactory` to the implementor that controls the lifecycle of the key manager.
Expand Down

0 comments on commit 96bcf95

Please sign in to comment.