How to initiate a Service with a random generated value at runtime without loosing the snapshot feature? #5652
Unanswered
reda-alaoui
asked this question in
Q&A
Replies: 1 comment 2 replies
-
|
Hi @reda-alaoui, I think there is a way of doing it. You could explore how the "Randomize Password" works in the FileSystemKeystore management: This feature generates a random password, changes it over the keystore and updates the password field on the snapshot accordingly. The source for the whole component is here However, such feature is very specific, I would advise to be very sure that there is no better (or simpler) way of doing it. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I have a service that needs a random value to operate. I want this random value to be part of the service configuration. I also want this value to be restorable via snapshots.
I can't manage to achieve both for now.
Beta Was this translation helpful? Give feedback.
All reactions