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

New Adapter: Trustedstack #3111

Merged

Conversation

product-trustedstack
Copy link
Contributor

@product-trustedstack product-trustedstack commented Apr 9, 2024

Trustedstack server adapter added.

Comment on lines 121 to 125
final Bid bid1 = Bid.builder().impid("imp_id").mtype(1).build();
final Bid bid2 = Bid.builder().impid("imp_id").mtype(2).build();
final Bid bid3 = Bid.builder().impid("imp_id").mtype(3).build();
final Bid bid4 = Bid.builder().impid("imp_id").mtype(4).build();
bids.add(bid1);
Copy link
Collaborator

Choose a reason for hiding this comment

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

We would prefer to have separate test for each mtype

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@SerhiiNahornyi requesting review as the requested changes has been implemented.

Comment on lines 45 to 47
private String resolveEndpoint(String configEndpoint, String externalUrl) {
return configEndpoint.replace(EXTERNAL_URL_MACRO, HttpUtil.encodeUrl(externalUrl));
}
Copy link
Collaborator

Choose a reason for hiding this comment

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

URL resolving is usually a part of Bidder code, so please move it there

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

@product-trustedstack
Copy link
Contributor Author

@SerhiiNahornyi requesting to share your approval if all looks good

@SerhiiNahornyi SerhiiNahornyi merged commit 1b062b4 into prebid:master May 24, 2024
5 checks passed
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.

3 participants