Class AggregationDateRetentionService
- java.lang.Object
-
- sailpoint.server.Service
-
- com.identityworksllc.iiq.common.service.AggregationDateRetentionService
-
public class AggregationDateRetentionService extends sailpoint.server.Service
A service to retain the last aggregation timestamps and other cache data for Applications in a Custom object called “Aggregation Date Storage”.Since this data is stored in the Application XML itself, it is often inadvertently overwritten on deployment with an earlier version, or with null data. This will cause delta tasks to run long or fail entirely. With this service installed, the Application’s dates will be restored as soon as possible after deployment.
The data will be copied as follows:
-
If there is no data on the Application, but data exists in the Custom object, the values on the Application will be replaced by the values in the Custom.
-
If there is no cache for the given Application in the Custom object, the values in the Custom will always be set to the Application’s values.
-
If the Application’s acctAggregationEnd timestamp is newer than the values in the Custom object, the Application’s values will be copied to the Custom.
-
If the Custom’s acctAggregationEnd timestamp is newer than the value in the Application object, the Application’s values will be replaced by the value in the Custom.
The following attributes are retained in the Custom for each Application:
- acctAggregationEnd
- acctAggregationStart
- deltaAggregation
- lastAggregationDate
Three of the four are millisecond timestamps, while deltaAggregation often contains metadata, like cookies from Azure.
-
-
-
Field Summary
Fields Modifier and Type Field Description static String
ACCT_AGGREGATION_END
The field indicating aggregation end (a Date)static String
ACCT_AGGREGATION_START
The field indicating aggregation start (a Date)static String
DELTA_AGGREGATION
The field containing delta aggregation details (e.g., dirSync data in AD)static String
LAST_AGGREGATION_DATE
The last aggregation date column (used in, e.g., Workday)
-
Constructor Summary
Constructors Constructor Description AggregationDateRetentionService()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
execute(sailpoint.api.SailPointContext context)
-
Methods inherited from class sailpoint.server.Service
configure, getDefinition, getInterval, getLastEnd, getLastExecute, getName, getServiceLock, getStatusString, handleRequest, isEnabled, isPriority, isStarted, isStarting, isStopping, ping, setDefinition, setInterval, setLastEnd, setLastExecute, setStarted, setStarting, setStopping, start, suspend, terminate, waitForStart, wake
-
-
-
-
Field Detail
-
ACCT_AGGREGATION_END
public static final String ACCT_AGGREGATION_END
The field indicating aggregation end (a Date)- See Also:
- Constant Field Values
-
ACCT_AGGREGATION_START
public static final String ACCT_AGGREGATION_START
The field indicating aggregation start (a Date)- See Also:
- Constant Field Values
-
DELTA_AGGREGATION
public static final String DELTA_AGGREGATION
The field containing delta aggregation details (e.g., dirSync data in AD)- See Also:
- Constant Field Values
-
LAST_AGGREGATION_DATE
public static final String LAST_AGGREGATION_DATE
The last aggregation date column (used in, e.g., Workday)- See Also:
- Constant Field Values
-
-
Constructor Detail
-
AggregationDateRetentionService
public AggregationDateRetentionService()
-
-
Method Detail
-
execute
public void execute(sailpoint.api.SailPointContext context) throws sailpoint.tools.GeneralException
- Overrides:
execute
in classsailpoint.server.Service
- Throws:
sailpoint.tools.GeneralException
-
-