Skip to content

fix: use redisconnector authenticate method#17

Merged
wakonig merged 1 commit intomainfrom
fix/redis_auth
Nov 14, 2025
Merged

fix: use redisconnector authenticate method#17
wakonig merged 1 commit intomainfrom
fix/redis_auth

Conversation

@wakonig
Copy link
Copy Markdown
Member

@wakonig wakonig commented Nov 14, 2025

Now that we have the authenticate method as public method on the RedisConnector, we should use it in bec atlas.

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 14, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

This PR refactors the Redis authentication in RedisDatasource to use the newly public authenticate() method from RedisConnector instead of directly calling the internal _redis_conn.auth() method, improving encapsulation and API usage.

  • Replaced direct _redis_conn.auth() calls with connector.authenticate() method
  • Removed manual setting of connection pool credentials (username/password)
  • Maintained the same authentication flow with ACL setup retry on failure

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread backend/bec_atlas/datasources/redis_datasource.py
@wakonig wakonig merged commit 53319ec into main Nov 14, 2025
25 of 27 checks passed
@github-actions
Copy link
Copy Markdown

🎉 This PR is included in version 1.0.0 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants