Skip to content

Addigi: New alias for Smarthub #3848

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

Merged
merged 4 commits into from
Apr 25, 2025

Conversation

katherynhrabik
Copy link
Contributor

🔧 Type of changes

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

✨ What's the context?

What's the context for the changes?
Addigi alias added to SmartHub (Attekmi)

🧠 Rationale behind the change

Why did you choose to make these changes? Were there any trade-offs you had to consider?
N/A - just an alias

🔎 New Bid Adapter Checklist

  • verify email contact works
  • NO fully dynamic hostnames
  • geographic host parameters are NOT required
  • 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?

Copy link
Collaborator

@AntoxaAntoxic AntoxaAntoxic left a comment

Choose a reason for hiding this comment

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

Is it a port from Go? Or should it be ported to Go?

@katherynhrabik
Copy link
Contributor Author

Is it a port from Go? Or should it be ported to Go?

it's a port from Go: #3750

@AntoxaAntoxic AntoxaAntoxic changed the title addigi alias added to smarthub Port Addigi: New alias for Smarthub Mar 27, 2025
@@ -457,6 +457,8 @@ adapters.smarthub.aliases.jambojar.enabled=true
adapters.smarthub.aliases.jambojar.endpoint=http://localhost:8090/jambojar-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}}
adapters.smarthub.aliases.adinify.enabled=true
adapters.smarthub.aliases.adinify.endpoint=http://localhost:8090/adinify-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}}
adapters.smarthub.aliases.addigi.enabled=true
adapters.smarthub.aliases.addigi.endpoint=http://localhost:8090/addigi-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}}
Copy link
Collaborator

Choose a reason for hiding this comment

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

placeholders are unnecessary if they are not checked in the test

Copy link
Contributor Author

Choose a reason for hiding this comment

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

hi sorry if this is a silly question, does this not count as being checked in the test? post(urlPathEqualTo("/addigi-exchange"))

Copy link
Collaborator

@AntoxaAntoxic AntoxaAntoxic Apr 14, 2025

Choose a reason for hiding this comment

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

it mocks all the requests going to the path /addigi-exchange neglecting query params

so from my perspective having query params in the http://localhost:8090/addigi-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}} is kind of redundant, because it doesn't impact the test at all

therefore I can suggest using just the http://localhost:8090/addigi-exchange endpoint which is sufficient OR as an alternative you can add checks for query params in the test

@CTMBNara CTMBNara changed the title Port Addigi: New alias for Smarthub Addigi: New alias for Smarthub Apr 23, 2025
@CTMBNara CTMBNara merged commit 14fe866 into prebid:master Apr 25, 2025
8 of 9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Port PR from PBS-Go: New Adapter: Addigi - Attekmi (SmartHub) Alias
3 participants