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

Adverxo: New adapter ported from Go #3705

Open
wants to merge 11 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
removing params in integration tests
  • Loading branch information
przemkaczmarek committed Feb 19, 2025
commit c21a5aae255d21be6d995714dcf4fa108db6c1fe
3 changes: 0 additions & 3 deletions src/test/java/org/prebid/server/it/AdportTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.IOException;

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
Expand All @@ -20,8 +19,6 @@ public class AdportTest extends IntegrationTest {
public void openrtb2AuctionShouldRespondWithBidsFromTheAdport() throws IOException, JSONException {
// given
WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/adport-exchange"))
.withQueryParam("adUnitId", equalTo("1"))
.withQueryParam("auth", equalTo("123456"))
.withRequestBody(equalToJson(jsonFrom("openrtb2/adport/test-adport-bid-request.json"), true, true))
.willReturn(aResponse().withBody(jsonFrom("openrtb2/adport/test-adport-bid-response.json"))));

Expand Down
3 changes: 0 additions & 3 deletions src/test/java/org/prebid/server/it/BidsmindTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.IOException;

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
Expand All @@ -20,8 +19,6 @@ public class BidsmindTest extends IntegrationTest {
public void openrtb2AuctionShouldRespondWithBidsFromTheBidsmind() throws IOException, JSONException {
// given
WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/bidsmind-exchange"))
.withQueryParam("adUnitId", equalTo("1"))
.withQueryParam("auth", equalTo("123456"))
.withRequestBody(equalToJson(jsonFrom("openrtb2/bidsmind/test-bidsmind-bid-request.json"), true, true))
.willReturn(aResponse().withBody(jsonFrom("openrtb2/bidsmind/test-bidsmind-bid-response.json"))));

Expand Down
3 changes: 0 additions & 3 deletions src/test/java/org/prebid/server/it/MobuppsTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
import java.io.IOException;

import static com.github.tomakehurst.wiremock.client.WireMock.aResponse;
import static com.github.tomakehurst.wiremock.client.WireMock.equalTo;
import static com.github.tomakehurst.wiremock.client.WireMock.equalToJson;
import static com.github.tomakehurst.wiremock.client.WireMock.post;
import static com.github.tomakehurst.wiremock.client.WireMock.urlPathEqualTo;
Expand All @@ -20,8 +19,6 @@ public class MobuppsTest extends IntegrationTest {
public void openrtb2AuctionShouldRespondWithBidsFromTheMobupps() throws IOException, JSONException {
// given
WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/mobupps-exchange"))
.withQueryParam("adUnitId", equalTo("1"))
.withQueryParam("auth", equalTo("123456"))
.withRequestBody(equalToJson(jsonFrom("openrtb2/mobupps/test-mobupps-bid-request.json"), true, true))
.willReturn(aResponse().withBody(jsonFrom("openrtb2/mobupps/test-mobupps-bid-response.json"))));

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,11 +48,11 @@ adapters.adot.endpoint=http://localhost:8090/adot-exchange
adapters.adverxo.enabled=true
adapters.adverxo.endpoint=http://localhost:8090/adverxo-exchange?adUnitId={{adUnitId}}&auth={{auth}}
adapters.adverxo.aliases.adport.enabled=true
adapters.adverxo.aliases.adport.endpoint=http://localhost:8090/adport-exchange?adUnitId={{adUnitId}}&auth={{auth}}
adapters.adverxo.aliases.adport.endpoint=http://localhost:8090/adport-exchange
adapters.adverxo.aliases.bidsmind.enabled=true
adapters.adverxo.aliases.bidsmind.endpoint=http://localhost:8090/bidsmind-exchange?adUnitId={{adUnitId}}&auth={{auth}}
adapters.adverxo.aliases.bidsmind.endpoint=http://localhost:8090/bidsmind-exchange
adapters.adverxo.aliases.mobupps.enabled=true
adapters.adverxo.aliases.mobupps.endpoint=http://localhost:8090/mobupps-exchange?adUnitId={{adUnitId}}&auth={{auth}}
adapters.adverxo.aliases.mobupps.endpoint=http://localhost:8090/mobupps-exchange
adapters.adview.enabled=true
adapters.adview.endpoint=http://localhost:8090/adview-exchange?accountId={{AccountId}}
adapters.adprime.enabled=true
Expand Down
Loading