Skip to content

T5(customer): add E2E smoke test script for Customer microservice#69

Open
devin-ai-integration[bot] wants to merge 1 commit into
devin/customer-service-t4from
devin/customer-service-t5
Open

T5(customer): add E2E smoke test script for Customer microservice#69
devin-ai-integration[bot] wants to merge 1 commit into
devin/customer-service-t4from
devin/customer-service-t5

Conversation

@devin-ai-integration

@devin-ai-integration devin-ai-integration Bot commented Jun 26, 2026

Copy link
Copy Markdown
Contributor

Summary

Adds tests/customer-smoke-test.sh — a bash smoke test that validates the Customer microservice E2E through the API gateway.

Test flow:

  1. Waits for customer service (:5002) and gateway (:5000) with 30s retry loops
  2. GET /healthz directly on customer service → expects 200
  3. GET /api/customers through gateway without token → expects 401
  4. Generates a valid JWT (PyJWT, shared dev secret) and POST /api/customers → expects 201
  5. GET /api/customers with JWT → expects 200, verifies created customer appears in response

URLs are configurable via GATEWAY_URL / CUSTOMER_URL env vars (default localhost:5000 / localhost:5002). Exit code 0 on all-pass, 1 on any failure.

Part of the Customer microservice carve-out stacked PR chain (T5/T5).

Link to Devin session: https://partner-workshops.devinenterprise.com/sessions/df4fd98794c34738bf5a70c588276dcb
Requested by: @mbatchelor81


Open in Devin Review

@mbatchelor81 mbatchelor81 self-assigned this Jun 26, 2026
@devin-ai-integration

Copy link
Copy Markdown
Contributor Author

🤖 Devin AI Engineer

I'll be helping with this pull request! Here's what you should know:

✅ I will automatically:

  • Address comments on this PR. Add '(aside)' to your comment to have me ignore it.
  • Look at CI failures and help fix them

Note: I can only respond to comments from users who have write access to this repository.

⚙️ Control Options:

  • Disable automatic comment, CI, and merge conflict monitoring

@devin-ai-integration devin-ai-integration Bot left a comment

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Devin Review: No Issues Found

Devin Review analyzed this PR and found no potential bugs to report.

View in Devin Review to see 1 additional finding.

Open in Devin Review

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