From fd0b93bcfc14c75732f7f9f58e719c745e8fea22 Mon Sep 17 00:00:00 2001 From: Ryan Mathis Date: Wed, 28 Nov 2018 13:47:00 -0700 Subject: [PATCH] SHIBUI-1020 Fixed schema validation for provider --- ...dynamic-http-metadata-provider.schema.json | 20 ++++++++----------- 1 file changed, 8 insertions(+), 12 deletions(-) diff --git a/backend/src/main/resources/dynamic-http-metadata-provider.schema.json b/backend/src/main/resources/dynamic-http-metadata-provider.schema.json index 7362b40d7..109e09202 100644 --- a/backend/src/main/resources/dynamic-http-metadata-provider.schema.json +++ b/backend/src/main/resources/dynamic-http-metadata-provider.schema.json @@ -2,7 +2,8 @@ "type": "object", "required": [ "xmlId", - "metadataURL" + "metadataURL", + "metadataRequestURLConstructionScheme" ], "properties": { "enabled": { @@ -20,6 +21,10 @@ }, "metadataRequestURLConstructionScheme": { "type": "object", + "required": [ + "@type", + "content" + ], "properties": { "@type": { "title": "label.md-request-type", @@ -58,11 +63,7 @@ "title": "label.transform-ref", "description": "tooltip.transform-ref", "type": "string", - "visibleIf": { - "content": [ - "" - ] - } + "widget": "hidden" }, "encodingStyle": { "title": "label.encoding-style", @@ -108,12 +109,7 @@ "title": "label.velocity-engine", "description": "tooltip.velocity-engine", "type": "string", - "default": "shibboleth.VelocityEngine", - "visibleIf": { - "@type": [ - "Template" - ] - } + "widget": "hidden" }, "match": { "title": "label.match",