Skip to content

fix: marketo bulk upload refactor - #2505

Merged
shrouti1507 merged 21 commits into
fix.mb-uploadfrom
fix.mb-upload-review
Aug 25, 2023
Merged

shrouti1507 merged 21 commits into
fix.mb-uploadfrom
fix.mb-upload-review

Conversation

@shrouti1507

@shrouti1507 shrouti1507 commented Aug 22, 2023 •

Copy link
Copy Markdown
Contributor

Description of the change

resolves INT-157
raised based on changes suggested for PR: #2414

Description here

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

@shrouti1507
shrouti1507 requested review from a team as code owners August 22, 2023 09:58
@shrouti1507
shrouti1507 requested review from sanpj2292 and ujjwal-ab and removed request for a team August 22, 2023 09:58
@shrouti1507
shrouti1507 marked this pull request as draft August 22, 2023 09:58
@codecov

codecov Bot commented Aug 23, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 75.51% and project coverage change: +0.22% 🎉

Comparison is base (d4edca5) 86.61% compared to head (a6366ea) 86.83%.

Additional details and impacted files
@@                Coverage Diff                @@
##           fix.mb-upload    #2505      +/-   ##
=================================================
+ Coverage          86.61%   86.83%   +0.22%     
=================================================
  Files                563      564       +1     
  Lines              27960    27809     -151     
  Branches            6684     6633      -51     
=================================================
- Hits               24218    24149      -69     
+ Misses              3391     3324      -67     
+ Partials             351      336      -15     
Files Changed Coverage Δ
src/util/prometheus.js 7.07% <ø> (ø)
...destinations/marketo_bulk_upload/fetchJobStatus.js 58.90% <66.66%> (+18.76%) ⬆️
src/v0/destinations/marketo_bulk_upload/util.js 69.56% <68.29%> (+17.18%) ⬆️
src/v0/destinations/marketo_bulk_upload/poll.js 88.63% <81.81%> (+10.06%) ⬆️
.../v0/destinations/marketo_bulk_upload/fileUpload.js 81.37% <85.71%> (+3.83%) ⬆️
src/v0/destinations/marketo_bulk_upload/config.js 100.00% <100.00%> (ø)

... and 14 files with indirect coverage changes

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

@shrouti1507 shrouti1507 changed the title fix: initial commit fix: marketo bulk upload refactor Aug 23, 2023
@shrouti1507 shrouti1507 self-assigned this Aug 23, 2023
@shrouti1507
shrouti1507 marked this pull request as ready for review August 23, 2023 11:22
@sonarqubecloud

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

83.2% 83.2% Coverage
11.0% 11.0% Duplication

@shrouti1507
shrouti1507 merged commit 20419d7 into fix.mb-upload Aug 25, 2023
shrouti1507 added a commit that referenced this pull request Sep 4, 2023
* fix marketo bulk upload

* fix: marketo bulk upload poll

* fix: review comments addressed

* fix: marketo fixes

* fix: marketo fixes

* fix: marketo fixes

* fix: marketo bugs

* fix: edit marketo error handling

* fix: adding comments and refs

* fix: prometheus tags and labels

* fix: adding default status code for poll

* fix: fixing resp parsing

* fix: update prometheus.js

* fix: marketo bulk upload refactor (#2505)

* fix: initial commit

* fix: initial commit

* fix: small edit

* fix: small edit

* fix: small edit

* fix: edit part 2

* fix: bug fix

* fix: small edit

* fix: refactor

* fix: small fix

* fix: file upload related review comments

* fix: adding function doc strings

* fix: adding error message in getImportId

* fix: deduplication of code

* fix: bug fixes

* fix: review address

* fix: handling warning jobs

* fix: adding test cases

* fix: adding doc string

* fix: making the job status response server competent

* fix: review comments addressed

* chore: clean up

* fix: review comments addressed

* fix: review comments addressed

* fix: bug

* fix: bug

* fix: refactor, sonar issue solve and formatting

* fix: the data type check for fetch job status

* fix: comment delete

* fix: comment delete

* fix: issue solve

* fix: review comments address part 1

* fix: review comments address part 2

* fix: review comments address part 3

* fix: update status code for 4XX scenarios

* fix: the poll activity stat

* fix: the poll status return and code clean up

* fix: update error handling

* fix: test cases fix

---------

Co-authored-by: shrouti1507 <[email protected]>
Co-authored-by: shrouti1507 <[email protected]>
Co-authored-by: Chandra shekar Varkala <[email protected]>
@devops-github-rudderstack
devops-github-rudderstack deleted the fix.mb-upload-review branch November 26, 2023 01:28
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.

1 participant