yyqdbngt opened a new pull request, #3870:
URL: https://github.com/apache/rocketmq-dashboard/pull/3870

   ### Motivation
   
   The existing `grafanaService` tests cover the mock catalog/export paths and 
the real-mode list/bulk-export delegation. The real-mode single-dashboard read 
and export delegation were untested.
   
   ### Changes
   
   - `delegates single dashboard reads and exports to the api in real mode`: 
with mock mode off, `getGrafanaDashboard` and `exportGrafanaDashboard` forward 
the uid to the metrics API and return the API payload/blob.
   
   ### Verification
   
   ```
   ./node_modules/.bin/vitest run src/services/grafanaService.test.ts   # 9 
passed
   ./node_modules/.bin/tsc --noEmit                                     # clean
   ./node_modules/.bin/eslint src/services/grafanaService.test.ts        # clean
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to