diff options
author | Ralph Straubs <rs8887@att.com> | 2017-05-09 03:43:22 -0500 |
---|---|---|
committer | Ralph Straubs <rs8887@att.com> | 2017-05-09 03:52:43 -0500 |
commit | 99dbede9a263e23a9f526a6a9ad5a7004ad5bec7 (patch) | |
tree | 676f7be7d14ff3df5ab771282f3d3ffabbcb525b /policy-management | |
parent | 4b780cfa3125e30acbd055e260bacf58d33c353e (diff) |
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 <rs8887@att.com>
Diffstat (limited to 'policy-management')
-rw-r--r-- | policy-management/src/main/server/config/IntegrityMonitor.properties | 4 | ||||
-rw-r--r-- | policy-management/src/main/server/config/droolsPersistence.properties | 6 |
2 files changed, 9 insertions, 1 deletions
diff --git a/policy-management/src/main/server/config/IntegrityMonitor.properties b/policy-management/src/main/server/config/IntegrityMonitor.properties index ee7d5eb0..529abcda 100644 --- a/policy-management/src/main/server/config/IntegrityMonitor.properties +++ b/policy-management/src/main/server/config/IntegrityMonitor.properties @@ -83,3 +83,7 @@ db.audit.is.active=false # Flag to control the execution of the subsystemTest for the Nexus Maven repository repository.audit.is.active=false repository.audit.ignore.errors=true + +# Run the state audit every 60 seconds (60000 ms). NOTE! It will only run on nodes that are providing service. +# A value of <= 0 will turn off the state audit. +state_audit_interval_ms=60000 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 - |