-
Notifications
You must be signed in to change notification settings - Fork 8.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[FAB-5814] Make policies.Manager immutable
In this change series to make the channel config immutable, up until now, the focus has been on removing dependencies on the conflation between the configtx authorization and the config parsing. The real payoff however is in removing the complicated state tracking logic from all of the assorted mutable components. This CR tackles the policies.ManagerImpl, which traditionally must maintain a map of pending changes, create multiple implementations of the manager, then stitch them together into a working hierarchy on commit. This is a great example of the simpliciation which comes from not treating these structures mutably, as the complexity is lowered substantially. This also means that the temporary "poor man's policy parsing" may be removed. Change-Id: Ia5d0f507730fe5a230ddff1b7e987cdced460790 Signed-off-by: Jason Yellick <jyellick@us.ibm.com>
- Loading branch information
Jason Yellick
committed
Aug 30, 2017
1 parent
116e3f0
commit f3600cc
Showing
9 changed files
with
208 additions
and
426 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.