Give the route plan entries their credential-form, and read the entry's vault-name in the route providers' tests (issues 923, 945)

This commit is contained in:
fix-cat-pas@novox
2026-10-16 19:44:19 +02:00
parent 302eab1431
commit dcedd8d2b2
3 changed files with 4 additions and 4 deletions
@@ -96,12 +96,12 @@ func routeRun(t *testing.T, module, id, path, templatePath, entryKey, firstEntry
}
// gitea's plan entry for its `web` route, as the controller writes it for a node whose public domain is example.org.
const giteaRoutePlanEntry = `{"provision":"route","provider":"novox","provider-module":"route-proxy",` +
const giteaRoutePlanEntry = `{"provision":"route","provider":"novox","provider-module":"route-proxy","credential-form":"pair",` +
`"at":"novox.internal","from":"novox","as":"mesh_g14_gitea",` +
`"names":{"name-web":"git.example.org","internal-name-web":"git.novox.internal",` +
`"name-internal-api-refused":"git.example.org","internal-name-internal-api-refused":"git.novox.internal"}}`
const keycloakRoutePlanEntry = `{"provision":"route","provider":"novox","provider-module":"route-proxy",` +
const keycloakRoutePlanEntry = `{"provision":"route","provider":"novox","provider-module":"route-proxy","credential-form":"pair",` +
`"at":"novox.internal","from":"novox","as":"mesh_g14_keycloak",` +
`"names":{"name":"keycloak.example.org","internal-name":"keycloak.novox.internal"}}`