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:53 UTC

[unomi] branch UNOMI-363-add-consent-mapping created (now 0f59e72)

This is an automated email from the ASF dual-hosted git repository.

taybou pushed a change to branch UNOMI-363-add-consent-mapping
in repository https://gitbox.apache.org/repos/asf/unomi.git.


      at 0f59e72  UNOMI-363 add consent mapping

This branch includes the following new commits:

     new 0f59e72  UNOMI-363 add consent mapping

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[unomi] 01/01: UNOMI-363 add consent mapping

Posted by ta...@apache.org.
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"
+    }
+  }
+}