This is an automated email from the ASF dual-hosted git repository. shuber pushed a commit to branch unomi-1.5.x in repository https://gitbox.apache.org/repos/asf/unomi.git
commit d7ab62e9e5389eaf4308a00d6cedecb2d6fb024d Author: Taybou <[email protected]> AuthorDate: Mon Jul 20 17:48:41 2020 +0200 UNOMI-363 add consent mapping (cherry picked from commit 0f59e7235122a8d17b61c2401b16899f9e53bd9b) --- .../resources/META-INF/cxs/mappings/consent.json | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/consent.json b/persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/consent.json new file mode 100644 index 0000000..6d4d57d --- /dev/null +++ b/persistence-elasticsearch/core/src/main/resources/META-INF/cxs/mappings/consent.json @@ -0,0 +1,37 @@ +{ + "dynamic_templates": [ + { + "all": { + "match": "*", + "match_mapping_type": "string", + "mapping": { + "type": "text", + "analyzer": "folding", + "fields": { + "keyword": { + "type": "keyword", + "ignore_above": 256 + } + } + } + } + } + ], + "properties": { + "scope": { + "type": "string" + }, + "typeIdentifier": { + "type": "string" + }, + "status": { + "type": "string" + }, + "statusDate": { + "type": "date" + }, + "revokeDate": { + "type": "date" + } + } +}
