Skip to content

fix: salesforce transformer proxy response handling issue for authorization flow - #2873

Merged
utsabc merged 5 commits into
hotfix/dec.05from
fix.salesforce-responsehandlingIssue
Dec 5, 2023
Merged

utsabc merged 5 commits into
hotfix/dec.05from
fix.salesforce-responsehandlingIssue

Conversation

@shrouti1507

@shrouti1507 shrouti1507 commented Dec 5, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

Salesforce network handler was not sending authorizationFlow variable. We have added logic to set it. Also handled it specifically for salesforce ouath version, inside the responseHandler function

resolves INT-1127

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

@coderabbitai

coderabbitai Bot commented Dec 5, 2023

Copy link
Copy Markdown
Contributor

Important

Auto Review Skipped

Auto reviews are disabled on this repository.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository.

To trigger a single review, invoke the @coderabbitai review command.


Tips

Chat with CodeRabbit Bot (@coderabbitai)

  • If you reply to a review comment from CodeRabbit, the bot will automatically respond.
  • To engage with CodeRabbit bot directly around the specific lines of code in the PR, mention @coderabbitai in your review comment
  • Note: Review comments are made on code diffs or files, not on the PR overview.
  • Add @coderabbitai ignore anywhere in the PR description to prevent this PR from being reviewed.

CodeRabbit Commands (invoked as PR comments)

  • @coderabbitai pause to pause the reviews on a PR.
  • @coderabbitai resume to resume the paused reviews.
  • @coderabbitai review to trigger a review. This is useful when automatic reviews are disabled for the repository.
  • @coderabbitai resolve resolve all the CodeRabbit review comments.
  • @coderabbitai help to get help.

Note: For conversation with the bot, please use the review comments on code diffs or files.

CodeRabbit Configration File (.coderabbit.yaml)

  • You can programmatically configure CodeRabbit by adding a .coderabbit.yaml file to the root of your repository.
  • The JSON schema for the configuration file is available here.
  • If your editor has YAML language server enabled, you can add the path at the top of this file to enable auto-completion and validation: # yaml-language-server: $schema=https://coderabbit.ai/integrations/coderabbit-overrides.v2.json

@shrouti1507
shrouti1507 marked this pull request as ready for review December 5, 2023 09:48
@shrouti1507
shrouti1507 requested review from a team and sivashanmukh as code owners December 5, 2023 09:48
@shrouti1507
shrouti1507 requested review from a team, sandeepdsvs and utsabc and removed request for a team December 5, 2023 09:48
@shrouti1507 shrouti1507 changed the title Fix.salesforce responsehandling issue fix: salesforce responsehandling issue Dec 5, 2023
Comment thread src/v0/destinations/salesforce/utils.js Resolved
@shrouti1507 shrouti1507 changed the title fix: salesforce responsehandling issue fix: salesforce transformer proxy response handling issue for authorization flow Dec 5, 2023
Comment thread src/v0/destinations/salesforce/utils.js Resolved
chore: add date mock to fix timestamp validation
@shrouti1507
shrouti1507 requested a review from a team as a code owner December 5, 2023 12:02
@sonarqubecloud

sonarqubecloud Bot commented Dec 5, 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 1 Code Smell

64.3% 64.3% Coverage
0.5% 0.5% Duplication

@codecov

codecov Bot commented Dec 5, 2023

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

❗ No coverage uploaded for pull request base (hotfix/dec.05@4bde435). Click here to learn what that means.

Additional details and impacted files
@@               Coverage Diff                @@
##             hotfix/dec.05    #2873   +/-   ##
================================================
  Coverage                 ?   87.09%           
================================================
  Files                    ?      769           
  Lines                    ?    28668           
  Branches                 ?     6725           
================================================
  Hits                     ?    24969           
  Misses                   ?     3356           
  Partials                 ?      343           

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

@utsabc
utsabc merged commit 4cec65e into hotfix/dec.05 Dec 5, 2023
@shrouti1507 shrouti1507 self-assigned this Dec 6, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the fix.salesforce-responsehandlingIssue branch March 6, 2024 01:22
@shrouti1507 shrouti1507 mentioned this pull request Oct 3, 2024
5 of 10 tasks
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.

5 participants