Skip to content

Commit 3987b9d

Browse files
committed
Replaced @ignore with useful doc strings
Ticket: CFE-3378 Changelog: Title
1 parent f153cb8 commit 3987b9d

6 files changed

Lines changed: 13 additions & 20 deletions

File tree

lib/bundles.cf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
###################################################
4848

4949
bundle common bundles_common
50-
# @ignore
50+
# @brief Enumerate policy files used by this policy file for inclusion to inputs
5151
{
5252
vars:
5353
"inputs" slist => { "$(this.promise_dirname)/paths.cf",
@@ -56,7 +56,7 @@ bundle common bundles_common
5656
}
5757

5858
body file control
59-
# @ignore
59+
# @brief Include policy files used by this policy file as part of inputs
6060
{
6161
inputs => { @(bundles_common.inputs) };
6262
}

lib/cfe_internal_hub.cf

Lines changed: 4 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,20 @@
4545
###################################################
4646

4747
bundle 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

5555
body 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

6161
bundle 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

160159
bundle 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

188186
bundle 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

254251
bundle 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

273270
bundle 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

289285
bundle 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

341336
bundle agent cfe_internal_postgresql_vacuum
342-
#@ignore
343337
#@brief Vacuum (with analyze) over cfdb database.
344338
{
345339
vars:

lib/feature.cf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ bundle agent feature_test
7979
}
8080

8181
body classes feature_cancel(x)
82-
# @ignore
82+
# @brief Undefine class `x` when promise is kept or repaired
8383
# Used internally by bundle `feature`
8484
{
8585
cancel_kept => { "$(x)" };

lib/files.cf

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,14 @@
4747
###################################################
4848

4949
bundle common files_common
50-
# @ignore
50+
# @brief Enumerate policy files used by this policy file for inclusion to inputs
5151
{
5252
vars:
5353
"inputs" slist => { "$(this.promise_dirname)/common.cf" };
5454
}
5555

5656
body file control
57-
# @ignore
57+
# @brief Include policy files used by this policy file as part of inputs
5858
{
5959
inputs => { @(files_common.inputs) };
6060
}
@@ -873,7 +873,6 @@ bundle edit_line set_config_values_matching(v,pat)
873873
##
874874

875875
bundle edit_line maintain_key_values(v,sep)
876-
# @ignore
877876
# @brief Sets the RHS of configuration items with an giving separator
878877
#
879878
# Contributed by David Lee

lib/services.cf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,15 +47,15 @@
4747
###################################################
4848

4949
bundle common services_common
50-
# @ignore
50+
# @brief Enumerate policy files used by this policy file for inclusion to inputs
5151
{
5252
vars:
5353
"inputs" slist => { "$(this.promise_dirname)/common.cf",
5454
"$(this.promise_dirname)/paths.cf" };
5555
}
5656

5757
body file control
58-
# @ignore
58+
# @brief Include policy files used by this policy file as part of inputs
5959
{
6060
inputs => { @(services_common.inputs) };
6161
}

lib/vcs.cf

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@
4747
###################################################
4848

4949
bundle common vcs_common
50-
# @ignore
50+
# @brief Enumerate policy files used by this policy file for inclusion to inputs
5151
{
5252
vars:
5353
"inputs" slist => { "$(this.promise_dirname)/common.cf",
@@ -56,7 +56,7 @@ bundle common vcs_common
5656
}
5757

5858
body file control
59-
# @ignore
59+
# @brief Include policy files used by this policy file as part of inputs
6060
{
6161
inputs => { @(vcs_common.inputs) };
6262
}

0 commit comments

Comments
 (0)