Skip to content

Conversation

@beniaminmunteanu
Copy link
Member

@beniaminmunteanu beniaminmunteanu commented Jul 10, 2025

Changes proposed in this pull request

  • Introduces delete merchant route.

Context

Deleting a merchant should perform a cascade revoke on all it's pos devices.

Closes RAF-1121

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)

@beniaminmunteanu
Copy link
Member Author

beniaminmunteanu commented Jul 10, 2025

Will fix commit name in squash, as to avoid force push of amend

@github-actions
Copy link

github-actions bot commented Jul 10, 2025

🚀 Performance Test Results

Test Configuration:

  • VUs: 4
  • Duration: 1m0s

Test Metrics:

  • Requests/s: 38.18
  • Iterations/s: 12.74
  • Failed Requests: 0.00% (0 of 2301)
📜 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
     data_received..................: 831 kB 14 kB/s
     data_sent......................: 1.8 MB 29 kB/s
     http_req_blocked...............: avg=6.59µs   min=2.61µs  med=5.87µs   max=325.06µs p(90)=6.89µs   p(95)=7.46µs  
     http_req_connecting............: avg=332ns    min=0s      med=0s       max=273.8µs  p(90)=0s       p(95)=0s      
     http_req_duration..............: avg=104.09ms min=7.82ms  med=88.69ms  max=584.37ms p(90)=178.74ms p(95)=200.18ms
       { expected_response:true }...: avg=104.09ms min=7.82ms  med=88.69ms  max=584.37ms p(90)=178.74ms p(95)=200.18ms
     http_req_failed................: 0.00%  ✓ 0         ✗ 2301
     http_req_receiving.............: avg=103.65µs min=29.27µs med=84.19µs  max=3.14ms   p(90)=127.74µs p(95)=162.59µs
     http_req_sending...............: avg=40.74µs  min=10.94µs med=30.39µs  max=3.36ms   p(90)=44.39µs  p(95)=56.72µs 
     http_req_tls_handshaking.......: avg=0s       min=0s      med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting...............: avg=103.95ms min=7.63ms  med=88.57ms  max=584.29ms p(90)=178.63ms p(95)=200.11ms
     http_reqs......................: 2301   38.179132/s
     iteration_duration.............: avg=313.61ms min=213.6ms med=302.46ms max=1.15s    p(90)=376.99ms p(95)=406.84ms
     iterations.....................: 768    12.74297/s
     vus............................: 4      min=4       max=4 
     vus_max........................: 4      min=4       max=4 

@beniaminmunteanu beniaminmunteanu merged commit 6fe8e28 into pos-card-services Jul 10, 2025
72 of 73 checks passed
@beniaminmunteanu beniaminmunteanu deleted the feat/pos-service/delete-merchant-route branch July 10, 2025 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

type: tests Testing related

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants