Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(BpdmService): cx-memberships call to expect custom api path #1300

Conversation

typecastcloud
Copy link
Contributor

@typecastcloud typecastcloud commented Feb 26, 2025

Description

Remove hardcoded v6 path in bpdm cx-memberships api call. BusinessPartnerPoolBaseAddress should contain base api path including version.

Why

There is a customizable poolApiPath in portal values including API version. Calls are failing if the pool has any path.

Issue

Refs: #1299
Depends on: eclipse-tractusx/portal#518

Checklist

  • I have performed a self-review of my own code
  • I have successfully tested my changes locally
  • I have added tests that prove my changes work
  • I have checked that new and existing tests pass locally with my changes

There is a customizable poolApiPath in portal values including API version. Calls are failing if the pool has any path.

Refs: eclipse-tractusx#1299
@evegufy evegufy added this to the Release 25.03 milestone Feb 27, 2025
Copy link
Contributor

@tfjanjua tfjanjua left a comment

Choose a reason for hiding this comment

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

Change looks fine to me, please mark I have successfully tested my changes locally after testing the changes locally.

@typecastcloud
Copy link
Contributor Author

Successfully tested from local. Please review.

Copy link
Contributor

@tfjanjua tfjanjua left a comment

Choose a reason for hiding this comment

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

@typecastcloud
I have tested your changes on my local and its working fine
I tried with 2 BPNs

BPNL000000000065
BPNL00000000015G

and received success response from the pool/v6/cx-memberships API

@typecastcloud typecastcloud merged commit 0430fdf into eclipse-tractusx:release/v2.4.0-RC2 Feb 27, 2025
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: USER READY
Development

Successfully merging this pull request may close these issues.

4 participants