Skip to content

cli - use library.collectors#260

Draft
himdel wants to merge 17 commits intoansible:develfrom
himdel:col5
Draft

cli - use library.collectors#260
himdel wants to merge 17 commits intoansible:develfrom
himdel:col5

Conversation

@himdel
Copy link
Copy Markdown
Contributor

@himdel himdel commented Nov 6, 2025

Issue: AAP-54476 / AAP-57129 / AAP-66077

This is the second part of #248: this makes sure we use the collectors moved to the library from the cli.

It also adds until_slicing - which will use the last date of daily_slicing, unlike limit_slicing which uses today - and uses it for execution environments.

Also remove dead full_sync logic,
stop passing unused max_gather_size,
use init_tmp_dir helper from the library,
and adjusts test imports.

EDIT: most of this was merged in 339, what remains may or may not be useful, draft until I can revisit this

himdel added 14 commits November 7, 2025 17:02
dest was never passed to collector gather,
so always None in gather_initialize,
which called a _init_tmp_dir method

use init_tmp_dir from the library instead (function, same code),
and use the result to set gather_dir & tmp_dir

(these then end up as output_dir= for fnc_collect)
CsvFileSplitter still supports it, but it wasn't inheriting the value
and hardcoding 200M anyway
most slicers ignore last_gather, no need for it to be required param
…_provider_params for config, remove collection_type, unused
removing tests when a thing was moved to library and is tested there

fixing slicer and collector calls to match

fixing import locations
…lling_provider_params

because billing_provider_params is now passed directly to the collector when it runs
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented Nov 7, 2025

Issue: AAP-66077
@SherinV SherinV changed the title cli - use library.collectors AAP-66077: cli - use library.collectors Feb 26, 2026
@SherinV
Copy link
Copy Markdown
Contributor

SherinV commented Mar 9, 2026

This is to be closed once #339 goes in.

@himdel himdel changed the title AAP-66077: cli - use library.collectors cli - use library.collectors Mar 9, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants