You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@unomi.apache.org by sh...@apache.org on 2021/10/04 12:57:17 UTC

[unomi] 01/02: Event type modifications for custom items

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

shuber pushed a commit to branch draft-custom-items
in repository https://gitbox.apache.org/repos/asf/unomi.git

commit da15dd4017b60c5228a40269f54ff730caeff725
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Wed Sep 29 09:21:57 2021 +0200

    Event type modifications for custom items
---
 .../src/main/resources/META-INF/cxs/events/anonymizeProfile.json  | 4 ++++
 .../src/main/resources/META-INF/cxs/events/articleCompleted.json  | 8 ++++++++
 services/src/main/resources/META-INF/cxs/events/form.json         | 8 ++++++++
 services/src/main/resources/META-INF/cxs/events/goal.json         | 4 ++++
 services/src/main/resources/META-INF/cxs/events/identify.json     | 4 ++++
 .../src/main/resources/META-INF/cxs/events/incrementInterest.json | 4 ++++
 services/src/main/resources/META-INF/cxs/events/login.json        | 8 ++++++++
 .../src/main/resources/META-INF/cxs/events/modifyConsent.json     | 8 ++++++++
 .../src/main/resources/META-INF/cxs/events/profileDeleted.json    | 4 ++++
 .../src/main/resources/META-INF/cxs/events/profileUpdated.json    | 4 ++++
 services/src/main/resources/META-INF/cxs/events/ruleFired.json    | 4 ++++
 services/src/main/resources/META-INF/cxs/events/search.json       | 4 ++++
 .../src/main/resources/META-INF/cxs/events/sessionCreated.json    | 4 ++++
 .../src/main/resources/META-INF/cxs/events/sessionReassigned.json | 4 ++++
 .../src/main/resources/META-INF/cxs/events/updateProperties.json  | 4 ++++
 services/src/main/resources/META-INF/cxs/events/view.json         | 8 ++++++++
 16 files changed, 84 insertions(+)

diff --git a/services/src/main/resources/META-INF/cxs/events/anonymizeProfile.json b/services/src/main/resources/META-INF/cxs/events/anonymizeProfile.json
index 4ba8929..ef8dab2 100644
--- a/services/src/main/resources/META-INF/cxs/events/anonymizeProfile.json
+++ b/services/src/main/resources/META-INF/cxs/events/anonymizeProfile.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/articleCompleted.json b/services/src/main/resources/META-INF/cxs/events/articleCompleted.json
index cc73736..9e31662 100644
--- a/services/src/main/resources/META-INF/cxs/events/articleCompleted.json
+++ b/services/src/main/resources/META-INF/cxs/events/articleCompleted.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
@@ -48,6 +52,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/form.json b/services/src/main/resources/META-INF/cxs/events/form.json
index ace03f5..4551168 100644
--- a/services/src/main/resources/META-INF/cxs/events/form.json
+++ b/services/src/main/resources/META-INF/cxs/events/form.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
@@ -48,6 +52,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/goal.json b/services/src/main/resources/META-INF/cxs/events/goal.json
index 57a3f9f..11468cc 100644
--- a/services/src/main/resources/META-INF/cxs/events/goal.json
+++ b/services/src/main/resources/META-INF/cxs/events/goal.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "campaignId",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/identify.json b/services/src/main/resources/META-INF/cxs/events/identify.json
index 0842972..1fb001d 100644
--- a/services/src/main/resources/META-INF/cxs/events/identify.json
+++ b/services/src/main/resources/META-INF/cxs/events/identify.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/incrementInterest.json b/services/src/main/resources/META-INF/cxs/events/incrementInterest.json
index 0ec4bd3..8604990 100644
--- a/services/src/main/resources/META-INF/cxs/events/incrementInterest.json
+++ b/services/src/main/resources/META-INF/cxs/events/incrementInterest.json
@@ -24,6 +24,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/login.json b/services/src/main/resources/META-INF/cxs/events/login.json
index 8d146c7..4e66255 100644
--- a/services/src/main/resources/META-INF/cxs/events/login.json
+++ b/services/src/main/resources/META-INF/cxs/events/login.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
@@ -44,6 +48,10 @@
           "type": "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId": "scope",
           "type": "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/modifyConsent.json b/services/src/main/resources/META-INF/cxs/events/modifyConsent.json
index 6cee059..5eec0bf 100644
--- a/services/src/main/resources/META-INF/cxs/events/modifyConsent.json
+++ b/services/src/main/resources/META-INF/cxs/events/modifyConsent.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
@@ -44,6 +48,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/profileDeleted.json b/services/src/main/resources/META-INF/cxs/events/profileDeleted.json
index c1030ac..62fed55 100644
--- a/services/src/main/resources/META-INF/cxs/events/profileDeleted.json
+++ b/services/src/main/resources/META-INF/cxs/events/profileDeleted.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/profileUpdated.json b/services/src/main/resources/META-INF/cxs/events/profileUpdated.json
index 424ac28..78c675a 100644
--- a/services/src/main/resources/META-INF/cxs/events/profileUpdated.json
+++ b/services/src/main/resources/META-INF/cxs/events/profileUpdated.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/ruleFired.json b/services/src/main/resources/META-INF/cxs/events/ruleFired.json
index 601b793..2a0f4c6 100644
--- a/services/src/main/resources/META-INF/cxs/events/ruleFired.json
+++ b/services/src/main/resources/META-INF/cxs/events/ruleFired.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "linkedItems",
           "type" : "string",
           "multivalued" : true
diff --git a/services/src/main/resources/META-INF/cxs/events/search.json b/services/src/main/resources/META-INF/cxs/events/search.json
index 5e60f64..94fb45c 100644
--- a/services/src/main/resources/META-INF/cxs/events/search.json
+++ b/services/src/main/resources/META-INF/cxs/events/search.json
@@ -36,6 +36,10 @@
           "type": "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId": "scope",
           "type": "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/sessionCreated.json b/services/src/main/resources/META-INF/cxs/events/sessionCreated.json
index 1424c28..0d27647 100644
--- a/services/src/main/resources/META-INF/cxs/events/sessionCreated.json
+++ b/services/src/main/resources/META-INF/cxs/events/sessionCreated.json
@@ -14,6 +14,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/sessionReassigned.json b/services/src/main/resources/META-INF/cxs/events/sessionReassigned.json
index 3ec72ab..d69801b 100644
--- a/services/src/main/resources/META-INF/cxs/events/sessionReassigned.json
+++ b/services/src/main/resources/META-INF/cxs/events/sessionReassigned.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/updateProperties.json b/services/src/main/resources/META-INF/cxs/events/updateProperties.json
index d4de20c..2be02f4 100644
--- a/services/src/main/resources/META-INF/cxs/events/updateProperties.json
+++ b/services/src/main/resources/META-INF/cxs/events/updateProperties.json
@@ -44,6 +44,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
diff --git a/services/src/main/resources/META-INF/cxs/events/view.json b/services/src/main/resources/META-INF/cxs/events/view.json
index 798e24c..a07398f 100644
--- a/services/src/main/resources/META-INF/cxs/events/view.json
+++ b/services/src/main/resources/META-INF/cxs/events/view.json
@@ -18,6 +18,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },
@@ -48,6 +52,10 @@
           "type" : "string"
         },
         {
+          "itemId" : "customItemType",
+          "type" : "string"
+        },
+        {
           "itemId" : "scope",
           "type" : "string"
         },