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

fix: record to audience handling #2813

Merged

Conversation

utsabc
Copy link
Member

@utsabc utsabc commented Nov 9, 2023

Description of the change

Handle for transformation flow for record to audiencelist type

Type of change

  • Bug fix (non-breaking change that fixes an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)

Related issues

Fix #1

Checklists

Development

  • Lint rules pass locally
  • The code changed/added as part of this pull request has been covered with tests
  • All tests related to the changed code pass in development

Code review

  • This pull request has a descriptive title and information useful to a reviewer. There may be a screenshot or screencast attached
  • "Ready for review" label attached to the PR and reviewers mentioned in a comment
  • Changes have been reviewed by at least one other engineer
  • Issue from task tracker has a link to this pull request

@utsabc utsabc requested review from a team and sivashanmukh as code owners November 9, 2023 14:12
@utsabc utsabc changed the base branch from develop to feat.onboard.record.event.support.msl November 9, 2023 14:12
Copy link

codecov bot commented Nov 21, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (feat.onboard.record.event.support.msl@761a1f8). Click here to learn what that means.

Additional details and impacted files
@@                           Coverage Diff                            @@
##             feat.onboard.record.event.support.msl    #2813   +/-   ##
========================================================================
  Coverage                                         ?   87.22%           
========================================================================
  Files                                            ?      774           
  Lines                                            ?    28606           
  Branches                                         ?     6670           
========================================================================
  Hits                                             ?    24952           
  Misses                                           ?     3317           
  Partials                                         ?      337           

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

Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 18 Code Smells

91.3% 91.3% Coverage
3.8% 3.8% Duplication

Comment on lines +11 to +12
transformAt: 'processor',
transformAtV1: 'processor',
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change this to router

const DEST_OBJECT = {
ID: '1zwa1wKshSt81YksKmUdJnr4IOK',
Name: 'test_marketo_rc',
DestinationDefinition: {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not use DEST_DEFINITION here?

transformAt: 'processor',
transformAtV1: 'processor',
},
Config: {
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same here why not use DEST_CONFIG

@utsabc utsabc merged commit 996dcc8 into feat.onboard.record.event.support.msl Nov 22, 2023
16 checks passed
yashasvibajpai added a commit that referenced this pull request Dec 11, 2023
* feat: onboard msl changes for new record event

* chore: remove older tc for MSL

* fix: metadata

* fix: metadatax2

* chore: address comments

* chore: address commentsx2, handle mix of audiencelist and record events

* chore: address commentsx2, handle mix of audiencelist and record events

* chore: add router test

* fix: record to audience handling (#2813)

* fix: unit case with empty request

* fix: missed error lib

* chore: refactor tests

* refactor: address comments

* chore: address commentsx2

* fix: error message, handle metadata, missing id

---------

Co-authored-by: Utsab Chowdhury <[email protected]>
@yashasvibajpai yashasvibajpai deleted the fix.record-to-audience-handling branch December 13, 2023 14:47
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