Project

General

Profile

Actions

Task #1100

closed

Validity protection mode for contract controlled by slice

Added by Vít Švanda almost 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Vít Švanda
Category:
Contractual relationship
Target version:
Start date:
05/17/2018
Due date:
% Done:

100%

Estimated time:
Owner:

Description

ContractSliceManager has method "setSliceAsCurrentlyUsing" now, that method ensures copy slice to contract.
We need create new working line for this, because this operation is project specified.
For example: When slice One has contract valid till to 15.1. and exist next slice Two where contract valid from is 17.1. then (in some projects) we don't want to remove user's accounts. In this case we needs some "protection interval" (3 days) for wich will be contract still valid.

In this task will be created new event for create contract by slice and processor with configurable the ''protected interval'.

Actions #1

Updated by Vít Švanda almost 6 years ago

  • Subject changed from Working line - create contract by slice to Validity protection mode for contract controlled by slice
  • Status changed from New to In Progress
Actions #2

Updated by Vít Švanda almost 6 years ago

- I changed interface ... for create or save contract by slice is uses only method "ContractSliceManager.updateContractBySlice" now.
- I did not create a new event type. We need use two input properties (contract and slice). Better way will be override the method (bean) "ContractSliceManager.updateContractBySlice" with using annotation @Primary.
- I implemented protection mode for contract validity.
- Protection interval can be configured in the application configuration "idm.sec.core.contract-slice.protection-interval".
- Tests and documentation remains

Actions #3

Updated by Vít Švanda almost 6 years ago

  • % Done changed from 0 to 80

Created tests

Actions #4

Updated by Vít Švanda almost 6 years ago

  • Status changed from In Progress to Needs feedback
  • Assignee changed from Vít Švanda to Radek Tomiška
  • % Done changed from 80 to 90
Actions #5

Updated by Radek Tomiška almost 6 years ago

  • Status changed from Needs feedback to Closed
  • Assignee changed from Radek Tomiška to Vít Švanda
  • % Done changed from 90 to 100

Thx for this new feature, i did test and review, it works!

Actions

Also available in: Atom PDF