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/13 17:57:49 UTC

[unomi] branch draft-custom-items updated: Change the identifier limit to 60 instead of 50

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


The following commit(s) were added to refs/heads/draft-custom-items by this push:
     new 5f67142  Change the identifier limit to 60 instead of 50
5f67142 is described below

commit 5f671426f25e6dc59a434393c26a32a40365fedd
Author: Serge Huber <sh...@jahia.com>
AuthorDate: Wed Oct 13 19:56:45 2021 +0200

    Change the identifier limit to 60 instead of 50
---
 .../main/resources/META-INF/cxs/schemas/customitems/page.json  |  2 +-
 services/src/main/resources/META-INF/cxs/schemas/event.json    | 10 +++++-----
 services/src/main/resources/META-INF/cxs/schemas/item.json     |  2 +-
 3 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/services/src/main/resources/META-INF/cxs/schemas/customitems/page.json b/services/src/main/resources/META-INF/cxs/schemas/customitems/page.json
index 252a51d..f05ccb6 100644
--- a/services/src/main/resources/META-INF/cxs/schemas/customitems/page.json
+++ b/services/src/main/resources/META-INF/cxs/schemas/customitems/page.json
@@ -29,7 +29,7 @@
         },
         "pageID": {
           "type" : "string",
-          "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+          "pattern" : "^(\\w|[-_@\\.]){0,60}$"
         },
         "nodeType": {
           "type" : "string"
diff --git a/services/src/main/resources/META-INF/cxs/schemas/event.json b/services/src/main/resources/META-INF/cxs/schemas/event.json
index a0e71b8..1b4a03e 100644
--- a/services/src/main/resources/META-INF/cxs/schemas/event.json
+++ b/services/src/main/resources/META-INF/cxs/schemas/event.json
@@ -7,23 +7,23 @@
   "properties" : {
     "eventType" : {
       "type" : "string",
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$"
     },
     "profileId" : {
       "type" : [ "null", "string"],
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$"
     },
     "sessionId" : {
       "type" : [ "null", "string"],
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$"
     },
     "scope" : {
       "type" : [ "null", "string"],
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$"
     },
     "sourceId" : {
       "type" : [ "null", "string"],
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$"
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$"
     }
   }
 }
\ No newline at end of file
diff --git a/services/src/main/resources/META-INF/cxs/schemas/item.json b/services/src/main/resources/META-INF/cxs/schemas/item.json
index 3a4f148..b4d9f8a 100644
--- a/services/src/main/resources/META-INF/cxs/schemas/item.json
+++ b/services/src/main/resources/META-INF/cxs/schemas/item.json
@@ -6,7 +6,7 @@
   "properties" : {
     "itemId" : {
       "type" : "string",
-      "pattern" : "^(\\w|[-_@\\.]){0,50}$",
+      "pattern" : "^(\\w|[-_@\\.]){0,60}$",
       "description" : "The identifier for the item"
     },
     "itemType" : {