Skip to content

refactor(server): break cfstore.py into recceiver/cf/ subpackage#160

Open
anderslindho wants to merge 12 commits intomasterfrom
refactor-cf-subpackage
Open

refactor(server): break cfstore.py into recceiver/cf/ subpackage#160
anderslindho wants to merge 12 commits intomasterfrom
refactor-cf-subpackage

Conversation

@anderslindho
Copy link
Copy Markdown
Contributor

No behaviour changes.

@anderslindho anderslindho requested a review from jacomago May 8, 2026 14:08
@anderslindho anderslindho self-assigned this May 8, 2026
@anderslindho anderslindho marked this pull request as draft May 8, 2026 14:11
Copy link
Copy Markdown
Contributor

@simon-ess simon-ess left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems an improvement to me!

Copy link
Copy Markdown
Contributor

@jacomago jacomago left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Mostly looks fine.

Comment thread server/pyproject.toml
Comment thread server/recceiver/cfstore.py
Comment thread server/recceiver/cf/processor.py
Comment thread server/recceiver/cf/adapter.py Outdated
Also fixes the hardcoded "iocid" string literal to CFPropertyName.IOC_ID.
CFProcessor now speaks domain types at every callsite with no raw dict
handling. mock_client.py is removed.
Extract _setup_cf_properties, _apply_env_vars, _register_aliases,
_remove_aliases, and _process_new_channels to bring all five flagged
(by Sonar) methods within the complexity threshold.
@anderslindho anderslindho force-pushed the refactor-cf-subpackage branch from 537b40a to 9133c8a Compare May 8, 2026 15:28
@anderslindho anderslindho marked this pull request as ready for review May 8, 2026 15:28
@anderslindho anderslindho requested review from shroffk and tynanford May 8, 2026 15:29
Fix _merge_property_lists mutable default argument — safe in practice
since the set is only read, but still wrong form.
@anderslindho anderslindho force-pushed the refactor-cf-subpackage branch 2 times, most recently from cbb100f to 321fedc Compare May 8, 2026 15:46
@anderslindho anderslindho force-pushed the refactor-cf-subpackage branch from 321fedc to c89d65e Compare May 8, 2026 15:46
@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 8, 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.

3 participants