From 574a264d5fedec454e13f98493a73764a2a7ae50 Mon Sep 17 00:00:00 2001 From: pkaczmarek Date: Tue, 27 Jan 2026 17:39:12 +0100 Subject: [PATCH] Remove Vimayx alias --- .../resources/bidder-config/smarthub.yaml | 3 - .../java/org/prebid/server/it/VimayxTest.java | 36 ------------ .../vimayx/test-auction-vimayx-request.json | 25 -------- .../vimayx/test-auction-vimayx-response.json | 43 -------------- .../vimayx/test-vimayx-bid-request.json | 58 ------------------- .../vimayx/test-vimayx-bid-response.json | 23 -------- .../server/it/test-application.properties | 2 - 7 files changed, 190 deletions(-) delete mode 100644 src/test/java/org/prebid/server/it/VimayxTest.java delete mode 100644 src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-request.json delete mode 100644 src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-response.json delete mode 100644 src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-request.json delete mode 100644 src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-response.json diff --git a/src/main/resources/bidder-config/smarthub.yaml b/src/main/resources/bidder-config/smarthub.yaml index 73a50212676..bfec7f69f87 100644 --- a/src/main/resources/bidder-config/smarthub.yaml +++ b/src/main/resources/bidder-config/smarthub.yaml @@ -11,9 +11,6 @@ adapters: tredio: enabled: false endpoint: https://tredio-prebid.attekmi.com/pbserver/?seat={{AccountID}}&token={{SourceId}} - vimayx: - enabled: false - endpoint: https://vimayx-prebid.attekmi.com/pbserver/?seat={{AccountID}}&token={{SourceId}} felixads: enabled: false endpoint: https://felixads-prebid.attekmi.com/pbserver/?seat={{AccountID}}&token={{SourceId}} diff --git a/src/test/java/org/prebid/server/it/VimayxTest.java b/src/test/java/org/prebid/server/it/VimayxTest.java deleted file mode 100644 index ac7750065d0..00000000000 --- a/src/test/java/org/prebid/server/it/VimayxTest.java +++ /dev/null @@ -1,36 +0,0 @@ -package org.prebid.server.it; - -import io.restassured.response.Response; -import org.json.JSONException; -import org.junit.jupiter.api.Test; -import org.prebid.server.model.Endpoint; - -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; -import static java.util.Collections.singletonList; - -public class VimayxTest extends IntegrationTest { - - @Test - public void openrtb2AuctionShouldRespondWithBidsFromVimayx() throws IOException, JSONException { - // given - WIRE_MOCK_RULE.stubFor(post(urlPathEqualTo("/vimayx-exchange")) - .withQueryParam("host", equalTo("someUniquePartnerName")) - .withQueryParam("accountId", equalTo("someSeat")) - .withQueryParam("sourceId", equalTo("someToken")) - .withRequestBody(equalToJson(jsonFrom("openrtb2/vimayx/test-vimayx-bid-request.json"))) - .willReturn(aResponse().withBody(jsonFrom("openrtb2/vimayx/test-vimayx-bid-response.json")))); - - // when - final Response response = responseFor("openrtb2/vimayx/test-auction-vimayx-request.json", - Endpoint.openrtb2_auction); - - // then - assertJsonEquals("openrtb2/vimayx/test-auction-vimayx-response.json", response, singletonList("vimayx")); - } -} diff --git a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-request.json b/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-request.json deleted file mode 100644 index 37f89d39672..00000000000 --- a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-request.json +++ /dev/null @@ -1,25 +0,0 @@ -{ - "id": "request_id", - "imp": [ - { - "id": "imp_id", - "banner": { - "w": 300, - "h": 250 - }, - "ext": { - "vimayx": { - "partnerName": "someUniquePartnerName", - "seat": "someSeat", - "token": "someToken" - } - } - } - ], - "tmax": 5000, - "regs": { - "ext": { - "gdpr": 0 - } - } -} diff --git a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-response.json b/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-response.json deleted file mode 100644 index 218b16cda60..00000000000 --- a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-auction-vimayx-response.json +++ /dev/null @@ -1,43 +0,0 @@ -{ - "id": "request_id", - "seatbid": [ - { - "bid": [ - { - "id": "bid_id", - "impid": "imp_id", - "exp": 1500, - "price": 3.33, - "adm": "adm001", - "adid": "adid001", - "cid": "cid001", - "crid": "crid001", - "w": 300, - "h": 250, - "ext": { - "mediaType": "video", - "origbidcpm": 3.33, - "prebid": { - "type": "video", - "meta": { - "adaptercode": "vimayx" - } - } - } - } - ], - "seat": "vimayx", - "group": 0 - } - ], - "cur": "USD", - "ext": { - "responsetimemillis": { - "vimayx": "{{ vimayx.response_time_ms }}" - }, - "prebid": { - "auctiontimestamp": 0 - }, - "tmaxrequest": 5000 - } -} diff --git a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-request.json b/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-request.json deleted file mode 100644 index 9342b97a4fa..00000000000 --- a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-request.json +++ /dev/null @@ -1,58 +0,0 @@ -{ - "id": "request_id", - "imp": [ - { - "id": "imp_id", - "secure": 1, - "banner": { - "w": 300, - "h": 250 - }, - "ext": { - "tid": "${json-unit.any-string}", - "bidder": { - "partnerName": "someUniquePartnerName", - "seat": "someSeat", - "token": "someToken" - } - } - } - ], - "source": { - "tid": "${json-unit.any-string}" - }, - "site": { - "domain": "www.example.com", - "page": "http://www.example.com", - "publisher": { - "domain": "example.com" - }, - "ext": { - "amp": 0 - } - }, - "device": { - "ua": "userAgent", - "ip": "193.168.244.1" - }, - "at": 1, - "tmax": "${json-unit.any-number}", - "cur": [ - "USD" - ], - "regs": { - "ext": { - "gdpr": 0 - } - }, - "ext": { - "prebid": { - "server": { - "externalurl": "http://localhost:8080", - "gvlid": 1, - "datacenter": "local", - "endpoint": "/openrtb2/auction" - } - } - } -} diff --git a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-response.json b/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-response.json deleted file mode 100644 index ecfbbed0ded..00000000000 --- a/src/test/resources/org/prebid/server/it/openrtb2/vimayx/test-vimayx-bid-response.json +++ /dev/null @@ -1,23 +0,0 @@ -{ - "id": "request_id", - "seatbid": [ - { - "bid": [ - { - "id": "bid_id", - "impid": "imp_id", - "price": 3.33, - "adid": "adid001", - "crid": "crid001", - "cid": "cid001", - "adm": "adm001", - "h": 250, - "w": 300, - "ext": { - "mediaType": "video" - } - } - ] - } - ] -} diff --git a/src/test/resources/org/prebid/server/it/test-application.properties b/src/test/resources/org/prebid/server/it/test-application.properties index 2a3ffe37083..19e6125ca1c 100644 --- a/src/test/resources/org/prebid/server/it/test-application.properties +++ b/src/test/resources/org/prebid/server/it/test-application.properties @@ -521,8 +521,6 @@ adapters.smarthub.aliases.jdpmedia.enabled=true adapters.smarthub.aliases.jdpmedia.endpoint=http://localhost:8090/jdpmedia-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}} adapters.smarthub.aliases.tredio.enabled=true adapters.smarthub.aliases.tredio.endpoint=http://localhost:8090/tredio-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}} -adapters.smarthub.aliases.vimayx.enabled=true -adapters.smarthub.aliases.vimayx.endpoint=http://localhost:8090/vimayx-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}} adapters.smarthub.aliases.felixads.enabled=true adapters.smarthub.aliases.felixads.endpoint=http://localhost:8090/felixads-exchange?host={{Host}}&accountId={{AccountID}}&sourceId={{SourceId}} adapters.smarthub.aliases.jambojar.enabled=true