Skip to content
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

Closed
wants to merge 19 commits into from
Closed

Conversation

And1sS
Copy link
Member

@And1sS And1sS commented Aug 12, 2021

No description provided.

@And1sS And1sS added the work in progress Signals not finished work label Aug 12, 2021
And1sS added 12 commits August 12, 2021 16:29
# 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
@And1sS And1sS removed the work in progress Signals not finished work label Aug 16, 2021
And1sS added 2 commits August 21, 2021 23:07
# 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,
Copy link
Contributor

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);
Copy link
Contributor

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) {
Copy link
Contributor

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
Copy link
Contributor

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.

@And1sS And1sS closed this Aug 26, 2021
@rpanchyk
Copy link
Contributor

See #1443

@rpanchyk rpanchyk deleted the turn-off-debugging branch September 17, 2021 09:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants