Access policies should be cached for x amount of time in case the oracle service goes down. This is to make sure that Tequilapi consumers don't lose the ability to select the whitelists (which won't change that often).
AC:
- Tequilapi /access-policies serves cached access policies
- Service start with policyId should check cache if that ID exists, if not (or so) it should try to fetch the policies.
Access policies should be cached for x amount of time in case the oracle service goes down. This is to make sure that Tequilapi consumers don't lose the ability to select the whitelists (which won't change that often).
AC: