ЕСОЗ - публічна документація
[AUTO] Terminate Authentication method requests
Configuration
Process configuration
Parameter | Description | Value |
---|---|---|
AUTH_METHOD_REQUEST_AUTOTERMINATION_SCHEDULE | (Cron Format) How often to perform termination | `* * * * *` |
AUTH_METHOD_REQUEST_EXPIRATION | (Days, integer > 0) Authentication method request lifetime | prm.global_parameters.auth_method_request_expiration |
AUTH_METHOD_REQUEST_AUTOTCLEANING_SCHEDULE | (Cron Format) How often to perform termination | `* * * * *` |
AUTH_METHOD_REQUEST_DATA_CLEANING | (Days, integer > 0) Authentication method request data lifetime | prm.global_parameters.auth_method_request_autocleaning |
Expiration person request
Search candidates
If authentication_method_request.inserted_at < ( now() - AUTH_METHOD_REQUEST_EXPIRATION) and status = 'NEW'
Update authentication method request
Delete personal data from authentication method requests: authentication_method, authentication_method_current,person_id, person_documents, action.
Update status for all records to EXPIRED:
status = 'EXPIRED'
updated_at = now()
updated_by = SYSTEM_USER
Autocleaning authentication metho request
If authentication_method_request.inserted_at < ( now() - AUTH_METHOD_REQUEST_DATA_CLEANING) and authentication_method is not NULL:
Delete personal data from authentication method requests: authentication_method, authentication_method_current,person_id, person_documents, action.
update authentication_method_request
updated_by = SYSTEM_USER
updated_at = timestamp
ЕСОЗ - публічна документація