-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
TNT-40078 - TargetDecisioningEngine + disabled integration tests (#15)
TargetDecisioningEngine and (disabled) integration tests
- Loading branch information
1 parent
952842f
commit 3fab41b
Showing
91 changed files
with
39,345 additions
and
29 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,203 @@ | ||
{ | ||
"targetAdminActivityUrls": [ | ||
"https://experience.adobe.com/#/@targettesting/target/activities/activitydetails/A-B/_unit-test_mbox-salutations", | ||
"https://experience.adobe.com/#/@targettesting/target/activities/activitydetails/A-B/_unit-test_mbox-magician" | ||
], | ||
"version": "1.0.0", | ||
"meta": { "clientCode": "targettesting", "environment": "production" }, | ||
"globalMbox": "target-global-mbox", | ||
"geoTargetingEnabled": true, | ||
"responseTokens": [ | ||
"activity.id", | ||
"activity.name", | ||
"experience.id", | ||
"experience.name", | ||
"geo.city", | ||
"geo.country", | ||
"geo.state", | ||
"offer.id", | ||
"offer.name", | ||
"option.id", | ||
"option.name" | ||
], | ||
"remoteMboxes": [], | ||
"remoteViews": [], | ||
"localMboxes": [ | ||
"100k", | ||
"1MB", | ||
"1MB2", | ||
"1MB3", | ||
"250k", | ||
"500k", | ||
"allmatches", | ||
"browserTest", | ||
"mbox-browsers", | ||
"mbox-dateranges", | ||
"mbox-feature-flags", | ||
"mbox-geography", | ||
"mbox-macros", | ||
"mbox-magician", | ||
"mbox-params", | ||
"mbox-prioritized", | ||
"mbox-salutations", | ||
"mbox-urlcontains", | ||
"perf-mbox", | ||
"super-duper", | ||
"target-global-mbox", | ||
"testoffer" | ||
], | ||
"localViews": ["contact", "home"], | ||
"rules": { | ||
"mboxes": { | ||
"mbox-salutations": [ | ||
{ | ||
"ruleKey": "125872", | ||
"activityId": 125872, | ||
"meta": { | ||
"activity.id": 125872, | ||
"activity.name": "[unit-test] mbox-salutations", | ||
"activity.type": "ab", | ||
"experience.id": 0, | ||
"experience.name": "Experience A", | ||
"location.name": "mbox-salutations", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246847, | ||
"offer.name": "/_unit-test_mbox-salutations/experiences/0/pages/0/zones/0/1612386185278", | ||
"option.id": 2, | ||
"option.name": "Offer2" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<=": [0, { "var": "allocation" }] }, | ||
{ ">=": [50, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-salutations", | ||
"options": [ | ||
{ | ||
"type": "html", | ||
"eventToken": "avr5zuTFMrtFi7QuWrscBmqipfsIHvVzTQxHolz2IpSCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": "<div>hello</div>" | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
}, | ||
{ | ||
"ruleKey": "125872", | ||
"activityId": 125872, | ||
"meta": { | ||
"activity.id": 125872, | ||
"activity.name": "[unit-test] mbox-salutations", | ||
"activity.type": "ab", | ||
"experience.id": 1, | ||
"experience.name": "Experience B", | ||
"location.name": "mbox-salutations", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246848, | ||
"offer.name": "/_unit-test_mbox-salutations/experiences/1/pages/0/zones/0/1612386185295", | ||
"option.id": 3, | ||
"option.name": "Offer3" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<": [50, { "var": "allocation" }] }, | ||
{ ">=": [100, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-salutations", | ||
"options": [ | ||
{ | ||
"type": "html", | ||
"eventToken": "avr5zuTFMrtFi7QuWrscBpNWHtnQtQrJfmRrQugEa2qCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": "<div>goodbye</div>" | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
} | ||
], | ||
"mbox-magician": [ | ||
{ | ||
"ruleKey": "125873", | ||
"activityId": 125873, | ||
"meta": { | ||
"activity.id": 125873, | ||
"activity.name": "[unit-test] mbox-magician", | ||
"activity.type": "ab", | ||
"experience.id": 0, | ||
"experience.name": "Experience A", | ||
"location.name": "mbox-magician", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246850, | ||
"offer.name": "/_unit-test_mbox-magician/experiences/0/pages/0/zones/0/1612386382173", | ||
"option.id": 2, | ||
"option.name": "Offer2" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<=": [0, { "var": "allocation" }] }, | ||
{ ">=": [50, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-magician", | ||
"options": [ | ||
{ | ||
"type": "json", | ||
"eventToken": "eHKYleVZBTi/nM3Fv/fx1WqipfsIHvVzTQxHolz2IpSCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": { "doMagic": true, "importantValue": 150 } | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
}, | ||
{ | ||
"ruleKey": "125873", | ||
"activityId": 125873, | ||
"meta": { | ||
"activity.id": 125873, | ||
"activity.name": "[unit-test] mbox-magician", | ||
"activity.type": "ab", | ||
"experience.id": 1, | ||
"experience.name": "Experience B", | ||
"location.name": "mbox-magician", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246849, | ||
"offer.name": "/_unit-test_mbox-magician/experiences/1/pages/0/zones/0/1612386382166", | ||
"option.id": 3, | ||
"option.name": "Offer3" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<": [50, { "var": "allocation" }] }, | ||
{ ">=": [100, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-magician", | ||
"options": [ | ||
{ | ||
"type": "json", | ||
"eventToken": "eHKYleVZBTi/nM3Fv/fx1ZNWHtnQtQrJfmRrQugEa2qCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": { "doMagic": false, "importantValue": 75 } | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
} | ||
] | ||
}, | ||
"views": {} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,128 @@ | ||
{ | ||
"targetAdminActivityUrls": [ | ||
"https://experience.adobe.com/#/@targettesting/target/activities/activitydetails/A-B/_unit-test_mbox-magician" | ||
], | ||
"version": "1.0.0", | ||
"meta": { "clientCode": "targettesting", "environment": "production" }, | ||
"globalMbox": "target-global-mbox", | ||
"geoTargetingEnabled": true, | ||
"responseTokens": [ | ||
"activity.id", | ||
"activity.name", | ||
"experience.id", | ||
"experience.name", | ||
"geo.city", | ||
"geo.country", | ||
"geo.state", | ||
"offer.id", | ||
"offer.name", | ||
"option.id", | ||
"option.name" | ||
], | ||
"remoteMboxes": [], | ||
"remoteViews": [], | ||
"localMboxes": [ | ||
"100k", | ||
"1MB", | ||
"1MB2", | ||
"1MB3", | ||
"250k", | ||
"500k", | ||
"allmatches", | ||
"browserTest", | ||
"mbox-browsers", | ||
"mbox-dateranges", | ||
"mbox-feature-flags", | ||
"mbox-geography", | ||
"mbox-macros", | ||
"mbox-magician", | ||
"mbox-params", | ||
"mbox-prioritized", | ||
"mbox-salutations", | ||
"mbox-urlcontains", | ||
"perf-mbox", | ||
"super-duper", | ||
"target-global-mbox", | ||
"testoffer" | ||
], | ||
"localViews": ["contact", "home"], | ||
"rules": { | ||
"mboxes": { | ||
"mbox-magician": [ | ||
{ | ||
"ruleKey": "125873", | ||
"activityId": 125873, | ||
"meta": { | ||
"activity.id": 125873, | ||
"activity.name": "[unit-test] mbox-magician", | ||
"activity.type": "ab", | ||
"experience.id": 0, | ||
"experience.name": "Experience A", | ||
"location.name": "mbox-magician", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246850, | ||
"offer.name": "/_unit-test_mbox-magician/experiences/0/pages/0/zones/0/1612386382173", | ||
"option.id": 2, | ||
"option.name": "Offer2" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<=": [0, { "var": "allocation" }] }, | ||
{ ">=": [50, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-magician", | ||
"options": [ | ||
{ | ||
"type": "json", | ||
"eventToken": "eHKYleVZBTi/nM3Fv/fx1WqipfsIHvVzTQxHolz2IpSCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": { "doMagic": true, "importantValue": 150 } | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
}, | ||
{ | ||
"ruleKey": "125873", | ||
"activityId": 125873, | ||
"meta": { | ||
"activity.id": 125873, | ||
"activity.name": "[unit-test] mbox-magician", | ||
"activity.type": "ab", | ||
"experience.id": 1, | ||
"experience.name": "Experience B", | ||
"location.name": "mbox-magician", | ||
"location.type": "mbox", | ||
"location.id": 0, | ||
"audience.ids": [], | ||
"offer.id": 246849, | ||
"offer.name": "/_unit-test_mbox-magician/experiences/1/pages/0/zones/0/1612386382166", | ||
"option.id": 3, | ||
"option.name": "Offer3" | ||
}, | ||
"condition": { | ||
"and": [ | ||
{ "<": [50, { "var": "allocation" }] }, | ||
{ ">=": [100, { "var": "allocation" }] } | ||
] | ||
}, | ||
"consequence": { | ||
"name": "mbox-magician", | ||
"options": [ | ||
{ | ||
"type": "json", | ||
"eventToken": "eHKYleVZBTi/nM3Fv/fx1ZNWHtnQtQrJfmRrQugEa2qCnQ9Y9OaLL2gsdrWQTvE54PwSz67rmXWmSnkXpSSS2Q==", | ||
"content": { "doMagic": false, "importantValue": 75 } | ||
} | ||
], | ||
"metrics": [] | ||
} | ||
} | ||
] | ||
}, | ||
"views": {} | ||
} | ||
} |
Oops, something went wrong.