Project

General

Profile

Actions

Task #334

closed

Long running task - account management

Added by Radek Tomiška about 7 years ago. Updated about 7 years ago.

Status:
Closed
Priority:
High
Assignee:
Ondřej Kopr
Category:
Account managment
Target version:
Start date:
03/21/2017
Due date:
% Done:

100%

Estimated time:
8.00 h
Owner:

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.

Actions #1

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.
Actions #2

Updated by Ondřej Kopr about 7 years ago

  • Status changed from New to Needs feedback
  • % Done changed from 50 to 90
Create test:
  • 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.

Actions #3

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.

Actions #4

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
I did test and review, it works nice, good job. I found some minor issues:
Actions #5

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.

Actions #6

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 .)

Actions #7

Updated by Ondřej Kopr about 7 years ago

Remove constants and inside method isValid call method from EntityUtils.isValid.

Actions #8

Updated by Ondřej Kopr about 7 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100
Actions #9

Updated by Radek Tomiška about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF