-
Notifications
You must be signed in to change notification settings - Fork 566
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implementation of Fault tolerance 4.0 #3664
Commits on Jan 22, 2021
-
Fault Tolerance 3.0 Support (helidon-io#2680)
* Initial changes to implement new metrics layer. Moving from complex names to simpler names and tags. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * More metric updates. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Migration of most unit tests to new metrics. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Completed migration of metrics test. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * New exception to discern timeouts during retries. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Implementation of retry metrics. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Cleanup metrics between tests. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Several changes related to execution of FT 3.0 TCKs. Adjusted initial size of executors and fixed a few other problems. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Copyright and checkstyle updates. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed copyright year. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed typos and some cleanup. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Created exclude file as a workaround for a sportbugs' bug. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Updated copyright year. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for c162cc5 - Browse repository at this point
Copy the full SHA c162cc5View commit details
Commits on Jan 25, 2021
-
MicroProfile Opentracing 2.0 (helidon-io#2676)
* Microprofile Opentracing uprgated to 2.0 * Unused dependences removed * Obsolete excludes removed
Configuration menu - View commit details
-
Copy full SHA for a069d47 - Browse repository at this point
Copy the full SHA a069d47View commit details
Commits on Feb 11, 2021
-
Sync up of microprofile-4.0 with master branch (helidon-io#2757)
* Upgrade Netty to 4.1.58 (helidon-io#2678) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Added overall timeout to evictable cache (helidon-io#2659) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Fix copyright year for commits broken by squashing. (helidon-io#2687) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Concat array enhancement (helidon-io#2508) * Concat array enhancement Signed-off-by: Daniel Kec <daniel.kec@oracle.com> * Update Jackson to 2.12.1 (helidon-io#2690) * Update Jackson to 2.12.1 * Upgrade to latest Junit5 to get fix for junit-team/junit5#2198 * Manage junit4 version * PokemonService template fixed in SE Database Archetype. (helidon-io#2701) Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com> * Fixed different output in DbClient SE archetype (helidon-io#2703) Signed-off-by: Tomas Kraus <Tomas.Kraus@oracle.com> * Fix TODO application: (helidon-io#2708) - WebSecurity needs to be passed config.get("security") to take the "security.web-server" configuration - Added outbound configuration for the google login - Upgraded cassandra driver to fix issues with old guava dependencies - Removed metrics to avoid issues with cassandra driver. Fixes helidon-io#2707 * Update k8s descriptors to avoid using deprecated APIs. (helidon-io#2719) * Separate execution of DataChunkReleaseTest in its own VM to prevent leak messages in other test's logs. (helidon-io#2716) Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Changes in this commit: (helidon-io#2727) 1. Upgrade to Jersey 2.33 2. Configuration via system properties for the Jersey Client API. Any response in an exception will be mapped to an empty one to prevent data leaks. See eclipse-ee4j/jersey#4641. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Properly release underlying buffer before passing it to WebSocket handler (helidon-io#2715) * Properly release underlying buffer before passing it to handler. * Releases data chunks after passing them to Tyrus without any copying. Reports an error and closes connection if Tyrus is unable to handle the data. Finally, fixed a problem related to subscription requests. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Removed unused logger. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed checkstyle. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fix issue with null value in JSON. (helidon-io#2723) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Upgrade grpc to v1.35.0 (helidon-io#2713) * Upgrade grpc to v1.35.0 * Update copyright * Upgrades OCI SDK to version 1.31.0 (helidon-io#2699) * Updated OCI to 1.31.0 Signed-off-by: Laird Nelson <laird.nelson@oracle.com> * Fix null array values in HOCON/JSON config parser. (helidon-io#2731) Resolves helidon-io#2720 (follow-up) * Performance improvements to queue(s) management in Webserver (helidon-io#2704) * Initial patch. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed some type params and improved comments. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * More cleanup and make sure to fail publisher on an error condition. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Suppress warnings. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Call clearQueues on every new request for proper cleanup of keep-alive connections. Some copyright fixes. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed checkstyle issues. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Force logging of LEAK error even if finalize does not get called on a DataChunk. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Upgrade Weld (helidon-io#2668) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Rest client async header propagation with usage of Helidon Context (helidon-io#2735) Rest client header propagation with usage of Helidon Context Signed-off-by: David Kral <david.k.kral@oracle.com> * Allow override of Jersey property via config (helidon-io#2737) * Allow the default value of property jersey.config.client.ignoreExceptionResponse to be overridden via config. New test. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fixed copyright year. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * New implementation of LazyValue (helidon-io#2738) * New implementation of LazyValue that lazily initializes a Semaphore instead of eagerly creating a ReentrantLock. Makes use of volatile guarantees and atomicity of VarHandle updates. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * New test for LazyValueImpl. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Reduced sleep time in test. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Update CHANGELOG for 2.2.1 release (helidon-io#2743) * 2.2.1 THIRD_PARTY_LICENSES update (helidon-io#2746) * Update THIRD_PARTY_LICENSES * Support async invocations using optional synthetic SimplyTimed behavior (helidon-io#2745) * Add support for async invocations for optional inferred SimplyTimed behavior on JAX-RS endpoints Signed-off-by: tim.quinn@oracle.com <tim.quinn@oracle.com> * Do not attempt to access the request context in Fallback callback. If used together with Retry, it is possible for the fallback to be called in a fresh thread for which there is no current request scope. Instead just use the original value obtained in this class' constructor. Updated functional test (with some class renaming) to cover this use case. (helidon-io#2748) Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> * Fix for native image. (helidon-io#2753) Signed-off-by: Tomas Langer <tomas.langer@oracle.com> * Fixed checkstyle issues. Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com> Co-authored-by: Tomas Langer <tomas.langer@gmail.com> Co-authored-by: Daniel Kec <daniel.kec@oracle.com> Co-authored-by: Joe DiPol <joe.dipol@oracle.com> Co-authored-by: Tomáš Kraus <tomas.kraus@oracle.com> Co-authored-by: Romain Grecourt <romain.grecourt@oracle.com> Co-authored-by: Jonathan Knight <jk@thegridman.com> Co-authored-by: Laird Nelson <laird.nelson@oracle.com> Co-authored-by: David Král <david.k.kral@oracle.com> Co-authored-by: Tim Quinn <tim.quinn@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 8b20fcc - Browse repository at this point
Copy the full SHA 8b20fccView commit details
Commits on Nov 18, 2021
-
Merge branch 'microprofile-4.0' into fault-tolerance-4.0
# Conflicts: # CHANGELOG.md # THIRD_PARTY_LICENSES.txt # archetypes/database-se/src/main/resources/src/test/java/__pkg__/MainTest.java.mustache # common/reactive/src/main/java/io/helidon/common/reactive/MultiConcatArray.java # dependencies/pom.xml # etc/HELIDON_THIRD_PARTY_LICENSES.xml # examples/employee-app/app.yaml # examples/integrations/cdi/jedis/redis.yaml # examples/k8s/zipkin.yaml # examples/todo-app/backend/app.yaml # examples/todo-app/backend/pom.xml # examples/todo-app/backend/src/main/java/io/helidon/demo/todos/backend/DbService.java # examples/todo-app/backend/src/main/resources/application.yaml # examples/todo-app/cassandra.yaml # examples/todo-app/frontend/app.yaml # examples/todo-app/frontend/src/main/resources/application.yaml # fault-tolerance/src/main/java/io/helidon/faulttolerance/RetryImpl.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/FallbackHelper.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/FaultToleranceExtension.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/FaultToleranceMetrics.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/JavaMethodFinder.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/MethodIntrospector.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/MethodInvoker.java # microprofile/fault-tolerance/src/main/java/io/helidon/microprofile/faulttolerance/RetryAntn.java # microprofile/fault-tolerance/src/test/java/io/helidon/microprofile/faulttolerance/FaultToleranceTest.java # microprofile/fault-tolerance/src/test/java/io/helidon/microprofile/faulttolerance/MetricsBean.java # microprofile/fault-tolerance/src/test/java/io/helidon/microprofile/faulttolerance/MetricsTest.java # microprofile/metrics/src/main/java/io/helidon/microprofile/metrics/InterceptorSyntheticSimplyTimed.java # microprofile/metrics/src/main/java/io/helidon/microprofile/metrics/MetricsCdiExtension.java # microprofile/metrics/src/main/java/io/helidon/microprofile/metrics/RestEndpointMetricsInfo.java # microprofile/metrics/src/test/java/io/helidon/microprofile/metrics/HelloWorldAsyncResponseTest.java # microprofile/metrics/src/test/java/io/helidon/microprofile/metrics/HelloWorldResource.java # microprofile/rest-client/src/main/java/io/helidon/microprofile/restclient/HelidonInboundHeaderProvider.java # microprofile/rest-client/src/main/java/io/helidon/microprofile/restclient/HelidonRequestHeaderAutoDiscoverable.java # microprofile/rest-client/src/main/java/io/helidon/microprofile/restclient/HelidonRequestHeaderFilter.java # microprofile/rest-client/src/main/java/io/helidon/microprofile/restclient/MpRestClientListener.java # microprofile/rest-client/src/main/java/module-info.java # microprofile/server/src/test/java/io/helidon/microprofile/server/JerseyPropertiesTest.java # microprofile/tests/arquillian/src/main/java/io/helidon/microprofile/arquillian/HelidonDeployableContainer.java # microprofile/tests/tck/tck-fault-tolerance/pom.xml # microprofile/tests/tck/tck-opentracing/pom.xml # pom.xml # security/integration/jersey/pom.xml # tests/functional/request-scope/src/main/java/io/helidon/tests/functional/requestscope/Bean2.java # tests/functional/request-scope/src/main/java/io/helidon/tests/functional/requestscope/Bean3.java # tests/functional/request-scope/src/main/java/io/helidon/tests/functional/requestscope/Bean4.java # tests/functional/request-scope/src/main/java/io/helidon/tests/functional/requestscope/Service4.java # tests/integration/webclient/src/test/java/io/helidon/tests/integration/webclient/MutualTlsTest.java # webserver/jersey/src/main/java/io/helidon/webserver/jersey/JerseySupport.java # webserver/jersey/src/test/java/io/helidon/webserver/jersey/JerseySupportTest.java # webserver/tyrus/src/main/java/io/helidon/webserver/tyrus/TyrusReaderSubscriber.java # webserver/webserver/pom.xml # webserver/webserver/src/main/java/io/helidon/webserver/ByteBufRequestChunk.java # webserver/webserver/src/main/java/io/helidon/webserver/ForwardingHandler.java # webserver/webserver/src/main/java/io/helidon/webserver/HttpInitializer.java # webserver/webserver/src/main/java/io/helidon/webserver/HttpRequestScopedPublisher.java # webserver/webserver/src/main/java/io/helidon/webserver/ReferenceHoldingQueue.java
Configuration menu - View commit details
-
Copy full SHA for 4b3eec6 - Browse repository at this point
Copy the full SHA 4b3eec6View commit details -
Fixed problems in RetryImpl after merge.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 9d4733a - Browse repository at this point
Copy the full SHA 9d4733aView commit details -
Fixed problems with metrics after merge.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 5e39b28 - Browse repository at this point
Copy the full SHA 5e39b28View commit details -
Updated version in suite file.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 23a5e3b - Browse repository at this point
Copy the full SHA 23a5e3bView commit details -
Fixed problem retrieving registry for metrics.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 25f8b0d - Browse repository at this point
Copy the full SHA 25f8b0dView commit details
Commits on Nov 19, 2021
-
Fixed more problems after merge. All tests are passing now.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 3b3e7cf - Browse repository at this point
Copy the full SHA 3b3e7cfView commit details -
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for ad6f05b - Browse repository at this point
Copy the full SHA ad6f05bView commit details -
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 38ba31d - Browse repository at this point
Copy the full SHA 38ba31dView commit details
Commits on Nov 22, 2021
-
Enabled TCK's by default and removed generated file.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for ff1fa81 - Browse repository at this point
Copy the full SHA ff1fa81View commit details -
One more checkstyle violation.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for b2673b0 - Browse repository at this point
Copy the full SHA b2673b0View commit details -
Removed duplicate test after merge.
Signed-off-by: Santiago Pericasgeertsen <santiago.pericasgeertsen@oracle.com>
Configuration menu - View commit details
-
Copy full SHA for 5575aca - Browse repository at this point
Copy the full SHA 5575acaView commit details