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

UID2-2832 change domain name to domain or app name #59

Merged

Conversation

caroline-ttd
Copy link
Contributor

@caroline-ttd caroline-ttd commented Apr 29, 2024

  1. Changed domainName to domainOrAppName and correspond methods, tests and DecryptionStatus' name.
  2. Added unit tests.
  3. update readme.

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

@caroline-ttd caroline-ttd Apr 29, 2024

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

@jon8787 jon8787 May 1, 2024

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

Copy link
Contributor

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

Copy link
Contributor Author

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.

@caroline-ttd caroline-ttd merged commit b590d4b into main May 3, 2024
3 checks passed
@caroline-ttd caroline-ttd deleted the ccm-UID2-2832-change-domain-name-to-domain-or-app-name branch May 3, 2024 22:41
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.

3 participants