IronCoreLabs / IronCoreLabs/tenant-security-client-java
Add an `isTransient()` or something similar to `TenantSecurityException`
- Ngôn ngữ chính
- Java
- Star
- 3
- Fork
- 4
- Merge trung bình
- 50 phút
- Pull request đã merge (30 ngày)
- 4
Mô tả
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.
Hướng dẫn đóng góp
Hướng nghiên cứu
Bắt đầu với src/main/java/com/ironcorelabs/tenantsecurity/kms/v1/exception/TenantSecurityException.java và xem xét cách các exception của nó biểu diễn các lỗi. Xác định những lỗi nào nên được coi là có thể thử lại, bao gồm cả lỗi xác thực KMS vốn là một trường hợp ranh giới, và làm rõ hành vi sau khi hoàn tất cho người dùng thư viện.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Đánh giá
- Công nghệ
- java
- Lĩnh vực
- security
- Loại issue
- Tính năng
- Độ khó
- 5/5
- Thời gian dự kiến
- Hơn một tuần
- Mức độ hoạt động
- Đình trệ
- Độ rõ ràng
- Khá rõ ràng
- Mức phù hợp với người mới
- 25/100