Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exitpoint Stage #3564

Merged
merged 12 commits into from
Dec 4, 2024
Merged

Exitpoint Stage #3564

merged 12 commits into from
Dec 4, 2024

Conversation

AntoxaAntoxic
Copy link
Collaborator

🔧 Type of changes

  • new bid adapter
  • update bid adapter
  • new feature
  • new analytics adapter
  • new module
  • bugfix
  • documentation
  • configuration
  • tech debt (test coverage, refactorings, etc.)

✨ What's the context?

prebid/prebid-server#4044

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hosts
  • geographic host parameters are NOT required
  • NO direct use of HTTP is prohibited - implement an existing Bidder interface that will do all the job
  • if the ORTB is just forwarded to the endpoint, use the generic adapter - define the new adapter as the alias of the generic adapter
  • cover an adapter configuration with an integration test

🧪 Test plan

How do you know the changes are safe to ship to production?

🏎 Quality check

  • Are your changes following our code style guidelines?
  • Are there any breaking changes in your code?
  • Does your test coverage exceed 90%?
  • Are there any erroneous console logs, debuggers or leftover code in your changes?

@AntoxaAntoxic AntoxaAntoxic self-assigned this Nov 21, 2024
@Net-burst
Copy link
Collaborator

You missed StageMetrics metric.

@Net-burst Net-burst requested a review from CTMBNara November 27, 2024 20:41
final Endpoint endpoint = context.getEndpoint();

return stageExecutor(StageWithHookType.EXITPOINT, ENTITY_HTTP_RESPONSE, context, account, endpoint)
.withInitialPayload(ExitpointPayloadImpl.of(responseHeaders, responseBody))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Perhaps we need to wrap responseHeaders in an unmodifiable implementation. @And1sS what do you think?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

do you mean we want to make module to recreate the full map instead of updating what is passed? it will be an additional step for the module creators

@osulzhenko osulzhenko requested a review from CTMBNara December 3, 2024 13:28
And1sS
And1sS previously approved these changes Dec 3, 2024
CTMBNara
CTMBNara previously approved these changes Dec 3, 2024
@CTMBNara CTMBNara dismissed stale reviews from And1sS and themself via ca64df6 December 4, 2024 16:35
@CTMBNara CTMBNara merged commit ae475a5 into master Dec 4, 2024
7 checks passed
@CTMBNara CTMBNara deleted the exitpoint-stage branch December 4, 2024 18:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants