User story #2973
closedUser story #2997: Clean report database v2 : Add an automatic reporting configured by properties
Allow to automatically clean reports from database (simple version)
Description
In Rudder 2.5, we want to provide a UI to configure job frequency of report cleaning, see #2971.
But the bug is so impacting for our user that we want to try to implement a simplified version for Rudder 2.4, based on #2972 and a textfile-based configuration.
Properties of the text file will be:
- age (in days) before archiving report
- age (in days) before deleting report
- an age of 0 (or less) means "no automatic cleaning"
- frequency of the job:
- hourly + minutes when the job is executed,
- daily + hours/minutes when the job is executed,
- weekly + name of the day/hours/minutes when the job is executed.
Add in the DB management page a message: "Automatic cleaning execution can be configured thanks to parameters ... of config file."
(Even better: "Current parameters: ...")
We also have to add new event logs for automatically executed cleaning.
As for #2972, the final acceptance in Rudder 2.4 is subject to the quantity/impact of code needed to add that feature.
Updated by Vincent MEMBRÉ about 12 years ago
- Status changed from 2 to Pending technical review
I added a way to provide an automatic reports cleaner by setting some properties in rudder-webapp.properties.
When this is accepted some packaging must be done (#2978).
I made a pull request about that, https://github.com/Normation/rudder/pull/5
I change this ticket status into "Technical review"
Updated by Nicolas PERRON about 12 years ago
- Target version changed from 2.4.0~rc1 to 2.5.0~beta1
The new feature about automation of DB management tasks will not be included in Rudder 2.4. Then, postponed to Rudder 2.5
Updated by Vincent MEMBRÉ about 12 years ago
- Parent task set to #2997
This is the implementation part of #2997
Updated by Vincent MEMBRÉ about 12 years ago
As we can't change pull request target, I made another pull request about that issue, https://github.com/Normation/rudder/pull/9
technical review can now be done.
Updated by François ARMAND almost 12 years ago
- Tracker changed from Bug to Enhancement
Updated by Nicolas CHARLES almost 12 years ago
- Assignee changed from Vincent MEMBRÉ to Nicolas CHARLES
Updated by Nicolas CHARLES almost 12 years ago
- Status changed from Pending technical review to 12
This is valid, thank you Vincent !
Updated by Vincent MEMBRÉ almost 12 years ago
- Status changed from 12 to Pending release
Applied in changeset bcdb5ae62b14ff116c7dcb21ce1cdc157baf3a70.
Updated by Matthieu CERDA almost 12 years ago
- Status changed from Pending release to Released
Updated by Benoît PECCATTE over 9 years ago
- Tracker changed from Enhancement to User story