Skip to content

Commit

Permalink
Tests: Support testing the USGen privacy module (#3722)
Browse files Browse the repository at this point in the history
* Add functional tests for GPP USNat v2
  • Loading branch information
osulzhenko authored Feb 6, 2025
1 parent 190a070 commit f3cd04d
Show file tree
Hide file tree
Showing 5 changed files with 309 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ class AccountGppConfig {

PrivacyModule code
Boolean enabled
Integer skipRate
GppModuleConfig config
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ class ActivityInfrastructure {
RuleConfiguration ruleConfiguration
Boolean allowByDefault
Boolean allowed
String result
RuleResult result
String region
String country
}
Original file line number Diff line number Diff line change
@@ -1,11 +1,18 @@
package org.prebid.server.functional.model.response.auction

import com.fasterxml.jackson.databind.PropertyNamingStrategies
import com.fasterxml.jackson.databind.annotation.JsonNaming
import groovy.transform.EqualsAndHashCode
import groovy.transform.ToString
import org.prebid.server.functional.model.request.auction.PrivacyModule

@ToString(includeNames = true, ignoreNulls = true)
@EqualsAndHashCode
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy)
class And {

List<String> and
PrivacyModule privacyModule
Boolean skipped
RuleResult result
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
package org.prebid.server.functional.model.response.auction

enum RuleResult {

ALLOW, DISALLOW, ABSTAIN
}
Loading

0 comments on commit f3cd04d

Please sign in to comment.