[Code Update - Chapter 08 - MP Fault Tolerance 4.1] Code update for MP Fault Tolerance 4.1#70
Open
ttelang wants to merge 12 commits intomicroprofile:mainfrom
Open
[Code Update - Chapter 08 - MP Fault Tolerance 4.1] Code update for MP Fault Tolerance 4.1#70ttelang wants to merge 12 commits intomicroprofile:mainfrom
ttelang wants to merge 12 commits intomicroprofile:mainfrom
Conversation
Updated Maven configuration for Java 21 and updated dependencies.
Updated README to enhance clarity on MicroProfile Fault Tolerance features and implementation details.
Refactor test script for asynchronous payment notifications to improve readability and functionality. Dynamically determine base URL based on environment and enhance testing structure for async behavior.
Updated the payment test script to dynamically determine the base URL based on the environment. Enhanced comments and improved error handling for the 'bc' command installation check.
Updated the test script for Payment Service Bulkhead functionality to clarify its purpose and improve output messages. Adjusted environment detection and added bulkhead configuration details.
This script tests the Circuit Breaker functionality of the Payment Service by simulating requests and monitoring the circuit states.
Updated the payment load test script to comprehensively test all fault tolerance patterns including retry, circuit breaker, bulkhead, and asynchronous processing under concurrent load.
Updated test script to reflect changes in method name and improved output formatting.
Enhanced PaymentService with detailed fault tolerance strategies and logging.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Below are the list of changes done:
pom.xmlPaymentResource.java3. Updated code example to demonstrate multiple fault tolerance patterns (circuit breaker, bulkhead, async, retry)
4. Updated code demonstrating integration with MP Metrics and MP Telemetry
test-payment-*.sh5. Updated test-scripts for demonstrating fault tolerance.
README.adoc6. Improved README documentation for this code example