The have bucket and its grants, a module and build per resource, the bus's connect events for the watchman, and a new module registered at its merge's Approve (issues 1136, 1145, 1147, 1146) #383

Merged
mesh-tools merged 12 commits from feat/delivery-have into main 2026-10-18 18:36:13 +00:00
Showing only changes of commit 06bf8cb2fb - Show all commits
+4 -2
View File
@@ -116,8 +116,10 @@ func TestNatsTheSystemAccountsExportsReachMeshOnAReload(t *testing.T) { // 1147/
}
}
hears(connects, "connect")
// The answer to the connections request lists the open connections, the shop's among them.
reply, err := watchman.Request(BusConnzSubject, []byte(`{}`), 5*time.Second)
// The answer to the connections request lists the open connections, the shop's among them. The server names the
// account from the subject the export clamps (MESH), but leaves the user's name out unless the request asks for it
// with "auth": true (monitor.go ConnzOptions.Username), so the watchman asks so.
reply, err := watchman.Request(BusConnzSubject, []byte(`{"auth":true}`), 5*time.Second)
if err != nil {
t.Fatalf("mesh.bus.connz is not answered: %v", err)
}