Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
1 change: 1 addition & 0 deletions src/main/resources/bidder-config/colossus.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
adapters:
colossus:
endpoint: http://colossusssp.com/?c=o&m=rtb
ortb-version: "2.6"
aliases:
colossusssp:
enabled: false
Expand Down
8 changes: 4 additions & 4 deletions src/test/java/org/prebid/server/it/ColossussspTest.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,16 +19,16 @@ public class ColossussspTest extends IntegrationTest {
public void openrtb2AuctionShouldRespondWithBidsFromColossusssp() throws IOException, JSONException {
// given
WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/colossusssp-exchange"))
.withRequestBody(equalToJson(jsonFrom("openrtb2/colossus/aliases/test-colossusssp-bid-request.json")))
.withRequestBody(equalToJson(jsonFrom("openrtb2/colossusssp/test-colossusssp-bid-request.json")))
.willReturn(aResponse().withBody(
jsonFrom("openrtb2/colossus/aliases/test-colossusssp-bid-response.json"))));
jsonFrom("openrtb2/colossusssp/test-colossusssp-bid-response.json"))));

// when
final Response response = responseFor("openrtb2/colossus/aliases/test-auction-colossusssp-request.json",
final Response response = responseFor("openrtb2/colossusssp/test-auction-colossusssp-request.json",
Endpoint.openrtb2_auction);

// then
assertJsonEquals("openrtb2/colossus/aliases/test-auction-colossusssp-response.json", response,
assertJsonEquals("openrtb2/colossusssp/test-auction-colossusssp-response.json", response,
singletonList("colossusssp"));
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
],
"tmax": 5000,
"regs": {
"ext": {
"gdpr": 0
}
"gdpr": 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"USD"
],
"regs": {
"ext": {
"gdpr": 0
}
"gdpr": 0
},
"ext": {
"prebid": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@
],
"tmax": 5000,
"regs": {
"ext": {
"gdpr": 0
}
"gdpr": 0
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -40,9 +40,7 @@
"USD"
],
"regs": {
"ext": {
"gdpr": 0
}
"gdpr": 0
},
"ext": {
"prebid": {
Expand Down
Loading