Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Self destruct nodes #197

Closed
credmond-git opened this issue Jun 13, 2024 · 0 comments
Closed

Self destruct nodes #197

credmond-git opened this issue Jun 13, 2024 · 0 comments
Assignees
Milestone

Comments

@credmond-git
Copy link
Collaborator

Support nodes that release their value after reading them X times.

Add a new ConfigNodeProcessor that decorators a property based on several regex. The decorator counts the number of times the getValue has been called. If it is more than the X configured, it releases the node it decorates.

@credmond-git credmond-git self-assigned this Jun 22, 2024
credmond-git added a commit that referenced this issue Jun 24, 2024
feat: move ConfigNode processing to a new ConfigNodeProcessorService.
Order Config Node Processors.
Add a service interface for ObservationService and ResultProcessorService, so users can implement their own if they wish.
This is a Breaking change for the GestaltBuilder. It should impact very few people as i dont really expect many people to provide their own ObservationService, or ResultProcessorService and if they do it is an easy change.
Checks if the node is a leaf and a temporary secret. if it is, replaces the leaf node with a TemporaryLeafNode that can only be accessed a limited number of times. After the limited number of times, the value is released to be GC'ed. #197
@credmond-git credmond-git added this to the Gestalt 1.0 milestone Jul 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant