You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rocketmq.apache.org by "btlqql (via GitHub)" <gi...@apache.org> on 2026/07/16 08:20:25 UTC

[I] [Studio][Bug][K8s] Certificate page never calls backend APIs [rocketmq-dashboard]

btlqql opened a new issue, #439:
URL: https://github.com/apache/rocketmq-dashboard/issues/439

   ## Problem
   
   The Studio K8s certificate page imports `mockK8sCerts` directly and performs edit and delete operations only against component state. The add button is also a placeholder. As a result, production builds never call the existing `/api/k8s-certs` endpoints, so users see sample certificates instead of server data and all mutations disappear after a reload.
   
   The API module already exposes list, create, update, renew, and delete operations, and the server implements the matching controller and service.
   
   ## Expected behavior
   
   - Load certificates through the service layer so `VITE_USE_MOCK` controls the data source.
   - Show a loading state and surface request failures.
   - Create, update, and delete certificates through the backend in production mode.
   - Update the table only after the server operation succeeds.
   - Keep CRUD behavior usable and persistent within the in-memory mock store when mock mode is enabled.
   - Return created, updated, and renewed certificate records from the API wrappers.
   
   ## Validation
   
   Add frontend API contract tests for list, create, update, and delete request/response handling, then run the full frontend test, lint, and production build commands.
   


-- 
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: commits-unsubscribe@rocketmq.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug][K8s] Certificate page never calls backend APIs [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins closed issue #439: [Studio][Bug][K8s] Certificate page never calls backend APIs
URL: https://github.com/apache/rocketmq-dashboard/issues/439


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [I] [Studio][Bug][K8s] Certificate page never calls backend APIs [rocketmq-dashboard]

Posted by "lizhimins (via GitHub)" <gi...@apache.org>.
lizhimins commented on issue #439:
URL: https://github.com/apache/rocketmq-dashboard/issues/439#issuecomment-5140939133

   Resolved on rocketmq-studio trunk: the K8s certificate page now performs real CRUD through the service layer (listK8sCerts/createK8sCert/updateK8sCert/deleteK8sCert in web/src/pages/cluster/certs.tsx), backed by the hardened backend from #643/#644. Verified on current trunk (bbf1b7e).


-- 
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: commits-unsubscribe@rocketmq.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org