The grant bed's consumer takes a slug: its derived identity was one character over what a backend keeps
This commit is contained in:
@@ -152,6 +152,9 @@ test("the mesh grants a consumer redis's cache, and the credential it delivers a
|
|||||||
const consumerManifest = JSON.stringify({
|
const consumerManifest = JSON.stringify({
|
||||||
module: "cacheuser",
|
module: "cacheuser",
|
||||||
version: "1",
|
version: "1",
|
||||||
|
// `mesh_anchor_cacheuser` is 21 characters, over the 20 a backend keeps (ADR 0049); the slug
|
||||||
|
// makes the consumer identity `mesh_anchor_cache`.
|
||||||
|
slug: "cache",
|
||||||
requires: ["redis-cache"],
|
requires: ["redis-cache"],
|
||||||
// `contributes` (not just `requires`) is what makes a consumer *ask* — the grant forms from a
|
// `contributes` (not just `requires`) is what makes a consumer *ask* — the grant forms from a
|
||||||
// contribution. It must be non-empty; redis's provisioner ignores the value (it uses the login
|
// contribution. It must be non-empty; redis's provisioner ignores the value (it uses the login
|
||||||
|
|||||||
Reference in New Issue
Block a user