Skip to content

Commit

Permalink
Fixed schema for certs
Browse files Browse the repository at this point in the history
  • Loading branch information
rmathis committed May 26, 2021
1 parent 374eb99 commit 00ea214
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
"title": "label.metadata-provider-type",
"description": "tooltip.metadata-provider-type",
"type": "string",
"const": "DynamicHttpMetadataResolver"
"default": "DynamicHttpMetadataResolver"
},
"enabled": {
"title": "label.enable-provider-upon-saving",
Expand Down Expand Up @@ -445,7 +445,7 @@
{
"properties": {
"requireSignedRoot": {
"const": true
"enum": [true]
}
},
"required": [
Expand All @@ -455,7 +455,7 @@
{
"properties": {
"requireSignedRoot": {
"const": false
"enum": [false]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"title": "label.metadata-provider-type",
"description": "tooltip.metadata-provider-type",
"type": "string",
"const": "FilesystemMetadataResolver"
"default": "FilesystemMetadataResolver"
},
"xmlId": {
"title": "label.xml-id",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"title": "label.metadata-provider-type",
"description": "tooltip.metadata-provider-type",
"type": "string",
"const": "FileBackedHttpMetadataResolver"
"default": "FileBackedHttpMetadataResolver"
},
"enabled": {
"title": "label.enable-service",
Expand Down Expand Up @@ -330,7 +330,7 @@
{
"properties": {
"requireSignedRoot": {
"const": true
"enum": [true]
}
},
"required": [
Expand All @@ -340,7 +340,7 @@
{
"properties": {
"requireSignedRoot": {
"const": false
"enum": [false]
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"title": "label.metadata-provider-type",
"description": "tooltip.metadata-provider-type",
"type": "string",
"const": "LocalDynamicMetadataResolver"
"default": "LocalDynamicMetadataResolver"
},
"xmlId": {
"title": "label.xml-id",
Expand Down
4 changes: 2 additions & 2 deletions backend/src/main/resources/metadata-sources-ui-schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
{
"properties": {
"authenticationRequestsSigned": {
"const": true
"enum": [true]
},
"x509Certificates": {
"minItems": 1
Expand All @@ -60,7 +60,7 @@
{
"properties": {
"authenticationRequestsSigned": {
"const": false
"enum": [false]
},
"x509Certificates": {
"minItems": 0
Expand Down

0 comments on commit 00ea214

Please sign in to comment.