11bundle common cfe_internal_hub_common
2- # @ignore
2+ # @brief Enumerate policy files used by this policy file for inclusion to inputs
33{
44 vars:
55 "inputs" slist => { "$(this.promise_dirname)/common.cf",
66 "$(this.promise_dirname)/commands.cf"};
77}
88
99body file control
10- # @ignore
10+ # @brief Include policy files used by this policy file as part of inputs
1111{
1212 inputs => { @(cfe_internal_hub_common.inputs) };
1313}
1414
1515bundle agent cfe_internal_hub_maintain
16- # @ignore
1716# @brief Executes reporting database maintenance process
1817# By default database clean up interval is 24 hours.
1918# Length of log history in database is controlled
@@ -112,7 +111,6 @@ bundle agent cfe_internal_hub_maintain
112111}
113112
114113bundle agent cfe_internal_database_cleanup_reports (settings)
115- # @ignore
116114# @brief clean up the reporting tables
117115{
118116 vars:
@@ -140,7 +138,6 @@ AND t.$(settings[$(index)][time_key]) <= (z.latest - '$(settings[$(index)][hi
140138}
141139
142140bundle agent cfe_internal_database_cleanup_consumer_status (row_count)
143- # @ignore
144141# @brief keep up to row_count entries in the database
145142# @note ENT-2797 After cf-consumer removal, this will still be necessary, functionality
146143# of cf-consumer to be replaced with cf-hub-worker per Ole.
@@ -206,8 +203,8 @@ bundle agent cfe_internal_database_cleanup_diagnostics (settings)
206203}
207204
208205bundle agent cfe_internal_database_cleanup_promise_log (history_length_days)
209- # @ignore
210- # @brief clean up promise log
206+ # @brief clean up promise log files older than `history_length_days`
207+ # @param history_length_days Number of days after which promise logs should be deleted
211208{
212209 vars:
213210 "cleanup_query_repaired"
@@ -225,7 +222,6 @@ bundle agent cfe_internal_database_cleanup_promise_log (history_length_days)
225222}
226223
227224bundle agent cfe_internal_database_partitioning()
228- # @ignore
229225# @brief create any nesesary table partitions for database
230226{
231227 vars:
@@ -241,7 +237,6 @@ bundle agent cfe_internal_database_partitioning()
241237}
242238
243239bundle agent cfe_internal_postgresql_maintenance
244- #@ignore
245240#@brief Vacuum Full PostgreSQL for maintenance
246241{
247242 vars:
@@ -293,7 +288,6 @@ bundle agent cfe_internal_postgresql_maintenance
293288}
294289
295290bundle agent cfe_internal_postgresql_vacuum
296- #@ignore
297291#@brief Vacuum (with analyze) over cfdb database.
298292{
299293 vars:
0 commit comments