Skip to content

Commit f3b5bce

Browse files
Smarthub: Update to Attekmi Endpoint (prebid#4047)
1 parent 64d41cd commit f3b5bce

File tree

19 files changed

+23
-23
lines changed

19 files changed

+23
-23
lines changed

adapters/smarthub/smarthub_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import (
1111

1212
func TestJsonSamples(t *testing.T) {
1313
bidder, buildErr := Builder(openrtb_ext.BidderSmartHub, config.Adapter{
14-
Endpoint: "http://prebid.smart-hub.io/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})
14+
Endpoint: "https://prebid.example.com/pbserver?partnerName={{.Host}}&seat={{.AccountID}}&token={{.SourceId}}"}, config.Server{ExternalUrl: "http://hosturl.com", GvlID: 1, DataCenter: "2"})
1515

1616
assert.NoError(t, buildErr)
1717
adapterstest.RunJSONBidderTest(t, "smarthubtest", bidder)

adapters/smarthub/smarthubtest/exemplary/banner.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/exemplary/native.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/exemplary/video.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@
6666
"httpCalls": [
6767
{
6868
"expectedRequest": {
69-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
69+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
7070
"body": {
7171
"id": "id",
7272
"imp": [

adapters/smarthub/smarthubtest/supplemental/bad-response.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/empty-seatbid-0-bid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/empty-seatbid.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-204.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-400.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

adapters/smarthub/smarthubtest/supplemental/status-503.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"httpCalls": [
4747
{
4848
"expectedRequest": {
49-
"uri": "http://prebid.smart-hub.io/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
49+
"uri": "https://prebid.example.com/pbserver?partnerName=partnertest&seat=9Q20EdGxzgWdfPYShScl&token=zpl5iB5Ugpe9ofVTzi44WzfjZZYq1yer",
5050
"body": {
5151
"id": "id",
5252
"imp": [

0 commit comments

Comments
 (0)