Skip to content

feat(localenv): tenanted mock ase webhook server apollo client #3459

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 16, 2025

Conversation

njlie
Copy link
Contributor

@njlie njlie commented Jun 10, 2025

Changes proposed in this pull request

  • Tenanted Mock ASEs now use the credentials reflecting their tenant in the apollo client they use to handle incoming webhooks.

Context

Fixes RAF-1071.

Checklist

  • Related issues linked using fixes #number
  • Tests added/updated
  • Make sure that all checks pass
  • Bruno collection updated (if necessary)
  • Documentation issue created with user-docs label (if necessary)
  • OpenAPI specs updated (if necessary)

Copy link

🚀 Performance Test Results

Performance test summary not found.

📜 Logs

> [email protected] run-tests:testenv /home/runner/work/rafiki/rafiki/test/performance
> ./scripts/run-tests.sh -e test "-k" "-q" "--vus" "4" "--duration" "1m"

Cloud Nine GraphQL API is up: http://localhost:3101/graphql
Cloud Nine Wallet Address is up: http://localhost:3100/
Happy Life Bank Address is up: http://localhost:4100/
cloud-nine-wallet-test-backend already set
cloud-nine-wallet-test-auth already set
happy-life-bank-test-backend already set
happy-life-bank-test-auth already set


  █ TOTAL RESULTS 

    HTTP
    http_req_duration....................: avg=1.39ms min=1.39ms med=1.39ms max=1.39ms p(90)=1.39ms p(95)=1.39ms
    http_req_failed......................: 100.00% 1 out of 1
    http_reqs............................: 1       329.682321/s

    NETWORK
    data_received........................: 232 B   77 kB/s
    data_sent............................: 492 B   162 kB/s



/home/runner/work/rafiki/rafiki/test/performance:
 ERR_PNPM_RECURSIVE_RUN_FIRST_FAIL  [email protected] run-tests:testenv: `./scripts/run-tests.sh -e test "-k" "-q" "--vus" "4" "--duration" "1m"`
Exit status 107

@njlie njlie merged commit 21c9240 into 2893/multi-tenancy-v1 Jun 16, 2025
38 checks passed
@njlie njlie deleted the nl/raf-1071/tenanted-webhook-server branch June 16, 2025 18:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants