Repository navigation
Conversation
|
@Bengo7918 please resolve conflicts |
7876272 to
8e552f7
Compare
|
@osulzhenko conflicts resolved :) |
|
@Bengo7918 please update your PR, resolve the merge conflicts, and keep only your commits |
|
@Bengo7918 hello. Kind reminder about the PR. Please clean the PR up because it contains commits that are already present in our main branch. We can't review it unless this is fixed. |
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
60fd005 to
42511e2
Compare
|
@osulzhenko @Net-burst updated :) The branch is rebased onto the latest master, the conflicts are resolved, and the PR now contains only the IntentIQ Identity module commit (37 files, module + sample config + module/bundle pom entries). |
- Parse abTestUuid from the API response (the snake_case mapper read it as ab_test_uuid, so it was always null). - Keep abTestUuid and tc in cache entries, so reports of cache-served auctions carry them. - Treat a non-2xx API answer as an error instead of caching "no ids". - Remove the in-progress marker when a call fails, so the next request retries; default its TTL to 30s. - Bound L2 reads with cache.l2-timeout-ms, so a hung Redis falls through to the API. - Redis: configurable pool size and wait queue (defaults 32 / 1024), TLS, username, password set as an option. - Report only the highest bid per impression, with its own reports-timeout; count non-2xx reports as errors. - Do not add a resolved eid whose source the request already carries. - Ignore an all-zero device.ifa for pcid and cache keys. - Skip the call when partner-id is blank, or when gdpr=1 without a consent string. - Sample failure logs at 1% without stack traces. - Sample config boots on PBS 4.5 (gdpr.vendorlist.live.startup-cache-dir). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Scope cache keys by partner-id and a digest of the request's privacy signals (gdpr, consent, us_privacy, gpp): no cross-partner sharing, and a changed consent or opt-out is resolved again. - Use the IP/UA device composite only when the request has no stronger id, and leave an lmt=1 ifa out of it. - Skip the impression report without a partner-id, or when GDPR applies without consent. - Concurrent requests for the same user on one instance share one cache lookup and API call, so they are enriched and A/B-attributed too. - Cache the normalized user agent (Caffeine) instead of parsing it on every auction. - README: cache settings other than cache.enabled are host-level. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
With redis.ssl the Vert.x 5 client refused every connection: it needs a hostname verification algorithm, and none was set. TLS now verifies the host name (redis.verify-hostname: false turns it off), and redis.ca-cert-path trusts a private CA for the Redis connection only. redis.cluster connects in cluster mode (ElastiCache Serverless, Valkey or Redis cluster mode enabled). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Requests with regs.coppa=1 are neither enriched nor reported (counted as skip.coppa). With ext.prebid.trace: verbose, each hook returns a debug message saying what it did: where the ids came from (API, cache layer and key type, or a call already in flight) or why it skipped, and how long it took. README: the auction waits for the processed-auction-request group timeout, while the call itself may run up to `timeout`. A call that outlives the group timeout finishes in the background and fills the cache for the user's next request. The example now waits 200 ms with a 1000 ms call timeout. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
cache.provider: aerospike stores the shared (L2) cache in Aerospike (namespace.set, value in bin "v", per-record TTL) through the client's async API, completing on the caller's Vert.x context. PBS starts while Aerospike is down; the client reconnects and the cache fails open. Redis (or Valkey) stays the default provider. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Module sources identical to prebid/prebid-server-java#4548 at df66466dc, install.sh to add it to a PBS 4.5+ checkout, a sample config and the Apache 2.0 license. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nerId), limited to allowed-partner-ids Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…re any other stage Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…d (Prebid.js s2sConfig.extPrebid) PBS parses ext.prebid into a fixed class and drops unknown fields, so the partner id is read from the raw body at the entrypoint stage, kept in the module context and removed from the body. ext.intentiq still works; ext.prebid.intentiq wins when both are set. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Hi @Net-burst , @And1sS I reviewed this code and are in direct contact with IntentIQ. Can I merge this? I would like to test this with another company that has not the capability of cherry picking single PRs |
Hello, @muuki88 . Not yet. There is at least one major issue with the module: we require modules that phone home to check for activity permissions in their workflow. My team is currently reviewing the PR. Further reading is available here:
Example of such checks can be found here: @Bengo7918 FYI ^^^ |
|
Thanks for the early review! We'll add activity control checks to the module, following the pattern in the Optable hook, so enrichment is skipped when the activity isn't allowed. I'll push the update soon. |
…cs, transmitUfpd/Eids/PreciseGeo) The resolution call runs only when enrichUfpd is allowed and the impression report only when reportAnalytics is allowed, both as component general / intentiq-identity. What both calls send is read from the request after the core's UserFpdActivityMask removed the user data, eids and precise geo the module may not transmit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Thanks again for the review! Activity controls are in now (eb5619b) :) The module checks them as component
There are tests for each case, and the README has an example config. @muuki88 FYI |
🔧 Type of changes
✨ What's the context?
Adds the
intentiq-identitymodule — a server-side identity-resolution hook. At theprocessed-auction-requeststage it calls the IntentIQ Bid Enhancement S2S API and merges theresolved IDs into
user.eidsbefore the request is sent to bidders. Optionally, at theauction-responsestage it reports winning bids as impressions to a reporting endpoint.The module includes an optional two-layer cache (Caffeine L1 + a pluggable
IdentityStoreL2,Redis by default) with multi-key alias caching, negative caching, and in-progress dedup, plus
per-module custom metrics. Configuration and behavior are documented in the module README.
🧠 Rationale behind the change
Publishers using IntentIQ want server-side ID enrichment without shipping/licensing device
detection to the client. Implemented as a standard PBS module using the hooks framework (no direct
HTTP; uses the framework HttpClient). The L2 store is
@ConditionalOnMissingBean, so partners canswap Redis for their own backend or disable caching entirely. Device detection stays fully
server-side. Trade-off: winning bids are reported server-side rather than as true client renders.
🧪 Test plan
Unit-tested across the module (120 tests) covering the resolution hook, response/impression hook,
caching (L1/L2, negative, in-progress, alias back-fill), TTL policy, metrics, Redis store/stats,
and Spring config. JaCoCo: 97% instruction coverage, no class below 90%. Verified locally with
mvn -f extra/pom.xml -pl modules/intentiq-identity clean test checkstyle:check— all green,0 checkstyle violations. Also smoke-tested the bundle per the README "Running the demo" steps.
🏎Quality check