-
Notifications
You must be signed in to change notification settings - Fork 16
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(BPDM): Set BPDM pool url #472
base: main
Are you sure you want to change the base?
chore(BPDM): Set BPDM pool url #472
Conversation
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.
referenced values are inappropriate (apiPath instead of baseAddress which must be a full url).
respective url also must be added to the respective values.yaml-files
@@ -147,6 +147,8 @@ spec: | |||
value: "{{ .Values.backend.useDimWallet }}" | |||
- name: "APPLICATIONCHECKLIST__BPDM__STARTSHARINGSTATEASREADY" | |||
value: "{{ .Values.backend.processesworker.bpdm.startSharingStateAsReady }}" | |||
- name: "APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS" | |||
value: "{{ .Values.bpdm.poolAddress }}{{ .Values.bpdm.poolApiPath }}" |
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.
this is referring to a path:
poolApiPath: "/pool/v6" |
but expected is a full url:
https://github.com/eclipse-tractusx/portal-backend/blob/c649d4d243c4d84d1b840d5b1d101ac77750993d/src/externalsystems/Bpdm.Library/BpdmService.cs#L188
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.
Config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
has the following value:
https://business-partners-pool.example.com/pool/v6
and rest of the url part (v6/cx-memberships
) has already been placed while calling it from httpClient:
https://github.com/eclipse-tractusx/portal-backend/blob/c649d4d243c4d84d1b840d5b1d101ac77750993d/src/externalsystems/Bpdm.Library/BpdmService.cs#L195C42-L195C59
So, its like:
https://business-partners-pool.example.com/pool/v6/v6/cx-memberships
So, I think no full url is expected.
However, since url part (v6/cx-memberships
) has already been placed so, I can remove the poolApiPath
from the value
of config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
So, then config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
will be:
https://business-partners-pool.example.com/
and rest of the url part (v6/cx-memberships
) will make it:
https://business-partners-pool.example.com/v6/cx-memberships
@@ -117,6 +117,8 @@ spec: | |||
value: "{{ .Values.backend.useDimWallet }}" | |||
- name: "APPLICATIONCHECKLIST__BPDM__STARTSHARINGSTATEASREADY" | |||
value: "{{ .Values.backend.processesworker.bpdm.startSharingStateAsReady }}" | |||
- name: "APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS" | |||
value: "{{ .Values.bpdm.poolAddress }}{{ .Values.bpdm.poolApiPath }}" |
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.
this is referring to a path:
poolApiPath: "/pool/v6" |
but expected is a full url:
https://github.com/eclipse-tractusx/portal-backend/blob/c649d4d243c4d84d1b840d5b1d101ac77750993d/src/externalsystems/Bpdm.Library/BpdmService.cs#L188
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.
Config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
has the following value:
https://business-partners-pool.example.com/pool/v6
and rest of the url part (v6/cx-memberships
) has already been placed while calling it from httpClient:
https://github.com/eclipse-tractusx/portal-backend/blob/c649d4d243c4d84d1b840d5b1d101ac77750993d/src/externalsystems/Bpdm.Library/BpdmService.cs#L195C42-L195C59
So, its like:
https://business-partners-pool.example.com/pool/v6/v6/cx-memberships
So, I think no full url is expected.
However, since url part (v6/cx-memberships
) has already been placed so, I can remove the poolApiPath
from the value
of config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
So, then config param APPLICATIONCHECKLIST__BPDM__BUSINESSPARTNERPOOLBASEADDRESS
will be:
https://business-partners-pool.example.com/
and rest of the url part (v6/cx-memberships
) will make it:
https://business-partners-pool.example.com/v6/cx-memberships
Description
Set BPDM pool url to call Business Partner Pool
Why
Required for: Set Catena-X Membership in BPDM.
Issue
Ref: #471
eclipse-tractusx/portal-backend#1118
Checklist