Add partition cache strategy (GONRG-6708)
Description:
Сaching strategies EXPIRE_AFTER_WRITE and EXPIRE_AFTER_ACCESS are possible for partition info. Strategy EXPIRE_AFTER_ACCESS has been used before. The cache time count started from the last cache access.
I will change to strategy EXPIRE_AFTER_WRITE. The cache will be updated every minute.
How to test:
- send GET groups request to entitlements
- update Partition info via Partition PATCH request
- wait 60 seconds
- send new GET group request
- look at the Partition info, it should contain the updated value
Changes include:
-
Bugfix (a non-breaking change that solves an issue).
Changes in:
-
GCP
Edited by Yurii Ruban [EPAM / GCP]