-
Notifications
You must be signed in to change notification settings - Fork 190
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
Add functional tests for aligning TCF and tests for support transmitEids activity controls #2893
Merged
SerhiiNahornyi
merged 21 commits into
add-transmit-eids-activity
from
functional-tests/Aligning-TCF-and-Activity-Controls
Feb 29, 2024
Merged
Changes from 19 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
030675c
WIP
osulzhenko f9402e2
WIP
osulzhenko 90a51ce
Add functional tests for aligning TCF and activity controls and also …
osulzhenko 86355e7
Merge branch 'add-transmit-eids-activity' into functional-tests/Align…
osulzhenko e433aae
Merge branch 'add-transmit-eids-activity' into functional-tests/Align…
osulzhenko bbe60b1
Merge branch 'add-transmit-eids-activity' into functional-tests/Align…
osulzhenko 010be34
refactor full enforcement requirments for tcf
osulzhenko 85215c7
refactoring functional tests for tcf
osulzhenko 7e4bd4c
Merge branch 'add-transmit-eids-activity' into functional-tests/Align…
osulzhenko a205776
update tcf test cases
osulzhenko f23a2be
minor fix
osulzhenko 6a97a7a
Update TCF functional tests
osulzhenko 673b451
Minor update
osulzhenko 34dcc0a
Merge branch 'add-transmit-eids-activity' into functional-tests/Align…
osulzhenko 7ca04dd
Update after code review
osulzhenko 44e6549
Update after code review
osulzhenko d73655f
Update after code review
osulzhenko a8f62cc
Update after code review
osulzhenko 19558d4
Split tcf tests and minor fixes
osulzhenko 4e471ca
minor fix
osulzhenko e6f19df
minor update
osulzhenko File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
src/test/groovy/org/prebid/server/functional/model/config/PurposeEid.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
package org.prebid.server.functional.model.config | ||
|
||
import com.fasterxml.jackson.databind.PropertyNamingStrategies | ||
import com.fasterxml.jackson.databind.annotation.JsonNaming | ||
import groovy.transform.ToString | ||
|
||
@ToString(includeNames = true, ignoreNulls = true) | ||
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy) | ||
class PurposeEid { | ||
|
||
Boolean requireConsent | ||
List<String> exceptions | ||
Boolean activityTransition | ||
} |
23 changes: 23 additions & 0 deletions
23
src/test/groovy/org/prebid/server/functional/model/privacy/EnforcementRequirement.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
package org.prebid.server.functional.model.privacy | ||
|
||
import groovy.transform.ToString | ||
import org.prebid.server.functional.model.bidder.BidderName | ||
import org.prebid.server.functional.model.config.Purpose | ||
import org.prebid.server.functional.model.config.PurposeEnforcement | ||
import org.prebid.server.functional.util.privacy.TcfConsent | ||
|
||
@ToString(includeNames = true, ignoreNulls = true) | ||
class EnforcementRequirement { | ||
|
||
Purpose purpose | ||
PurposeEnforcement enforcePurpose | ||
Purpose purposeConsent | ||
Boolean enforceVendor | ||
Integer vendorConsentBitField | ||
Integer vendorLegitimateInterestBitField | ||
List<BidderName> vendorExceptions | ||
Purpose purposesLITransparency | ||
List<TcfConsent.RestrictionType> restrictionType | ||
Integer vendorIdGvl | ||
Integer vendorListVersion | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/test/groovy/org/prebid/server/functional/model/request/auction/Eid.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 2 additions & 0 deletions
2
src/test/groovy/org/prebid/server/functional/model/request/auction/Uid.groovy
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
Probably missing this configuration prebid/prebid-server#2904.
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.
link for the general page. But config is:
Did I miss something?
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.
I suppose this one
privacy.gdpr.purposes.p4.eid.activity_transition
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.
@marki1an added, thanks for notes