Paulo Lopes
463cf286b2
Set the cachedir to /tmp
...
Signed-off-by: Paulo Lopes <pmlopes@gmail.com >
2019-03-26 14:17:39 +01:00
Thomas Segismont
48e46021c9
Deprecation of EventBusOptions delegates in VertxOptions
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-19 18:32:47 +01:00
Thomas Segismont
9496285ccf
Merge branch 'pk-work-localmap'
2019-03-18 16:50:51 +01:00
Thomas Segismont
8d20fd3a3c
Shared data doc updates
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-18 16:43:54 +01:00
Pascal Krause
cd07832ac0
Introduce local methods in SharedData for async map, counter and lock
...
In the current implementation of SharedData it is not possible to get a
local lock, counter or async map if a cluster manager is used.
Fortunately all the necessary logic is already in place, so that this
change is minimal invasive.
Signed-off-by: Pascal Krause <pascal.krause@sap.com >
2019-03-18 16:43:54 +01:00
Julien Viet
8c185d8a6d
Fix ConnectionPoolTest
2019-03-17 08:34:40 +01:00
Julien Viet
2ae395b3ac
Improve Http1xTest#testResetClientRequestNotYetSent to avoid occasional race
2019-03-14 18:53:42 +01:00
Julien Viet
2fed49c775
Remove child deployment before stopping verticles when the verticle deployement status becomes undeployed to avoid race condition with concurrent undeployment of the verticle
2019-03-14 18:34:28 +01:00
Julien Viet
54f8cbdf9a
Improve Http2Test#testResetClientRequestNotYetSent to avoid occasional race
2019-03-14 14:21:02 +01:00
Julien Viet
21d375ee87
Fix test failing incorrectly
2019-03-14 12:09:14 +01:00
Julien Viet
afa38a6602
Set ReadStream handlers to null when the pipe operation completes
2019-03-14 11:36:11 +01:00
Julien Viet
14fb13b328
JsonArray add methods should allow the null argument - fixes #2880
2019-03-14 10:57:29 +01:00
Julien Viet
00088da3f4
Update HTTP server connection state after WebSocket handshake so the WebSocket will be router the connection events - fixes #2879
2019-03-13 17:15:29 +01:00
Julien Viet
29d1181783
Use the HttpServerResponse to send a response on an handshake failure so the HTTP connection remains usable after - fixes #2878
2019-03-13 17:13:27 +01:00
Julien Viet
14d554f8d6
Rework WebSocket server handshake to move the handshake logic to ServerWebSocketImpl
2019-03-13 17:05:50 +01:00
Kai Hudalla
8552ac4ebd
[ #2547 ] Support reading of ECC private keys from PKCS#8 PEM files.
...
The KeyStoreHelper has been extended to check the key algorithm
identifier provided in the ASN.1 structure and either use the RSA or the
EC KeyFactory to instantiate the private key.
Signed-off-by: Kai Hudalla <kai.hudalla@bosch-si.com >
2019-03-13 13:39:50 +01:00
Julien Viet
3a6b91e327
ConnectionBase should use the SslHandler class to retrieve the handler from the pipeline instead of the assumed ssl name that is actually wrong. A couple of internal refactorings to avoid unecessary repetition. - fixes #2877
2019-03-13 09:55:08 +01:00
Julien Viet
9ac41801bb
Simplify Context / InternalContext implementation and make some cleanup, also properly handle block thread checker when it comes to nested dispatch which might happen sometimes
2019-03-09 15:29:16 +01:00
Julien Viet
8ab6b7b3f7
Improve HTTP integration for tracing
2019-03-09 15:29:10 +01:00
Julien Viet
df0a7d369e
Revert "foo"
...
This reverts commit 4147cbf9ec .
2019-03-09 15:27:38 +01:00
Julien Viet
ac9d0eefee
Revert "foo"
...
This reverts commit 4beefd59be .
2019-03-09 15:27:32 +01:00
Julien Viet
4beefd59be
foo
2019-03-07 19:13:24 +01:00
Julien Viet
4147cbf9ec
foo
2019-03-07 09:32:37 +01:00
Julien Viet
b6af401af3
Prune Future#completer - fixes #2869
2019-03-06 11:21:02 +01:00
Thomas Segismont
19120a682c
Fixes #2867 HttpServer close handler not invoked if actual server is null ( #2868 )
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-06 10:32:38 +01:00
Thomas Segismont
f36cdf99cc
JSON decoding without knowledge of the content
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-05 13:46:29 +01:00
Thomas Segismont
a9745d82c7
Merge pull request #2863 from tsegismont/internal-logging-api
...
Internal logging api
2019-03-04 11:50:16 +01:00
Julien Viet
fc8a0eaed4
Fix incorrect NetTest that cannot pass with domain sockets
2019-03-04 11:25:32 +01:00
Julien Viet
15b79dd63c
Fix incorrect test
2019-03-04 11:08:22 +01:00
Julien Viet
929bc97381
Fix wrong EventBusMetrics reply failure reporting regression due to context tracing changes
2019-03-04 11:01:01 +01:00
Julien Viet
127e79377d
Remove context propagation in metrics SPI calls
2019-03-04 10:34:48 +01:00
Julien Viet
5d69975ec5
In clustered mode, the test might race since the trace might not be known when the timeout happens
2019-03-04 10:05:56 +01:00
Thomas Segismont
33b7404399
Change logger resolution process to align with Netty
...
- Try with the sysprop if present, or
- If vertx-default-jul-logging.properties is not present:
- Try with slf4j, or
- Try with log4j, or
- Try with log4j2
If nothing works fallback to jdk logging
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-04 09:45:44 +01:00
Thomas Segismont
5b501330fd
Move to internal logging API
...
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-04 09:45:44 +01:00
Thomas Segismont
90baf56793
Added an internal logger API
...
Does not use parameterized logging (not portable)
Shares implementation with the public deprecated API
Signed-off-by: Thomas Segismont <tsegismont@gmail.com >
2019-03-04 09:41:59 +01:00
Julien Viet
cbe53c423e
Rework the internal Context dispatch to respect reentrant dispatches
2019-03-04 09:36:10 +01:00
Julien Viet
919aa8da66
Merge branch 'context-tracing' - fixes #2842
2019-03-04 08:05:52 +01:00
Julien Viet
a358cd3466
Add tag extractor for lazily extracting tags from a request/response
2019-03-03 13:13:07 +01:00
Julien Viet
cbb0ad66b4
Integrate with EventBus
2019-03-02 18:16:20 +01:00
Julien Viet
5b0a8800f3
Integrate tracer with HTTP server and client
2019-03-02 18:16:20 +01:00
Julien Viet
82b94ad9c0
Tracer SPI
2019-03-02 18:14:10 +01:00
Julien Viet
f679110824
Minor refactor in MessageImpl
2019-03-02 18:14:10 +01:00
Julien Viet
53f7c8d953
Execute event bus inbound interceptor before delivering the message rather than at scheduling time
2019-03-02 18:14:10 +01:00
Julien Viet
d1a2789617
Cleanup : handle reply specific aspects outside of HandlerRegistration
2019-03-02 18:14:10 +01:00
Julien Viet
579bf006ce
EventBus field can be set at message creation time
2019-03-02 18:14:10 +01:00
Julien Viet
7ec6c36c08
Refactor in EventBus
2019-03-02 18:14:10 +01:00
Julien Viet
35a59def36
Use ContextInternal schedule/dispatch instead of executeFromIO for HTTP layer
2019-03-02 18:14:10 +01:00
Julien Viet
5e57b77e20
Move the assertOnIOContext to VertxTestBase
2019-03-02 18:11:56 +01:00
Julien Viet
699545dcc8
Simplify a bit the deployment in context that is always there before context is created and actually owns the deploymentID + config
2019-03-02 18:11:56 +01:00
Julien Viet
da132efa2e
Simplify ContextImpl#executeBlocking a bit
2019-03-02 18:11:56 +01:00