Skip to content

[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
ttelang:code-update-mp-fault-tolerance-4.1
Open

[Code Update - Chapter 08 - MP Fault Tolerance 4.1] Code update for MP Fault Tolerance 4.1#70
ttelang wants to merge 12 commits intomicroprofile:mainfrom
ttelang:code-update-mp-fault-tolerance-4.1

Conversation

@ttelang
Copy link
Copy Markdown
Contributor

@ttelang ttelang commented Apr 7, 2026

Below are the list of changes done:

pom.xml

  1. Updating dependencies for Fault Tolerance 4.1 (MicroProfile 7.1)
  2. Migrating to Java 21

PaymentResource.java
3. 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-*.sh
5. Updated test-scripts for demonstrating fault tolerance.

README.adoc
6. Improved README documentation for this code example

ttelang added 12 commits April 8, 2026 00:22
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.
@ttelang ttelang marked this pull request as ready for review April 7, 2026 19:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant