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

jsinovassinnaik pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/unomi.git


The following commit(s) were added to refs/heads/master by this push:
     new 34ddcff37 UNOMI-790 : remove possibility to add attributes in event 
(#641)
34ddcff37 is described below

commit 34ddcff372af4ed21a3ec938a667740ded8286ce
Author: jsinovassin <58434978+jsinovas...@users.noreply.github.com>
AuthorDate: Fri Aug 11 15:59:20 2023 +0200

    UNOMI-790 : remove possibility to add attributes in event (#641)
---
 .../schemas/items/page/page.properties.attributes.json    | 15 ---------------
 .../META-INF/cxs/schemas/items/page/page.properties.json  |  5 +----
 extensions/web-tracker/wab/src/main/webapp/index.html     |  1 -
 itests/src/test/resources/schemas/event-view.json         |  3 +--
 4 files changed, 2 insertions(+), 22 deletions(-)

diff --git 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
deleted file mode 100644
index cb54c2a93..000000000
--- 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.attributes.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
-  "$id": 
"https://unomi.apache.org/schemas/json/items/page/properties/attributes/1-0-0";,
-  "$schema": "https://json-schema.org/draft/2019-09/schema";,
-  "self": {
-    "vendor": "org.apache.unomi",
-    "name": "attributes",
-    "format": "jsonschema",
-    "version": "1-0-0"
-  },
-  "title": "Page Attributes",
-  "type": ["null", "object"],
-  "properties": {
-  },
-  "unevaluatedProperties" : false
-}
\ No newline at end of file
diff --git 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
index 3abfd4d0e..a4ff0380a 100644
--- 
a/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
+++ 
b/extensions/json-schema/services/src/main/resources/META-INF/cxs/schemas/items/page/page.properties.json
@@ -13,9 +13,6 @@
     "pageInfo": {
       "$ref" : 
"https://unomi.apache.org/schemas/json/items/page/properties/pageInfo/1-0-0";
     },
-    "attributes": {
-      "$ref" : 
"https://unomi.apache.org/schemas/json/items/page/properties/attributes/1-0-0";
-    },
     "consentTypes": {
       "type" : ["null", "array"],
       "items" : {
@@ -24,4 +21,4 @@
     }
   },
   "unevaluatedProperties" : false
-}
\ No newline at end of file
+}
diff --git a/extensions/web-tracker/wab/src/main/webapp/index.html 
b/extensions/web-tracker/wab/src/main/webapp/index.html
index 229bcddeb..16d1c93e5 100644
--- a/extensions/web-tracker/wab/src/main/webapp/index.html
+++ b/extensions/web-tracker/wab/src/main/webapp/index.html
@@ -43,7 +43,6 @@
                         "categories": [],
                         "tags": []
                     },
-                    "attributes": {},
                     "consentTypes": []
                 },
                 "events:": [],
diff --git a/itests/src/test/resources/schemas/event-view.json 
b/itests/src/test/resources/schemas/event-view.json
index 85763ecd1..a1b98a04c 100644
--- a/itests/src/test/resources/schemas/event-view.json
+++ b/itests/src/test/resources/schemas/event-view.json
@@ -20,7 +20,6 @@
         "tags": [],
         "sameDomainReferrer": false
       },
-      "attributes": {},
       "consentTypes": []
     }
   },
@@ -30,4 +29,4 @@
     "itemType": "site"
   },
   "flattenedProperties": {}
-}
\ No newline at end of file
+}

Reply via email to