Task #1100
closedValidity protection mode for contract controlled by slice
100%
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'.
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
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
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
- Admin documentation is here: https://wiki.czechidm.com/devel/documentation/identities#protection_of_the_contract_validity
- Developer documentation is here: https://wiki.czechidm.com/devel/documentation/identities/dev/contractual-relationship-slice#protection_of_the_contract_validity
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!