4545###################################################
4646
4747bundle common cfe_internal_hub_common
48- # @ignore
48+ # @brief Enumerate policy files used by this policy file for inclusion to inputs
4949{
5050 vars:
5151 "inputs" slist => { "$(this.promise_dirname)/common.cf",
5252 "$(this.promise_dirname)/commands.cf"};
5353}
5454
5555body file control
56- # @ignore
56+ # @brief Include policy files used by this policy file as part of inputs
5757{
5858 inputs => { @(cfe_internal_hub_common.inputs) };
5959}
6060
6161bundle agent cfe_internal_hub_maintain
62- # @ignore
6362# @brief Executes reporting database maintenance process
6463# By default database clean up interval is 24 hours.
6564# Length of log history in database is controlled
@@ -158,7 +157,6 @@ bundle agent cfe_internal_hub_maintain
158157}
159158
160159bundle agent cfe_internal_database_cleanup_reports (settings)
161- # @ignore
162160# @brief clean up the reporting tables
163161{
164162 vars:
@@ -186,7 +184,6 @@ AND t.$(settings[$(index)][time_key]) <= (z.latest - '$(settings[$(index)][hi
186184}
187185
188186bundle agent cfe_internal_database_cleanup_consumer_status (row_count)
189- # @ignore
190187# @brief keep up to row_count entries in the database
191188# @note ENT-2797 After cf-consumer removal, this will still be necessary, functionality
192189# of cf-consumer to be replaced with cf-hub-worker per Ole.
@@ -252,8 +249,8 @@ bundle agent cfe_internal_database_cleanup_diagnostics (settings)
252249}
253250
254251bundle agent cfe_internal_database_cleanup_promise_log (history_length_days)
255- # @ignore
256- # @brief clean up promise log
252+ # @brief clean up promise log files older than `history_length_days`
253+ # @param history_length_days Number of days after which promise logs should be deleted
257254{
258255 vars:
259256 "cleanup_query_repaired"
@@ -271,7 +268,6 @@ bundle agent cfe_internal_database_cleanup_promise_log (history_length_days)
271268}
272269
273270bundle agent cfe_internal_database_partitioning()
274- # @ignore
275271# @brief create any nesesary table partitions for database
276272{
277273 vars:
@@ -287,7 +283,6 @@ bundle agent cfe_internal_database_partitioning()
287283}
288284
289285bundle agent cfe_internal_postgresql_maintenance
290- #@ignore
291286#@brief Vacuum Full PostgreSQL for maintenance
292287{
293288 vars:
@@ -339,7 +334,6 @@ bundle agent cfe_internal_postgresql_maintenance
339334}
340335
341336bundle agent cfe_internal_postgresql_vacuum
342- #@ignore
343337#@brief Vacuum (with analyze) over cfdb database.
344338{
345339 vars:
0 commit comments