Skip to content

Commit

Permalink
Merge branch 'IDG-677_initial_analytics_module' into 33across_analyti…
Browse files Browse the repository at this point in the history
…cs_adapter

* IDG-677_initial_analytics_module:
  remove usp consent string invalid test
  refactoring: renaming and reducing mocks to only event data used
  update docs to better reflect analytics adapter standard use-case and behavior
  adopt default endpoint without logging when endpoint value is unspecified
  tests: switch pre-clearing of "events" state with initiating our own stub of "events" emitter
  pre-clear event emitter in case state not cleared by other test suites
  add support for usp
  fix invalid timeout test
  set default transaction timeout to 10s to better accommodate slower auctions, reverse auctionEnd and bidWon as the default sequence in test event emission, test for wider range of auction scenarios, improvements to clarity/specificity (naming)
  remove extraneous transaction manager counting & status mechanism and track transactionIds directly
  test that report is being sent as soon as all transactions for auction are completed
  remove accidental file commits
  IDG-677/add fallback to use adUnitCode as slotId if "ortb2Imp.ext.{gpid,data.pbadslot}" values are both missing
  IDG-677/update tests to ensure reports always match new spec, and general refactoring
  IDG-677/replace bidsWon with hasWon field, add sendReport trigger on auctionEnd (in the case that auction ends AND not all bids have resolved), and general refactoring
  IDG-677/remove typegen hint, and replace with jsdoc ref
  IDG-677/remove code related to GAM slotRenderEnded
  update tests for style conformance
  general improvements to documentation with fixes to jsdoc types
  remove hardcoded version
  simplify GAM logging
  remove extraneous logs
  remote siteId, make endpoint specification optional (provide default), refactoring, fix tests
  change jsdoc naming + spec refactoring
  Additional fn documentation
  keep track of bids when bid_response event is received
  fix eslint errors
  Populate floor CMP field
  Populate bids based on BID_RESPONSE and not on the bidsReceived field of AUCTION_END
  fix some typedef + remove unnecessary switch event cases
  populate bidResponse field
  Prepare the cache for the bidresponse field population
  Populate bid response fields for BID WON events
  obtain user ids via bid request, not via global fn.
  Add additional spec about non found transaction
  unit test coverage for duplicate transaction id
  refactoring of "incomplete state" unit test
  Apply CR feedback - Single responsibility for transaction manager - Send one report per auction - Clear pending events that were causing conflicts in specs
  Additional refactoring of 33x analytics unit tests
  refactoring + additional unit test coverage
  initial 33across Analytics Adapter commit
  • Loading branch information
mscottnelson committed May 25, 2023
2 parents c59dd06 + f4c0334 commit f0ce1cb
Show file tree
Hide file tree
Showing 3 changed files with 1,370 additions and 0 deletions.

0 comments on commit f0ce1cb

Please sign in to comment.