Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The BusinessGroup of front end users is cached within MC2 for ReST API extracts. If the front end user is not a super user, the user's business group is included in the request as an entity filter. The time to live for the cache was changed to 1 hour. Changes to the front end user's business group will be reflected within MC2 after 1 hour. The cache can be reinitialized on demand by reinitializing the MC2 rule cache. The time to live can also be set to a custom value in estar/tpe/cfg/eaglemc2s/extractservice/application.yml with an entry as below
(see application.yml.template):
eaglemlrestapi:
services:
EXTRACT:
usergroupscache:
#lifetime of every group name in cache separately
lifetime:
#set hours to 0 if only minutes parameter is needed
hours: 0
minutes: 1

...