Project

General

Profile

Actions

Task #94

closed

ConfigurationService - cache

Added by Radek Tomiška over 8 years ago. Updated over 7 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Radek Tomiška
Category:
Configuration
Target version:
Start date:
08/16/2016
Due date:
% Done:

100%

Estimated time:
4.00 h
Owner:

Description

Configure cache for appropriate method in ConfigurationService for reading configuration values. Cache will be cleared when IdmConfigurationRepository CUD method will be called.

Actions #1

Updated by Radek Tomiška about 8 years ago

  • Target version changed from Beryl to Citrine (7.3.0)
Actions #2

Updated by Radek Tomiška over 7 years ago

  • Status changed from New to Needs feedback
  • Assignee changed from Radek Tomiška to Ondřej Kopr
  • % Done changed from 0 to 90

Cache (default spring boot cache) was added for configuration service. ConfigurationService and Confidential storage was rewritten for dto usage (added new authorization evaluator, FE updated, tests added).

https://github.com/bcvsolutions/CzechIdMng/commit/69614261261231f59448fb554b0ffe5a44bb29f1
https://proj.bcvsolutions.eu/ngidm/doku.php?id=en:navrh:konfigurace_aplikace#backend
https://proj.bcvsolutions.eu/ngidm/doku.php?id=roztridit:autorizacni_model#configurationevaluator

Could you please make a test and feedback and retest whole configuration FE agenda? The mainly change is permission evaluation - secured properties are not readonly for now (CONFIGURATIONSECURED was removed - dynamic authoriyation evaluators is used now) - warning is shown after form is sent to BE.

Actions #3

Updated by Ondřej Kopr over 7 years ago

  • Status changed from Needs feedback to Resolved
  • Assignee changed from Ondřej Kopr to Radek Tomiška
  • % Done changed from 90 to 100

Thank you for refactor configuration to DTO and post your commit directly, you are awesome.

  • check ConfigurationEvaluator, with secured true/false - works - FE test,
  • check how works tests,
  • Nice to use the spring cache.
Actions #4

Updated by Radek Tomiška over 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF