adorsys / adorsys/keycloak-config-cli

Implement a dry-run/check/plan mode

Đang mở
#1,645 0 bình luận 13 reaction 0 người được giao Xem trên GitHub
enhancement
Ngôn ngữ chính
Java
Star
1.2k
Fork
201
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

### Problem Statement

Hi.
We are considering using kecloak-config-cli to provision the huge amount of resources (realms, clients, scopes, flows…) in ou keycloak and would love to have a dry-run-like checking method.

So far we haven't found a smart way to see changes before they are actually applied.

### Proposed Solution

- implement a `--dry-run` flag

See this as an equivalent of:
- `ansible-playbook --check --diff`
- `terraform plan`

It shoud create a diff-like output showing changes (creates / deletes / updates) that should be performed

### Environment

- Keycloak Version: [26.1.5]
- keycloak-config-cli Version: [6.5.1]
- Java Version: [21]

### Additional information

_No response_

### Acceptance Criteria

As a user, the dry-run mode should display:
- changes that may occur without applying them if changes have been found
- no changes if current and desired state are the same (idempotence)

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.