Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,18 @@ abstract class RuleEngineBaseSpec extends ModuleBaseSpec {
"adapters.${GENERIC.value}.usersync.redirect.url" : USER_SYNC_URL,
"adapters.${GENERIC.value}.usersync.redirect.support-cors": false as String,
"adapters.${GENERIC.value}.meta-info.vendor-id" : GENERIC_VENDOR_ID as String]
protected static final PrebidServerService pbsServiceWithRulesEngineModule = pbsServiceFactory.getService(GENERIC_CONFIG +
getRulesEngineSettings() + AMX_CONFIG + OPENX_CONFIG + OPENX_ALIAS_CONFIG + ['datacenter-region': CONFIG_DATA_CENTER] +
ENABLED_DEBUG_LOG_MODE)
private static final Map<String, String> PBS_CONFIG = GENERIC_CONFIG + rulesEngineSettings + AMX_CONFIG +
OPENX_CONFIG + OPENX_ALIAS_CONFIG + ['datacenter-region': CONFIG_DATA_CENTER] + ENABLED_DEBUG_LOG_MODE

protected static PrebidServerService pbsServiceWithRulesEngineModule

def setupSpec() {
pbsServiceWithRulesEngineModule = pbsServiceFactory.getService(PBS_CONFIG)
}

def cleanupSpec() {
pbsServiceFactory.removeContainer(PBS_CONFIG)
}

protected static BidRequest getDefaultBidRequestWithMultiplyBidders(DistributionChannel distributionChannel = SITE) {
BidRequest.getDefaultBidRequest(distributionChannel).tap {
Expand Down
Loading