Refactor PolicyRepository abstraction
trumpyla opened this issue · comments
Policy repository needs to be split to the following components:
- In memory policy index with quick, no-lock query functionality
- PolicySource - a policy source can be immutable for example policies from class path and mutable for example policies stored in MongoDB or LDAP. Policy source should support some sort of pull or push to receive changes from the policy source