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

[STRATCONN-5445] - Fixes process consent casing in DV360 Actions #2712

Merged
merged 4 commits into from
Feb 4, 2025

Conversation

varadarajan-tw
Copy link
Contributor

@varadarajan-tw varadarajan-tw commented Jan 29, 2025

This PR changes casing of process consent boolean flag from snake case to camel case so that it gets processed by protobuf lib properly. Currently our customers have raised concerns that process consent flag is not being set properly (JIRA).

Probuf lib we use expect us to use lowerCamelCase for fields (ref).

Testing

Tested successfully in staging for positive scenario

image

Added unit tests to ensure processConsent is set. Similar toBinary, toJSON serializes class based on contract.

Before
toJSON didn't include processConsent
image

After
toJSON includes processConsent
image

This change is not expected to cause any regression as this feature wasn't working before.

  • Added unit tests for new functionality
  • Tested end-to-end using the local server
  • [If destination is already live] Tested for backward compatibility of destination. Note: New required fields are a breaking change.
  • [Segmenters] Tested in the staging environment
  • [Segmenters] [If applicable for this change] Tested for regression with Hadron.

Copy link

codecov bot commented Feb 3, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 78.50%. Comparing base (52537f3) to head (11351bf).
Report is 9 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2712      +/-   ##
==========================================
+ Coverage   78.46%   78.50%   +0.03%     
==========================================
  Files        1036     1036              
  Lines       18771    18772       +1     
  Branches     3561     3561              
==========================================
+ Hits        14729    14737       +8     
+ Misses       2844     2836       -8     
- Partials     1198     1199       +1     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@varadarajan-tw varadarajan-tw marked this pull request as ready for review February 4, 2025 10:04
@varadarajan-tw varadarajan-tw requested a review from a team as a code owner February 4, 2025 10:04
@maryamsharif maryamsharif merged commit 3940246 into main Feb 4, 2025
14 checks passed
@maryamsharif maryamsharif deleted the STRATCONN-5445-dv360 branch February 4, 2025 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants