Skip to content

Commit ec729e6

Browse files
authored
Increment Package Version To V2 (prebid#3245)
1 parent 6b98a81 commit ec729e6

File tree

816 files changed

+2697
-2657
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

816 files changed

+2697
-2657
lines changed

.gitignore

+2-2
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ vendor
3030

3131
# build artifacts
3232
prebid-server
33-
build
34-
debug
33+
/build
34+
/debug
3535
__debug_bin
3636

3737
# config files

account/account.go

+7-7
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,13 @@ import (
66

77
"github.com/prebid/go-gdpr/consentconstants"
88

9-
"github.com/prebid/prebid-server/config"
10-
"github.com/prebid/prebid-server/errortypes"
11-
"github.com/prebid/prebid-server/metrics"
12-
"github.com/prebid/prebid-server/openrtb_ext"
13-
"github.com/prebid/prebid-server/stored_requests"
14-
"github.com/prebid/prebid-server/util/iputil"
15-
"github.com/prebid/prebid-server/util/jsonutil"
9+
"github.com/prebid/prebid-server/v2/config"
10+
"github.com/prebid/prebid-server/v2/errortypes"
11+
"github.com/prebid/prebid-server/v2/metrics"
12+
"github.com/prebid/prebid-server/v2/openrtb_ext"
13+
"github.com/prebid/prebid-server/v2/stored_requests"
14+
"github.com/prebid/prebid-server/v2/util/iputil"
15+
"github.com/prebid/prebid-server/v2/util/jsonutil"
1616
)
1717

1818
// GetAccount looks up the config.Account object referenced by the given accountID, with access rules applied

account/account_test.go

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ import (
66
"fmt"
77
"testing"
88

9-
"github.com/prebid/prebid-server/config"
10-
"github.com/prebid/prebid-server/errortypes"
11-
"github.com/prebid/prebid-server/metrics"
12-
"github.com/prebid/prebid-server/openrtb_ext"
13-
"github.com/prebid/prebid-server/stored_requests"
14-
"github.com/prebid/prebid-server/util/iputil"
9+
"github.com/prebid/prebid-server/v2/config"
10+
"github.com/prebid/prebid-server/v2/errortypes"
11+
"github.com/prebid/prebid-server/v2/metrics"
12+
"github.com/prebid/prebid-server/v2/openrtb_ext"
13+
"github.com/prebid/prebid-server/v2/stored_requests"
14+
"github.com/prebid/prebid-server/v2/util/iputil"
1515
"github.com/stretchr/testify/assert"
1616
"github.com/stretchr/testify/mock"
1717
)

adapters/33across/33across.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77

88
"github.com/prebid/openrtb/v19/adcom1"
99
"github.com/prebid/openrtb/v19/openrtb2"
10-
"github.com/prebid/prebid-server/adapters"
11-
"github.com/prebid/prebid-server/config"
12-
"github.com/prebid/prebid-server/errortypes"
13-
"github.com/prebid/prebid-server/openrtb_ext"
10+
"github.com/prebid/prebid-server/v2/adapters"
11+
"github.com/prebid/prebid-server/v2/config"
12+
"github.com/prebid/prebid-server/v2/errortypes"
13+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1414
)
1515

1616
type TtxAdapter struct {

adapters/33across/33across_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package ttx
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
)
1010

1111
func TestJsonSamples(t *testing.T) {

adapters/33across/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
// This file actually intends to test static/bidder-params/33across.json

adapters/aax/aax.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ import (
77
"net/url"
88

99
"github.com/prebid/openrtb/v19/openrtb2"
10-
"github.com/prebid/prebid-server/adapters"
11-
"github.com/prebid/prebid-server/config"
12-
"github.com/prebid/prebid-server/errortypes"
13-
"github.com/prebid/prebid-server/openrtb_ext"
10+
"github.com/prebid/prebid-server/v2/adapters"
11+
"github.com/prebid/prebid-server/v2/config"
12+
"github.com/prebid/prebid-server/v2/errortypes"
13+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1414
)
1515

1616
type adapter struct {

adapters/aax/aax_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,9 @@ import (
55

66
"github.com/stretchr/testify/assert"
77

8-
"github.com/prebid/prebid-server/adapters/adapterstest"
9-
"github.com/prebid/prebid-server/config"
10-
"github.com/prebid/prebid-server/openrtb_ext"
8+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
9+
"github.com/prebid/prebid-server/v2/config"
10+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1111
)
1212

1313
func TestJsonSamples(t *testing.T) {

adapters/aax/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
// This file actually intends to test static/bidder-params/aax.json

adapters/aceex/aceex.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"text/template"
88

99
"github.com/prebid/openrtb/v19/openrtb2"
10-
"github.com/prebid/prebid-server/adapters"
11-
"github.com/prebid/prebid-server/config"
12-
"github.com/prebid/prebid-server/errortypes"
13-
"github.com/prebid/prebid-server/macros"
14-
"github.com/prebid/prebid-server/openrtb_ext"
10+
"github.com/prebid/prebid-server/v2/adapters"
11+
"github.com/prebid/prebid-server/v2/config"
12+
"github.com/prebid/prebid-server/v2/errortypes"
13+
"github.com/prebid/prebid-server/v2/macros"
14+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1515
)
1616

1717
type adapter struct {

adapters/aceex/aceex_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package aceex
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
"github.com/stretchr/testify/assert"
1010
)
1111

adapters/aceex/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
var validParams = []string{

adapters/acuityads/acuityads.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -7,11 +7,11 @@ import (
77
"text/template"
88

99
"github.com/prebid/openrtb/v19/openrtb2"
10-
"github.com/prebid/prebid-server/adapters"
11-
"github.com/prebid/prebid-server/config"
12-
"github.com/prebid/prebid-server/errortypes"
13-
"github.com/prebid/prebid-server/macros"
14-
"github.com/prebid/prebid-server/openrtb_ext"
10+
"github.com/prebid/prebid-server/v2/adapters"
11+
"github.com/prebid/prebid-server/v2/config"
12+
"github.com/prebid/prebid-server/v2/errortypes"
13+
"github.com/prebid/prebid-server/v2/macros"
14+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1515
)
1616

1717
type AcuityAdsAdapter struct {

adapters/acuityads/acuityads_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package acuityads
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
"github.com/stretchr/testify/assert"
1010
)
1111

adapters/acuityads/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
var validParams = []string{

adapters/adapterstest/test_json.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -12,9 +12,9 @@ import (
1212

1313
"github.com/mitchellh/copystructure"
1414
"github.com/prebid/openrtb/v19/openrtb2"
15-
"github.com/prebid/prebid-server/adapters"
16-
"github.com/prebid/prebid-server/currency"
17-
"github.com/prebid/prebid-server/openrtb_ext"
15+
"github.com/prebid/prebid-server/v2/adapters"
16+
"github.com/prebid/prebid-server/v2/currency"
17+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1818
"github.com/stretchr/testify/assert"
1919
"github.com/yudai/gojsondiff"
2020
"github.com/yudai/gojsondiff/formatter"

adapters/adf/adf.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,10 @@ import (
66
"net/http"
77

88
"github.com/prebid/openrtb/v19/openrtb2"
9-
"github.com/prebid/prebid-server/adapters"
10-
"github.com/prebid/prebid-server/config"
11-
"github.com/prebid/prebid-server/errortypes"
12-
"github.com/prebid/prebid-server/openrtb_ext"
9+
"github.com/prebid/prebid-server/v2/adapters"
10+
"github.com/prebid/prebid-server/v2/config"
11+
"github.com/prebid/prebid-server/v2/errortypes"
12+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1313
)
1414

1515
type adapter struct {

adapters/adf/adf_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package adf
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
)
1010

1111
func TestJsonSamples(t *testing.T) {

adapters/adf/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
// This file actually intends to test static/bidder-params/adf.json

adapters/adgeneration/adgeneration.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ import (
1111
"strings"
1212

1313
"github.com/prebid/openrtb/v19/openrtb2"
14-
"github.com/prebid/prebid-server/adapters"
15-
"github.com/prebid/prebid-server/config"
16-
"github.com/prebid/prebid-server/errortypes"
17-
"github.com/prebid/prebid-server/openrtb_ext"
14+
"github.com/prebid/prebid-server/v2/adapters"
15+
"github.com/prebid/prebid-server/v2/config"
16+
"github.com/prebid/prebid-server/v2/errortypes"
17+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1818
)
1919

2020
type AdgenerationAdapter struct {

adapters/adgeneration/adgeneration_test.go

+4-4
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ import (
55
"testing"
66

77
"github.com/prebid/openrtb/v19/openrtb2"
8-
"github.com/prebid/prebid-server/adapters"
9-
"github.com/prebid/prebid-server/adapters/adapterstest"
10-
"github.com/prebid/prebid-server/config"
11-
"github.com/prebid/prebid-server/openrtb_ext"
8+
"github.com/prebid/prebid-server/v2/adapters"
9+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
10+
"github.com/prebid/prebid-server/v2/config"
11+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1212
"github.com/stretchr/testify/assert"
1313
)
1414

adapters/adgeneration/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import (
44
"encoding/json"
55
"testing"
66

7-
"github.com/prebid/prebid-server/openrtb_ext"
7+
"github.com/prebid/prebid-server/v2/openrtb_ext"
88
)
99

1010
func TestValidParams(t *testing.T) {

adapters/adhese/adhese.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -11,11 +11,11 @@ import (
1111
"text/template"
1212

1313
"github.com/prebid/openrtb/v19/openrtb2"
14-
"github.com/prebid/prebid-server/adapters"
15-
"github.com/prebid/prebid-server/config"
16-
"github.com/prebid/prebid-server/errortypes"
17-
"github.com/prebid/prebid-server/macros"
18-
"github.com/prebid/prebid-server/openrtb_ext"
14+
"github.com/prebid/prebid-server/v2/adapters"
15+
"github.com/prebid/prebid-server/v2/config"
16+
"github.com/prebid/prebid-server/v2/errortypes"
17+
"github.com/prebid/prebid-server/v2/macros"
18+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1919
)
2020

2121
type AdheseAdapter struct {

adapters/adhese/adhese_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package adhese
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
"github.com/stretchr/testify/assert"
1010
)
1111

adapters/adhese/params_test.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import (
55
"fmt"
66
"testing"
77

8-
"github.com/prebid/prebid-server/openrtb_ext"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
)
1010

1111
func TestValidParams(t *testing.T) {

adapters/adkernel/adkernel.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"text/template"
99

1010
"github.com/prebid/openrtb/v19/openrtb2"
11-
"github.com/prebid/prebid-server/adapters"
12-
"github.com/prebid/prebid-server/config"
13-
"github.com/prebid/prebid-server/errortypes"
14-
"github.com/prebid/prebid-server/macros"
15-
"github.com/prebid/prebid-server/openrtb_ext"
11+
"github.com/prebid/prebid-server/v2/adapters"
12+
"github.com/prebid/prebid-server/v2/config"
13+
"github.com/prebid/prebid-server/v2/errortypes"
14+
"github.com/prebid/prebid-server/v2/macros"
15+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1616
)
1717

1818
type adkernelAdapter struct {

adapters/adkernel/adkernel_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package adkernel
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
"github.com/stretchr/testify/assert"
1010
)
1111

adapters/adkernelAdn/adkernelAdn.go

+5-5
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,11 @@ import (
88
"text/template"
99

1010
"github.com/prebid/openrtb/v19/openrtb2"
11-
"github.com/prebid/prebid-server/adapters"
12-
"github.com/prebid/prebid-server/config"
13-
"github.com/prebid/prebid-server/errortypes"
14-
"github.com/prebid/prebid-server/macros"
15-
"github.com/prebid/prebid-server/openrtb_ext"
11+
"github.com/prebid/prebid-server/v2/adapters"
12+
"github.com/prebid/prebid-server/v2/config"
13+
"github.com/prebid/prebid-server/v2/errortypes"
14+
"github.com/prebid/prebid-server/v2/macros"
15+
"github.com/prebid/prebid-server/v2/openrtb_ext"
1616
)
1717

1818
type adkernelAdnAdapter struct {

adapters/adkernelAdn/adkernelAdn_test.go

+3-3
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ package adkernelAdn
33
import (
44
"testing"
55

6-
"github.com/prebid/prebid-server/adapters/adapterstest"
7-
"github.com/prebid/prebid-server/config"
8-
"github.com/prebid/prebid-server/openrtb_ext"
6+
"github.com/prebid/prebid-server/v2/adapters/adapterstest"
7+
"github.com/prebid/prebid-server/v2/config"
8+
"github.com/prebid/prebid-server/v2/openrtb_ext"
99
"github.com/stretchr/testify/assert"
1010
)
1111

0 commit comments

Comments
 (0)