IronCoreLabs / IronCoreLabs/tenant-security-client-java

Add an `isTransient()` or something similar to `TenantSecurityException`

オープン
#75 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
Java
スター
3
フォーク
4
平均マージ
50分
マージ済み PR(30日)
4

説明

Adding an `isTransient()` method to [TenantSecurityException](https://github.com/IronCoreLabs/tenant-security-client-java/blob/59f06568cfc6b4ea5b3e0ba7d21a55dc37372500/src/main/java/com/ironcorelabs/tenantsecurity/kms/v1/exception/TenantSecurityException.java#L12) would make it a lot more convenient for consumers of the library to know if they should retry an operation or not.

The major unknown would be what to do for things that are on the borderline, like a KMS auth error, which may go away on retry if the tenant happens to change something on the KMS side, but likely won't until a later time.

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

Start with src/main/java/com/ironcorelabs/tenantsecurity/kms/v1/exception/TenantSecurityException.java and review how its exceptions represent failures. Define which failures should be considered retryable, including the borderline KMS authentication error, and make the completed behavior clear for library consumers.

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

評価

技術スタック
java
領域
security
issue の種類
機能追加
難易度
5/5
見積もり時間
1週間以上
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
25/100

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

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