Skip to content

Conversation

@majanjua-amzn
Copy link
Contributor

Changes

Adding a new API /status/{code}?ip=... that calls the downstream service similar to /remote-service and specifies the code it wants the remote service to respond with. The remote service now accepted /status/{code} and responds with status code {code}. The main service will respond with OK and the trace ID in any case.

Testing

Built and ran the applications locally, confirming functionality of the new APIs.

Risks

New API does not change any functionality of old ones. Could cause build issues, but we use other imports from the same dependencies and the same logic in /remote-service so there is little to no risk.

Rollback procedure

Revert commit and rerun sample app deployment script.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@majanjua-amzn majanjua-amzn requested a review from harrryr July 29, 2025 18:17
@majanjua-amzn majanjua-amzn self-assigned this Jul 29, 2025
@majanjua-amzn majanjua-amzn added the enhancement New feature or request label Jul 29, 2025
@majanjua-amzn majanjua-amzn merged commit 04fd262 into main Jul 29, 2025
1 check passed
@majanjua-amzn majanjua-amzn deleted the java-adap-service branch July 29, 2025 18:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants