Files
mesh-controller/internal/link/vault_changed_test.go
T
mesh-tools 97a2d841c7 Land feature 57's controller work on its release branch
The controller plans config, templates and moved providers' provisions,
hands bus accounts to the vault and judges the new manifest words, on the
feature's SDK and node-engine validator (feature 57, config and provisioning).
2026-10-15 21:27:33 +00:00

17 lines
588 B
Go

package link
import (
"testing"
"github.com/novox/mesh-controller/internal/broker"
)
// The provisioner client is granted the vault's secret-changed at the address the vault's event lands on, so it
// hears a rotation (design 57 V4): the grant's subject and the event's are one.
func TestTheClientsGrantIsWhereTheVaultsSecretChangedLands(t *testing.T) {
if got := EventSubject("mesh-vault", "secret-changed"); got != broker.VaultSecretChangedSubject {
t.Errorf("the vault's secret-changed lands on %s, and the client is granted %s", got,
broker.VaultSecretChangedSubject)
}
}