Skip to content

feat: Remove XSUAA binding dependency from destination retrieval flow#5879

Merged
KavithaSiva merged 48 commits into
mainfrom
feat/reduce-XSUAA-binding-dependency
Jul 7, 2025
Merged

feat: Remove XSUAA binding dependency from destination retrieval flow#5879
KavithaSiva merged 48 commits into
mainfrom
feat/reduce-XSUAA-binding-dependency

Conversation

@KavithaSiva

@KavithaSiva KavithaSiva commented Jun 23, 2025

Copy link
Copy Markdown
Contributor

Closes SAP/cloud-sdk-backlog#1274.

Changes have been tested manually in an E2E test, I used both an user IAS JWT and user XSUAA JWT to test destination(s) retrievals.

Working E2E test run: https://github.tools.sap/cloudsdk/sdk-js/actions/runs/15330543 with a canary release of these changes.

@KavithaSiva KavithaSiva changed the title Remove XSUAA binding dependency from destination retrieval flow feat: Remove XSUAA binding dependency from destination retrieval flow Jun 23, 2025
Comment thread packages/connectivity/src/scp-cf/identity-service.ts Outdated
Comment thread packages/connectivity/src/scp-cf/identity-service.spec.ts Outdated
Comment thread packages/connectivity/src/scp-cf/identity-service.ts Outdated

@tomfrenken tomfrenken 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.

LGTM, some notes left, but I leave it up to you since it's only [pp]

@KavithaSiva

KavithaSiva commented Jun 23, 2025

Copy link
Copy Markdown
Contributor Author

@deekshas8 @jjtang1985 I also removed the JWT verification step while trying to fetch a destination(as it is relying on XSUAA binding).
This is a behaviour change,please let me know if the change is okay and approved by you.

@ZhongpinWang ZhongpinWang 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.

Mostly LGTM, some minors.

Comment thread packages/connectivity/src/scp-cf/identity-service.spec.ts Outdated
Comment thread packages/connectivity/src/scp-cf/identity-service.ts Outdated
Comment thread .changeset/early-rocks-dip.md Outdated
Comment thread .changeset/early-rocks-work.md Outdated
KavithaSiva and others added 2 commits June 24, 2025 11:16
Co-authored-by: Zhongpin Wang <zhongpin.wang@sap.com>
Co-authored-by: Zhongpin Wang <zhongpin.wang@sap.com>
name: 'FORWARD-TOKEN-NOAUTH'
};

function responseWithPublicKey(key: string = publicKey) {

@KavithaSiva KavithaSiva Jun 27, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

For reviewer, this was originally imported from the verify test file, I just moved the function in here as I deleted the verify test file.

@KavithaSiva KavithaSiva force-pushed the feat/reduce-XSUAA-binding-dependency branch from ec32f73 to fa79568 Compare June 27, 2025 13:41
@KavithaSiva KavithaSiva marked this pull request as ready for review June 30, 2025 07:55
Comment thread packages/connectivity/src/scp-cf/jwt/verify.ts Outdated
Comment thread packages/connectivity/src/scp-cf/environment-accessor/xsuaa.ts Outdated
Comment thread packages/connectivity/src/scp-cf/environment-accessor/xsuaa.ts Outdated
Comment thread packages/connectivity/src/scp-cf/destination/get-subscriber-token.ts Outdated
@KavithaSiva KavithaSiva requested a review from deekshas8 July 1, 2025 06:33
@KavithaSiva KavithaSiva dismissed deekshas8’s stale review July 1, 2025 06:34

Changes addressed

@ZhongpinWang ZhongpinWang 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.

LGTM 👍

@KavithaSiva KavithaSiva enabled auto-merge (squash) July 7, 2025 13:27
@KavithaSiva KavithaSiva merged commit 3c19ffa into main Jul 7, 2025
16 checks passed
@KavithaSiva KavithaSiva deleted the feat/reduce-XSUAA-binding-dependency branch July 7, 2025 13:32
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.

4 participants