From 99dbede9a263e23a9f526a6a9ad5a7004ad5bec7 Mon Sep 17 00:00:00 2001 From: Ralph Straubs Date: Tue, 9 May 2017 03:43:22 -0500 Subject: Batch submit [US866186 1710] Add the state_audit_interval_ms to the IntegrityMonitor.properties [US866186 1710] Added comments to the state audit property (state_audit_interval_ms) which clarify how to turn it off. [ECOMPD2TD-000] Update version.properties and pom.xml for iter 41 [ECOMPD2TD-000] Update version.properties and pom.xml for iter 41 Revert "[ECOMPD2TD-000] Update version.properties and pom.xml for iter 41" This reverts commit 61367d4c87fa6b153f707361537d9f802fb95a6e. [US250837 1710] Completed first cut of logic changes to PMStandbyStateChangeNotifier so that each segment of logic is only executed if a state change actually occurred. [US250837 1710] First cut on the JUnit for PMStandbyStateChangeNotifier. At this point I am simply checking the operation by inspecting the logs. [US250837 1710] Fixed the JUnit so it is not failing and added a note on how to run the JUnit. [US250837 1710] Added a method to get previousStandbyStatus from PMStandbyStateChangeHandler and began using it in JUnit tests. [US250837 1710] Finished the StandbyStateManagementTest. This uses the previousStandbyStatus value to test the function. [US250837 1710] Clean up of PMStandbyStateChangeNotifier and JUnit test to make static string values that are used throughout. [US250837 1710] Found a couple strings that I missed when converting to static variables. [US250837 1710] Updated PMStandbyStateChangeNotifier and StandbyStateManagementTest [US250837 1710] Added a dedicated db audit persistence unit auditDroolsPU to taylor the classes which will be audited. [ECOMPD2TD-1309] Clean up old persistence data This is an addition to 'policy-persistence' that cleans up 'sessioninfo' records with a 'lastmodificationdate' that is older than a specified time (default = 900 seconds = 15 minutes). [ECOMPD2TD-000] Correction to pom.xml versions Conflicts: version.properties Change-Id: I810d358c07e05fd36fa435a6fbb9e538e78b5011 Signed-off-by: Ralph Straubs --- .../src/main/server/config/droolsPersistence.properties | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'policy-management/src/main/server/config/droolsPersistence.properties') diff --git a/policy-management/src/main/server/config/droolsPersistence.properties b/policy-management/src/main/server/config/droolsPersistence.properties index 60793cdc..2fc6dc8b 100644 --- a/policy-management/src/main/server/config/droolsPersistence.properties +++ b/policy-management/src/main/server/config/droolsPersistence.properties @@ -46,6 +46,10 @@ javax.persistence.jdbc.password = ${{JDBC_PASSWORD}} hibernate.dataSource=org.mariadb.jdbc.MySQLDataSource +# The number of seconds that persistence data remains valid after a +# DroolsPDP shutdown or side switch -- older data is removed +# (if this field is not specified or <= 0, the time is indefinite) +persistence.sessioninfo.timeout=900 + # For testing purposes, it may be convenient to disable persistence persistenceDisabled=false - -- cgit 1.2.3-korg