Skip to content

feat(registry): simplify internal plugin registration methods#1271

Merged
jakobmoellerdev merged 3 commits into
open-component-model:mainfrom
fabianburth:feat/simplify-register-internal-plugin
Nov 28, 2025
Merged

feat(registry): simplify internal plugin registration methods#1271
jakobmoellerdev merged 3 commits into
open-component-model:mainfrom
fabianburth:feat/simplify-register-internal-plugin

Conversation

@fabianburth

@fabianburth fabianburth commented Nov 27, 2025

Copy link
Copy Markdown
Contributor

What this PR does / why we need it

Refactor the registration methods for internal plugins to use a more consistent and streamlined approach. This change enhances readability and maintainability by reducing redundancy in the code.

This is what the changes in this previous PR were needed for.

Notes for the Reviewers
The changes are quite repetitive. But pay special attention to the registration method of input.

Which issue(s) this PR fixes

Contributes to open-component-model/ocm-project#761

Refactor the registration methods for internal plugins to use a more
consistent and streamlined approach. This change enhances readability
and maintainability by reducing redundancy in the code.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@fabianburth fabianburth requested a review from a team as a code owner November 27, 2025 11:57
@github-actions github-actions Bot added kind/feature new feature, enhancement, improvement, extension size/l Large labels Nov 27, 2025
Comment thread bindings/go/plugin/manager/registries/blobtransformer/registry.go
Comment thread bindings/go/plugin/manager/registries/input/registry.go
Comment thread bindings/go/plugin/manager/registries/blobtransformer/registry.go
Comment thread bindings/go/plugin/manager/registries/blobtransformer/registry.go
Wrap the error returned from getting a plugin with a more descriptive message.

Signed-off-by: Fabian Burth <fabian.burth@sap.com>
@jakobmoellerdev jakobmoellerdev merged commit 6eb1d99 into open-component-model:main Nov 28, 2025
17 checks passed
@fabianburth fabianburth deleted the feat/simplify-register-internal-plugin branch November 28, 2025 08:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/feature new feature, enhancement, improvement, extension size/l Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants