This is an automated email from the ASF dual-hosted git repository.
sergehuber pushed a commit to branch UNOMI-904-v2-api-compatibility
in repository https://gitbox.apache.org/repos/asf/unomi.git
The following commit(s) were added to refs/heads/UNOMI-904-v2-api-compatibility
by this push:
new 04e59d7c9 UNOMI-904: Add viewEvent.json fixture for
V2CompatibilityModeIT
04e59d7c9 is described below
commit 04e59d7c90a7ab791b70b069c55c090be93ba1ea
Author: Serge Huber <[email protected]>
AuthorDate: Tue May 19 08:21:22 2026 +0200
UNOMI-904: Add viewEvent.json fixture for V2CompatibilityModeIT
testV2CompatibilityModeWithProtectedEvents loads events/viewEvent.json;
resource was missing after V peel (Appendix J peel-fix).
---
itests/src/test/resources/events/viewEvent.json | 37 +++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/itests/src/test/resources/events/viewEvent.json
b/itests/src/test/resources/events/viewEvent.json
new file mode 100644
index 000000000..424621384
--- /dev/null
+++ b/itests/src/test/resources/events/viewEvent.json
@@ -0,0 +1,37 @@
+{
+ "sessionId": "test-session-id",
+ "events": [
+ {
+ "eventType": "view",
+ "scope": "testScope",
+ "source": {
+ "itemType": "site",
+ "scope": "testScope",
+ "itemId": "test-site"
+ },
+ "target": {
+ "itemType": "page",
+ "scope": "testScope",
+ "itemId": "test-page",
+ "properties": {
+ "pageInfo": {
+ "pageID": "test-page",
+ "nodeType": "jnt:page",
+ "pageName": "Test Page",
+ "pagePath": "/test-page",
+ "templateName": "test",
+ "destinationURL": "http://localhost:8080/test-page",
+ "destinationSearch": "",
+ "referringURL": "http://localhost:8080/",
+ "language": "en",
+ "categories": [],
+ "tags": [],
+ "sameDomainReferrer": false
+ },
+ "consentTypes": []
+ }
+ },
+ "flattenedProperties": {}
+ }
+ ]
+}