Skip to content
This repository has been archived by the owner on Sep 26, 2019. It is now read-only.

[NC-1968] Permissioning whitelist persistence. #763

Merged
merged 5 commits into from
Feb 11, 2019

Conversation

mark-terry
Copy link
Contributor

PR description

Implemented functionality to persist permissioning whitelists across restarts.

Fixed Issue(s)

Fixes #NC-1968

@mark-terry mark-terry changed the title Nc 1968 update [NC-1968] Permissioning whitelist persistence. Feb 4, 2019
.collect(Collectors.toList());
}

Files.write(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could it happen that the remove file.write succeeds but the add fails?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Updating the PR with checks for this case. 👍

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR has been updated to include config file state verification, which verifies the before and after state and will (at least attempt to) revert to the before state if the operation fails.

Copy link
Contributor

@lucassaldanha lucassaldanha left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm happy with the changes.

@mark-terry mark-terry merged commit d6bfbdb into PegaSysEng:master Feb 11, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants