Redis: add support for username and sentinel username fields

オープン
#84 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る

@ddubson がすでに取り組んでいます。

2022年10月6日 から。

  • #85 @ddubson による — オープン

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
25/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
停滞
技術スタック
java, redis
領域
backend

調査の方向性

The Redis binding fields are declared in the Java source of spring-cloud-bindings, most likely in the Redis binding class that maps spring.redis.* properties. Read how the existing password and sentinel properties are mapped and add the username and sentinel username fields the same way. Issue #84 already has an open linked pull request (#85), so check that before starting; done means the three properties bind and tests cover them.

索引モデルが issue の本文から書いたものです。

説明

Current implementation of Redis bindings does not support the spring.redis.username and spring.redis.sentinel.username fields, however these fields, while optional, are critical for connecting to Redis services in many cases. For consistency, spring.redis.sentinel.password should also be bound.

Proposal

Add spring.redis.username to be bound to {username}
Add spring.redis.sentinel.username to be bound to {sentinel.username}
Add spring.redis.sentinel.password to be bound to {sentinel.password}

References

主要言語
Java
スター
50
フォーク
33
平均マージ
6日 2時間
マージ済み PR(30日)
2

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

spring-cloud/spring-cloud-bindings のほかの issue

spring-cloud/spring-cloud-bindings の issue をすべて見る

似ている issue

Java の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。