Aias00 opened a new issue, #1237: URL: https://github.com/apache/rocketmq-dashboard/issues/1237
## Problem The `rmq_instance.type` column is `NOT NULL`, but `InstanceService.createApacheInstance` only validates name and endpoint. A request without `type` reaches persistence and fails as a database error instead of a structured client error. ## Expected behavior Apache instance creation must reject a missing type with HTTP 400 before persistence. Valid `DIRECT` and `PROXY` values remain unchanged. ## Scope Track 1 instance registration validation. This is intentionally separate from #1194, which validates endpoint syntax. ## Evidence - `server/src/main/java/org/apache/rocketmq/studio/instance/InstanceService.java:98` - `server/src/main/resources/db/schema.sql:26` -- 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]
