-
Notifications
You must be signed in to change notification settings - Fork 181
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
Rename integration to channel in account config tests #1605
Rename integration to channel in account config tests #1605
Conversation
459e658
to
00db932
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
First round
|
||
@ToString(includeNames = true, ignoreNulls = true) | ||
@JsonNaming(PropertyNamingStrategies.KebabCaseStrategy) | ||
class AccountCcpaConfig { | ||
|
||
Boolean enabled | ||
@JsonProperty("channel-enabled") | ||
Map<ChannelType, Boolean> enabledForRequestType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the underlying field too.
|
||
@ToString(includeNames = true, ignoreNulls = true) | ||
@JsonNaming(PropertyNamingStrategies.KebabCaseStrategy) | ||
class AccountGdprConfig { | ||
|
||
Boolean enabled | ||
@JsonProperty("channel-enabled") | ||
Map<ChannelType, Boolean> enabledForRequestType |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please rename the underlying property too.
src/test/groovy/org/prebid/server/functional/model/request/amp/AmpRequest.groovy
Show resolved
Hide resolved
@@ -29,14 +33,19 @@ class BidRequest { | |||
Regs regs | |||
BidRequestExt ext | |||
|
|||
static BidRequest getDefaultBidRequest() { | |||
static BidRequest getDefaultBidRequest(ChannelType channelType = WEB) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
channelType
-> channel
import org.testcontainers.containers.GenericContainer | ||
import org.testcontainers.containers.MySQLContainer | ||
import org.testcontainers.containers.wait.strategy.Wait | ||
|
||
import static org.prebid.server.functional.util.privacy.TcfConsent.RUBICON_VENDOR_ID |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bad place for this. This is only needed for Privacy tests. No point having it for everything.
"adapters.generic.endpoint" : "$host/auction" as String, | ||
"adapters.generic.usersync.url" : "$host/generic-usersync" as String, | ||
"adapters.generic.usersync.type": "redirect", | ||
"adapters.generic.meta-info.vendor-id": RUBICON_VENDOR_ID as String |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same. Looks like this shouldn't be here.
00db932
to
206cf6e
Compare
src/test/groovy/org/prebid/server/functional/tests/privacy/CcpaAmpSpec.groovy
Outdated
Show resolved
Hide resolved
src/test/groovy/org/prebid/server/functional/tests/privacy/CcpaAuctionSpec.groovy
Outdated
Show resolved
Hide resolved
src/test/groovy/org/prebid/server/functional/tests/privacy/CcpaAuctionSpec.groovy
Show resolved
Hide resolved
src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAuctionSpec.groovy
Outdated
Show resolved
Hide resolved
src/test/groovy/org/prebid/server/functional/tests/privacy/GdprAuctionSpec.groovy
Outdated
Show resolved
Hide resolved
src/test/groovy/org/prebid/server/functional/tests/privacy/PrivacyBaseSpec.groovy
Outdated
Show resolved
Hide resolved
206cf6e
to
e28faba
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
143261f
to
37c162f
Compare
37c162f
to
4c83e77
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Tests for #1558