Skip to content

chore: update redis connector with tls object - #2236

Merged
krishna2020 merged 4 commits into
developfrom
chore/redisRBAC
Jun 7, 2023
Merged

krishna2020 merged 4 commits into
developfrom
chore/redisRBAC

Conversation

@anantjain45823

Copy link
Copy Markdown
Contributor

Description of the change

We are migrating redis cluster and for the same we are now enabling RBAC authentication.
This PR contains changes required for the RBAC authentication to take place when transformer is trying to establish a connection with redis.
Also with this implementation there is an increase in connection establishment time for which we increased the timeout for connection by 20%.

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

@codecov

codecov Bot commented Jun 5, 2023 •

Copy link
Copy Markdown

Codecov Report

Patch coverage: 100.00% and project coverage change: +2.54 🎉

Comparison is base (52019ac) 86.15% compared to head (fcffb1d) 88.69%.

❗ Current head fcffb1d differs from pull request most recent head d816e02. Consider uploading reports for the commit d816e02 to get more accurate results

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #2236      +/-   ##
===========================================
+ Coverage    86.15%   88.69%   +2.54%     
===========================================
  Files          497      510      +13     
  Lines        25452    25839     +387     
  Branches      6289     6341      +52     
===========================================
+ Hits         21928    22919     +991     
+ Misses        3114     2608     -506     
+ Partials       410      312      -98     
Impacted Files Coverage Δ
src/util/redis/redisConnector.js 94.36% <100.00%> (+83.09%) ⬆️

... and 60 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment thread src/util/redis/redisConnector.js Resolved
@sonarqubecloud

sonarqubecloud Bot commented Jun 7, 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

0.0% 0.0% Coverage
0.0% 0.0% Duplication

@krishna2020
krishna2020 merged commit 672908c into develop Jun 7, 2023
@devops-github-rudderstack
devops-github-rudderstack deleted the chore/redisRBAC branch September 8, 2023 01:23
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.

5 participants