question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

documentation / help for running idempodent configs - checksum question

See original GitHub issue

Hi,

is there any help or documentation if I want to achieve idempodent configuration provision of the cli tool?

For example, it detects that my realms are existing and no actions are done, but it always says it updates my realm clients, roles and users I present in the JSONs.

What is the checksum used for?

For example, the cli tool logs:

2020-03-04 07:40:48.273 DEBUG 178 --- [ main] d.a.k.config.service.RealmImportService : No need to update realm 'master', import checksum same: '324a31eb1912f70114550e958134e667391266facd618769646d799372bc3e58931d93f020d88e60aed9fd28be65490fb5800d43ae7aee6d0ff993a19b765a61'

Question:

Does the script names have any semantics or processing order?

Would it be possible that script names could have semantics, for example like in flyway (except that you don’t store the state anywhere)

So that you could define

  • Repeatable scripts
  • Policy (Create if not exists, Update, Create once)
  • Processing order with number

I am using docker image adorsys/keycloak-config-cli:v0.8.0-7.0.0

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:10 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
jkroepkecommented, Mar 8, 2020

No restrictions from keycloak-config-cli. But the import REST API lacks sometimes. Some settings needs custom handing

Looks like there is no update mechansim.

0reactions
erkkikeranencommented, Mar 11, 2020

Hi, I can confirm the change is able to update my identity provider config. Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to test idempotency with chefspec - Stack Overflow
This would work cleanly for a file resource like the one you described in your question. However if the action is :create and...
Read more >
Kafka 3.3 Documentation
Idempotence for the producer is enabled by default if no conflicting configurations are set. When producing to brokers older than 2.8.0, ...
Read more >
13 Best Practices for using Helm - Coder Society
This article features 13 best practices for creating Helm charts to manage your applications running in Kubernetes.
Read more >
Idempotency for StartSnapshot API - AWS Documentation
Idempotency ensures that an API request completes only once. With an idempotent request, if the original request completes successful, the subsequent retries ...
Read more >
Spring Batch - Reference Documentation
To help design and implement batch systems, basic batch application building ... This is not a problem as long as the jobs are...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found