Task #334
closedLong running task - account management
100%
Description
Role could be assigned with future validity - when role will be valid, then account management (and provisioning) should be executed => new accounts for newly valid roles has to be created.
Updated by Ondřej Kopr about 7 years ago
- % Done changed from 0 to 50
Implementation detail:
- Create new 'queue' IdmIdentityRoleValidRequest that store all non valid identity role request,
- new long running task that iterate over all found IdmIdentityRoleValidRequest that will be valid from now (today, new LocalDate),
- new proccesor for IdmIdentityRoleValidRequest with process IDENTITY_ROLE_VALID.
Updated by Ondřej Kopr about 7 years ago
- Status changed from New to Needs feedback
- % Done changed from 50 to 90
- for Acc processor IdentityRoleValidRequestProvisioningProcessor,
- for referential integrity (core module).
save into IdentityRoleValidRequest move into identityRoleSaveProcessor.
Update ER diagram.
Radek please do code review thank you very much.
Updated by Ondřej Kopr about 7 years ago
- Assignee changed from Ondřej Kopr to Radek Tomiška
Now service, processor use DTOs. Fix test - use future task instead of wait for.
Please Radek, could you make review? Thank you.
Updated by Radek Tomiška about 7 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Radek Tomiška to Ondřej Kopr
- remove isIdentityRoleValidFromNow from IdmIdentityRoleService and create method in IdmIdentityRole - isFutureValid or something. And then remove identityRoleService dependency from IdentityRoleSaveProcessor.
- add doc (https://proj.bcvsolutions.eu/ngidm/doku.php?id=navrh:account-management or https://proj.bcvsolutions.eu/ngidm/doku.php?id=roztridit:standardni_procesy)
Updated by Ondřej Kopr about 7 years ago
- Status changed from In Progress to Needs feedback
- Assignee changed from Ondřej Kopr to Radek Tomiška
method (isIdentityRoleValidFromNow) from service IdmIdentityRoleService was removed and add new method into entity IdmIdentityRole (add two constant with MIN and MAX date time to ValidableEntity),
add some information about new queue and long running task.
Please check newly created constant and method isValid in IdmIdentityRole, thank you Radek.
Updated by Radek Tomiška about 7 years ago
- Status changed from Needs feedback to In Progress
- Assignee changed from Radek Tomiška to Ondřej Kopr
Remove MIN and MAX from ValidableEntity please and check null values instead :)
After this, you could close this ticket .)
Updated by Ondřej Kopr about 7 years ago
Remove constants and inside method isValid call method from EntityUtils.isValid.
Updated by Ondřej Kopr about 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Updated by Radek Tomiška about 7 years ago
- Status changed from Resolved to Closed