Skip to content

ALL-IN-ONE feat:1047 typed credentials phase 3#2517

Closed
matthiasbruns wants to merge 10 commits into
open-component-model:mainfrom
matthiasbruns:feat/1047_typed_credentials_phase_3
Closed

ALL-IN-ONE feat:1047 typed credentials phase 3#2517
matthiasbruns wants to merge 10 commits into
open-component-model:mainfrom
matthiasbruns:feat/1047_typed_credentials_phase_3

Conversation

@matthiasbruns

@matthiasbruns matthiasbruns commented May 15, 2026

Copy link
Copy Markdown
Contributor

‼️ THIS PR DEMONSTRATES THE IMPACT OF PHASE 3

What this PR does / why we need it

Phase 3 of the credential migration - this is a breaking change since implementors must adapt.

This PR adds typed support to both CredentialPlugin and RepositoryPlugin as defined in the ADR

Additionally, we also remove the deprecated Resolve methods from the interfaces, as well as from the credentials.

This PR implements the new methods in all bindings and makes it work - this will probably needs to be split up.

Which issue(s) this PR fixes

Contributes: open-component-model/ocm-project#1047

On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>

# Conflicts:
#	bindings/go/credentials/identity_compat.go
#	bindings/go/credentials/resolve_direct.go
#	bindings/go/credentials/resolve_indirect.go
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>

# Conflicts:
#	bindings/go/credentials/graph_test.go
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
On-behalf-of: SAP <matthias.bruns@sap.com>
Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
@netlify

netlify Bot commented May 15, 2026

Copy link
Copy Markdown

Deploy Preview for ocm-website canceled.

Name Link
🔨 Latest commit 2b127f7
🔍 Latest deploy log https://app.netlify.com/projects/ocm-website/deploys/6a06d91aca7bf00008e68722

@coderabbitai

coderabbitai Bot commented May 15, 2026

Copy link
Copy Markdown
Contributor

Important

Review skipped

Draft detected.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 5d49079c-63fb-4eef-b8ed-ddc11fa208cd

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added the size/l Large label May 15, 2026
@matthiasbruns matthiasbruns deleted the feat/1047_typed_credentials_phase_3 branch May 19, 2026 07:52
matthiasbruns added a commit that referenced this pull request May 19, 2026
#### What this PR does / why we need it
Phase 3 of the credential migration

This PR updated the `credential` bindings.

This PR adds typed support to both CredentialPlugin and RepositoryPlugin
as defined in the
[ADR](https://github.com/open-component-model/open-component-model/blob/main/docs/adr/0018_typed_credentials.md#phase-3-plugin-interfaces)

Additionally, we also replace the deprecated `Resolve` methods from the
interfaces, as well as from the credentials.

You can see the full impact in
#2517

#### Which issue(s) this PR fixes
Contributes:
open-component-model/ocm-project#1047

---------

Signed-off-by: Matthias Bruns <git@matthiasbruns.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size/l Large

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant