-
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
Turn off debugging by Publisher, by Bidder #1423
Conversation
# Conflicts: # src/main/java/org/prebid/server/proto/response/BidderInfo.java # src/main/java/org/prebid/server/spring/config/bidder/util/BidderInfoCreator.java # src/test/java/org/prebid/server/handler/CookieSyncHandlerTest.java # src/test/java/org/prebid/server/handler/info/BidderDetailsHandlerTest.java # src/test/java/org/prebid/server/validation/BidderParamValidatorTest.java
# Conflicts: # src/main/java/org/prebid/server/settings/model/Account.java # src/test/resources/org/prebid/server/it/test-app-settings.yaml
@@ -400,6 +400,7 @@ Let's assume following table schema for example: | |||
`price_granularity` enum('low','med','high','auto','dense','unknown') NOT NULL DEFAULT 'unknown', | |||
`banner_cache_ttl` int(11) DEFAULT NULL, | |||
`video_cache_ttl` int(11) DEFAULT NULL, | |||
`debug_allowed` bit(1) DEFAULT NULL, |
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.
This column should be omitted and can be stored asconfig.auction.debug-allowed
in config
JSON column.
final BidRequest bidRequest = auctionContext.getBidRequest(); | ||
final ExtRequestPrebid extRequestPrebid = getIfNotNull(bidRequest.getExt(), ExtRequest::getPrebid); | ||
|
||
final boolean publisherAllowed = isPublisherAllowed(auctionContext); |
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 use account
terminology instead of publisher
to be in one style with other code.
this.debugOverrideToken = debugOverrideToken; | ||
} | ||
|
||
public DebugContext getDebugContext(AuctionContext auctionContext) { |
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.
Minor. Consider to rename the method to debugContextFrom(..)
.
@@ -12,7 +12,12 @@ accounts: | |||
auction: | |||
events: | |||
enabled: true | |||
eventsEnabled: true |
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.
Pls don't forget to remove after master is merged.
See #1443 |
No description provided.