adorsys / keycloak-config-cli

Import YAML/JSON-formatted configuration files into Keycloak - Configuration as Code for Keycloak.
Apache License 2.0
734 stars 138 forks source link

Re-add information lost in recent formatting update of the README #714

Closed jack1902 closed 2 years ago

jack1902 commented 2 years ago

Problem Statement

previous iterations of the README.md had a snippet about --import.force but this is no longer present, I can see it got dropped in this commit: https://github.com/adorsys/keycloak-config-cli/commit/c1f8a97eb272cae608339fad8dec0a09dea7bc85 and this PR: https://github.com/adorsys/keycloak-config-cli/pull/677

Proposed Solution

Re-add information around --import.force (i believe it is still a thing but from the docs it is unclear what it is)

Environment

Additional information

No response

Acceptance Criteria

st3v0rr commented 2 years ago

Hi @jack1902 , as you already mentioned we removed the property with the latest releases since v5.0.0 If you are using an older version the docs are still reachable in the v4.9.0 tag.

https://github.com/adorsys/keycloak-config-cli/tree/v4.9.0

Due to an easier maintenance of this project we try to avoid keeping no longer available features in the main branch.

jack1902 commented 2 years ago

Ah ok, apologies, I thought it was still an option within the project. I'm assuming force happens now regardless?

st3v0rr commented 2 years ago

The new property is import.cache.enabled. If you set it to false (is true by default) the behavior should be the same as setting import.force to true in v4.9.0 and earlier.