[rhq-project/rhq] 01c7bb: [1119262 jon3-7] EAP6 drifts exclude pattern not w...
by Jay Shaughnessy
Branch: refs/heads/release/jon3.3.x
Home: https://github.com/rhq-project/rhq
Commit: 01c7bb3bdd69e657a852ae71a6647acdbc7f5427
https://github.com/rhq-project/rhq/commit/01c7bb3bdd69e657a852ae71a6647ac...
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/FilterFileVisitor.java
M modules/core/util/src/main/java/org/rhq/core/util/file/FileUtil.java
Log Message:
-----------
[1119262 jon3-7] EAP6 drifts exclude pattern not working for windows case
The issue here is that the drift template defines the plugin descriptor
and in this case, the associated excludes filter: pattern="*_history/**/*".
It can only be predefined in one format, and the plugin naturally uses
linux-style forward slashes for the directory separator.
But on Windows that is the wrong separator.
The solution is to convert to the native separator slash internally at
"detection-time", regardless of the slashing used in the pattern. This is,
I think, in-line with ant file-pattern approach we are using.
Also,
-- added new FileUtil.useNativeSlash(String path)
Cherry-Pick of master 83e926c0debb558b2e90efee47317517ea4bb4db
9 years, 10 months
[rhq-project/rhq] d3f63b: [1119262 jon3-7] EAP6 drifts exclude pattern not w...
by Jay Shaughnessy
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: d3f63b559551ca4ab1c185410308d2f9e01c03cb
https://github.com/rhq-project/rhq/commit/d3f63b559551ca4ab1c185410308d2f...
Author: Jay Shaughnessy <jshaughn(a)redhat.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M modules/core/plugin-container/src/main/java/org/rhq/core/pc/drift/FilterFileVisitor.java
M modules/core/util/src/main/java/org/rhq/core/util/file/FileUtil.java
Log Message:
-----------
[1119262 jon3-7] EAP6 drifts exclude pattern not working for windows case
The issue here is that the drift template defines the plugin descriptor
and in this case, the associated excludes filter: pattern="*_history/**/*".
It can only be predefined in one format, and the plugin naturally uses
linux-style forward slashes for the directory separator.
But on Windows that is the wrong separator.
The solution is to convert to the native separator slash internally at
"detection-time", regardless of the slashing used in the pattern. This is,
I think, in-line with ant file-pattern approach we are using.
Also,
-- added new FileUtil.useNativeSlash(String path)
9 years, 10 months
[rhq-project/rhq] df5ddd: Bug 1115146 - Purge (delete) data using smaller ba...
by Thomas Segismont
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: df5ddda18ac57f59690aa83026f534715a4753aa
https://github.com/rhq-project/rhq/commit/df5ddda18ac57f59690aa83026f5347...
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M modules/core/domain/src/main/java/org/rhq/core/domain/alert/Alert.java
M modules/core/domain/src/main/java/org/rhq/core/domain/alert/AlertConditionLog.java
M modules/core/domain/src/main/java/org/rhq/core/domain/alert/notification/AlertNotificationLog.java
M modules/core/domain/src/main/java/org/rhq/core/domain/measurement/Availability.java
M modules/core/domain/src/main/java/org/rhq/core/domain/measurement/MeasurementDataPK.java
M modules/core/domain/src/main/java/org/rhq/core/domain/measurement/MeasurementDataTrait.java
M modules/core/domain/src/main/java/org/rhq/core/domain/measurement/MeasurementOOB.java
M modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/alert/test/DeleteAlertsTest.java
M modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/measurement/test/AvailabilityManagerTest.java
M modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/measurement/test/MeasurementDataManagerTest.java
M modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/performance/test/AvailabilityInsertPurgeTest.java
M modules/enterprise/server/itests-2/src/test/java/org/rhq/enterprise/server/performance/test/EventsInsertPurgeTest.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/alert/AlertManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/event/EventManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/AvailabilityManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/CallTimeDataManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementDataManagerLocal.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementOOBManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/measurement/MeasurementOOBManagerLocal.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/AlertConditionLogPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/AlertNotificationLogPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/AlertPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/AvailabilityPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/CallTimeDataValuePurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/EventDataPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/MeasurementDataTraitPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/MeasurementOOBPurge.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/PurgeManagerBean.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/PurgeManagerLocal.java
A modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/purge/PurgeTemplate.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/scheduler/jobs/DataPurgeJob.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/subsystem/AlertSubsystemManagerBean.java
M modules/enterprise/server/jar/src/main/java/org/rhq/enterprise/server/util/LookupUtil.java
Log Message:
-----------
Bug 1115146 - Purge (delete) data using smaller batches
Introduced JDBCPurgeTemplate
Update purge process for:
* availabilities
* traits
* events
* calltime data values
* alerts (and notif log and condition log)
* OOB
Batch size:
* is shared across implementation of the template
* is configurable through a sys prop
* value is unbounded
* defaults to 3000
9 years, 10 months
[rhq-project/rhq] 2ac701: Bug 1074632 - RFE: Manage storage node snapshots
by John Sanda
Branch: refs/heads/master
Home: https://github.com/rhq-project/rhq
Commit: 2ac701032cf7b05de8a285210de619a5f62e5191
https://github.com/rhq-project/rhq/commit/2ac701032cf7b05de8a285210de619a...
Author: Libor Zoubek <lzoubek(a)redhat.com>
Date: 2014-07-22 (Tue, 22 Jul 2014)
Changed paths:
M modules/plugins/cassandra/pom.xml
M modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/CassandraNodeComponent.java
M modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/util/KeyspaceService.java
A modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/util/TakeSnapshotOperation.java
M modules/plugins/cassandra/src/main/resources/META-INF/rhq-plugin.xml
M modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
M modules/plugins/rhq-storage/src/main/resources/META-INF/rhq-plugin.xml
M modules/plugins/rhq-storage/src/test/java/org/rhq/plugins/storage/StorageNodeComponentITest.java
Log Message:
-----------
Bug 1074632 - RFE: Manage storage node snapshots
Added "Take Snapshot" operation to StorageNode resource. This operation
takes several other parameters and it can either move or delete older
snapshots. Basically it allows to
- keep N latest snapshots and move/delete older ones
- keep snapshots not older than N days and move/delete the older ones
Commit: fe30df29d11d85bff76efca6e26302e4b6f96429
https://github.com/rhq-project/rhq/commit/fe30df29d11d85bff76efca6e26302e...
Author: jsanda <jsanda(a)redhat.com>
Date: 2014-07-23 (Wed, 23 Jul 2014)
Changed paths:
M modules/plugins/cassandra/pom.xml
M modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/CassandraNodeComponent.java
M modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/util/KeyspaceService.java
A modules/plugins/cassandra/src/main/java/org/rhq/plugins/cassandra/util/TakeSnapshotOperation.java
M modules/plugins/cassandra/src/main/resources/META-INF/rhq-plugin.xml
M modules/plugins/rhq-storage/src/main/java/org/rhq/plugins/storage/StorageNodeComponent.java
M modules/plugins/rhq-storage/src/main/resources/META-INF/rhq-plugin.xml
M modules/plugins/rhq-storage/src/test/java/org/rhq/plugins/storage/StorageNodeComponentITest.java
Log Message:
-----------
Merge pull request #95 from lzoubek/bugs/1074632
Bug 1074632 - RFE: Manage storage node snapshots
Compare: https://github.com/rhq-project/rhq/compare/181e5e7844c6...fe30df29d11d
9 years, 10 months