Repository navigation
M2: resilience and independence — Circuit Breaker, Stateless Services, Contract Testing, Service Discovery - #3
Merged
Merged
Conversation
…vice Discovery live - Pattern 10: the user service signs RS256 login tokens; gateway and order verify them with its public key. Flask-Login and stored API keys removed. Order runs as 2 local replicas. - Pattern 12: a small FastAPI registry (heartbeat 2 s, TTL 10 s). Services register, callers round-robin across live instances, and the gateway fails over on a refused connection. - Pattern 4: order -> payment through pybreaker (3 failures, 15 s) + tenacity (1 retry). Checkout now prices from catalog and charges payment; the cart is kept when payment is down. - Pattern 11: Pact contracts from order to payment and catalog, verified in their CI suites. - 4 new demo pages with screenshots, make run restarts stopped services, CI adds the registry suite and Pact, Bicep passes catalog and payment URLs to order. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
Milestone M2 of docs/PLAN.md. 8 of 12 patterns are now live.
Patterns
contracts/pacts/). Payment and catalog check them against the real service in their CI suites. Renamingamount_centsin payment fails CI.registry/service on port 8500 (heartbeat 2 s, TTL 10 s). Callers round-robin across live instances, and the gateway retries on the next replica when one refuses the connection. Azure keeps using Container Apps DNS.Tests
docs/screenshots/p04,p10,p11andp12.Notes
CHAOS_ENABLED=1(set bymake run) is required for the stop and break switches. It is off by default.🤖 Generated with Claude Code