You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by ta...@apache.org on 2020/07/20 15:48:54 UTC
[unomi] 01/01: UNOMI-363 add consent mapping
This is an automated email from the ASF dual-hosted git repository.
taybou pushed a commit to branch UNOMI-363-add-consent-mapping
in repository https://gitbox.apache.org/repos/asf/unomi.git
commit 0f59e7235122a8d17b61c2401b16899f9e53bd9b
Author: Taybou <be...@gmail.com>
AuthorDate: Mon Jul 20 17:48:41 2020 +0200
UNOMI-363 add consent mapping
---
.../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"
+ }
+ }
+}