-
Notifications
You must be signed in to change notification settings - Fork 3
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
UID2-2832 change domain name to domain or app name #59
UID2-2832 change domain name to domain or app name #59
Conversation
…nd BidstreamClient decrypt methods
src/UID2.Client/Site.cs
Outdated
@@ -10,7 +10,7 @@ internal class Site | |||
public Site(int id, IEnumerable<string> domainNames) | |||
{ | |||
Id = id; | |||
_domainNames = new HashSet<string>(domainNames, StringComparer.OrdinalIgnoreCase); | |||
_domainNames = new HashSet<string>(domainNames); |
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 did not change the variable name and method name inside the site class because the json format site_data
has the field called domain_names
@@ -16,7 +16,7 @@ public enum DecryptionStatus | |||
/// DSPs are still expected to check their records for user opt out, even when this status is not returned | |||
/// </summary> | |||
UserOptedOut, | |||
DomainNameCheckFailed, | |||
DomainOrAppNameCheckFailed, |
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.
will this break consuming code? such as found in gitlab
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.
there will be changes required there as we upgrade it to use this version of SDK. tho probably we should check with @vishalegbert-ttd @gmsdelmundo if we change this status, do we need to make further changes in other source codes e.g. spark jobs
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.
From the discussion in the slack, we can keep this change.
domainName
todomainOrAppName
and correspond methods, tests and DecryptionStatus' name.