Skip to content

feat(zendesk): add source field mapping - #2455

Merged
Gauravudia merged 3 commits into
developfrom
feat/zendesk-source-mapping
Aug 9, 2023
Merged

Gauravudia merged 3 commits into
developfrom
feat/zendesk-source-mapping

Conversation

@Gauravudia

@Gauravudia Gauravudia commented Aug 8, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

  • The source name is now fetched from the config, if available.
  • If the source is not provided in the configuration, a default value of Rudder will be used as the source.

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

@Gauravudia
Gauravudia requested a review from a team as a code owner August 8, 2023 15:07
@Gauravudia Gauravudia self-assigned this Aug 8, 2023
@Gauravudia Gauravudia added the enhancement New feature or request label Aug 8, 2023
@Gauravudia Gauravudia changed the title feat(zendesk): add source name setting feat(zendesk): add source field mapping Aug 8, 2023
@codecov

codecov Bot commented Aug 8, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and no project coverage change.

Comparison is base (ec80855) 86.60% compared to head (9971674) 86.61%.
Report is 1 commits behind head on develop.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2455   +/-   ##
========================================
  Coverage    86.60%   86.61%           
========================================
  Files          556      557    +1     
  Lines        27773    27782    +9     
  Branches      6650     6652    +2     
========================================
+ Hits         24053    24062    +9     
  Misses        3365     3365           
  Partials       355      355           
Files Changed Coverage Δ
...ntegrations/destinations/zendesk/processor/data.ts 100.00% <ø> (ø)
src/v0/destinations/zendesk/transform.js 89.67% <100.00%> (+0.06%) ⬆️
src/v0/destinations/zendesk/util.js 100.00% <100.00%> (ø)

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

@linear

linear Bot commented Aug 8, 2023

Copy link
Copy Markdown

koladilip
koladilip previously approved these changes Aug 8, 2023
@rudderlabs rudderlabs deleted a comment from linear Bot Aug 8, 2023

@anantjain45823 anantjain45823 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

What happens if source is an empty string. Can we add a test case for that please

@sonarqubecloud

sonarqubecloud Bot commented Aug 9, 2023

Copy link
Copy Markdown

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 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.17) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@Gauravudia
Gauravudia merged commit 0fcc00a into develop Aug 9, 2023
Gauravudia added a commit that referenced this pull request Aug 14, 2023
* feat(zendesk): add source name setting

* chore: update component test case

* chore: add unit test case
Gauravudia added a commit that referenced this pull request Aug 14, 2023
* feat(zendesk): add source name setting

* chore: update component test case

* chore: add unit test case
@devops-github-rudderstack
devops-github-rudderstack deleted the feat/zendesk-source-mapping branch November 10, 2023 01:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request Ready for Review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants