-
Notifications
You must be signed in to change notification settings - Fork 22
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
chore(CxMembership): Set Catena-X Membership in BPDM #1118
base: main
Are you sure you want to change the base?
chore(CxMembership): Set Catena-X Membership in BPDM #1118
Conversation
src/registration/ApplicationActivation.Library/ApplicationActivationService.cs
Fixed
Show fixed
Hide fixed
05892e0
to
508af80
Compare
8a0304f
to
c649d4d
Compare
Quality Gate passedIssues Measures |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@tfjanjua : I did fix a few findings and force-pushed to your repo after rebasing on latest main. Please pull he changes before proceeding. (And also have a look on what I changed to avoid such findings in the future).
PR currently cannot be merged as the configuration in portal-repo does not match. Also we need to come up with a better approach to handle multiple bpdm deployments without hardcoding the fact that this particular call is different into the service-method.
|
||
// Same User (which we have for BPDM service) can be used to call Business Partner Pool | ||
// But BaseAddress of Business Partner Pool is different as its deployed on another server. | ||
httpClient.BaseAddress = new Uri(_settings.BusinessPartnerPoolBaseAddress); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
(while technically working) this is not how a httpClientFactory (which is used in tokenService) should be used. The service-code should not have to deal with the baseAddress.
Thank you @ntruchsess , providing your feedback. I've looked at your commit and found some formatting and addition of license related information (especially in migration files). I'll have a look at configuration PR. |
Description
Set Catena-X Membership in BPDM.
Why
As Portal, we would like to maintain a list of all companies that were onboarded to the Catena-X network. This membership information is meant to be stored in the BPDM Pool. We therefore need to update the
isCatenaXMember
flag for a BPNL once the company has been onboarded.Issue
Ref: #1111
Config PR: eclipse-tractusx/portal#472
BPDM PR: eclipse-tractusx/bpdm#1072
Checklist