Skip to content

Remove support for external postprocessing filter definitions#453

Merged
simu merged 1 commit into
masterfrom
feat/remove-external-pp-filters
Apr 5, 2022
Merged

Remove support for external postprocessing filter definitions#453
simu merged 1 commit into
masterfrom
feat/remove-external-pp-filters

Conversation

@simu

@simu simu commented Apr 5, 2022

Copy link
Copy Markdown
Member

We can completely remove postprocess/inventory.py since we now always get rendered inventory values from Reclass/Kapitan when reading filter definitions.

Also, we remove the test_postprocess_components_enabledref test, because that test only made sense for external postprocessing filters without actually rendering the mocked inventory with Reclass.

Relates #375

Checklist

  • Keep pull requests small so they can be easily reviewed.
  • Update the documentation.
  • Update tests.
  • Categorize the PR by setting a good title and adding one of the labels:
    bug, enhancement, documentation, change, breaking, dependency
    as they show up in the changelog
  • Link this PR to related issues.

@simu simu added the breaking PR with breaking changes which requires a new major version label Apr 5, 2022
@simu simu marked this pull request as ready for review April 5, 2022 12:56
@simu simu requested a review from a team as a code owner April 5, 2022 12:56
@simu simu force-pushed the feat/remove-external-pp-filters branch from 1e9f6cb to 73781ac Compare April 5, 2022 13:08
@simu simu force-pushed the feat/remove-external-pp-filters branch from 73781ac to 8b5e670 Compare April 5, 2022 13:19

@corvus-ch corvus-ch left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Yes, burn that old code but with fire 😛

We can completely remove `postprocess/inventory.py` since we now always
get rendered inventory values from Reclass/Kapitan when reading filter
definitions.

Also, we remove the `test_postprocess_components_enabledref` test,
because that test only made sense for external postprocessing filters
without actually rendering the mocked inventory with Reclass.
@simu simu force-pushed the feat/remove-external-pp-filters branch from 8b5e670 to 7885a5e Compare April 5, 2022 13:40
@simu simu merged commit 4355d46 into master Apr 5, 2022
@simu simu deleted the feat/remove-external-pp-filters branch April 5, 2022 13:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

breaking PR with breaking changes which requires a new major version

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants