[ADF-4162] Add includeAll/exclude capabilities to metadata config (#4436)

* [ADF-4162] Add includeAll/exclude capabilities to metadata config

* Revert app config

* Update documentation

* fix schema change
This commit is contained in:
davidcanonieto
2019-03-18 12:45:08 +00:00
committed by Eugenio Romano
parent 791051edee
commit 3e29c7cd9d
17 changed files with 365 additions and 22 deletions

View File

@@ -328,6 +328,31 @@
"description": "Property name",
"type": "string"
}
},
{
"description": "Include every property",
"type": "boolean"
},
{
"description": "Properties array",
"type": "object",
"required": [
"includeAll",
"exclude"
],
"properties": {
"includeAll": {
"type": "boolean"
},
"exclude": {
"type": "array",
"items": {
"description": "Property name",
"type": "string"
}
}
}
}
]
}
@@ -340,10 +365,6 @@
{
"description": "Content metadata's one layout group definition",
"type": "object",
"required": [
"title",
"items"
],
"properties": {
"title": {
"type": "string",
@@ -804,7 +825,6 @@
"properties": {
"presets": {
"description": "Presets for content metadata component",
"type": "object",
"patternProperties": {
".*": {
"oneOf": [
@@ -813,6 +833,23 @@
"pattern": "^\\*$",
"description": "Wildcard for every aspect"
},
{
"type": "object",
"description": "",
"required": [
"includeAll"
],
"properties": {
"includeAll": {
"description": "includeAll all property",
"type": "boolean"
},
"postfix": {
"description": "exclude",
"type": ["string","array"]
}
}
},
{
"$ref": "#/definitions/content-metadata-aspect"
},