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

   ### Summary
   
   `ops` exposes the legacy NameServer operations page: home state, nameserver 
address updates and VIP/TLS toggles. None of those endpoints had contract tests.
   
   ### Changes
   
   - `queryOpsHomePage` returns the configuration state
   - `updateNameSvrAddr`/`addNameSvrAddr`/`deleteNameSvrAddr` post the address 
to their scoped endpoints
   - `updateIsVIPChannel`/`updateUseTLS` post the flag payloads
   
   ### Testing
   
   `vitest run src/api/opsHome.test.ts` passes: 3 tests, 0 failures (first 
coverage for this area). `tsc --noEmit` and `eslint` are 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