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

Process Worker | Set Catena-X Membership in BPDM #1111

Open
4 tasks done
tfjanjua opened this issue Oct 23, 2024 · 0 comments · May be fixed by #1118
Open
4 tasks done

Process Worker | Set Catena-X Membership in BPDM #1111

tfjanjua opened this issue Oct 23, 2024 · 0 comments · May be fixed by #1118
Assignees
Labels
enhancement New feature or request

Comments

@tfjanjua
Copy link
Contributor

tfjanjua commented Oct 23, 2024

Description

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.

The BPDM Pool offers an endpoint to update the isCatenaXMember flag via an endpoint. Example to update the membership information for a given BPNL. Please note that the path needs to be adapted to the specific environment.

curl -X 'PUT' \
  'http://bpdm-example.com/v6/cx-memberships' \
  -H 'accept: */*' \
  -H 'Content-Type: application/json' \
  -d '{
  "memberships": [
    {
      "bpnL": "BPNL000000000001",
      "isCatenaXMember": true
    }
  ]
}'

Corresponding Configuration Ticket

eclipse-tractusx/portal#471

Corresponding BPDM PR

PR: eclipse-tractusx/bpdm#1072

Acceptance Criteria

  • New ApplicationChecklist process step SET_CX_MEMBERSHIP_IN_BPDM need be added for setting the Catena-X membership in BPDM.
  • This new ApplicationChecklist process step would be calling above mentioned PUT api call and setting the isCatenaXMember status.
  • This new ApplicationChecklist process step would have re-trigger option as well.
  • This new ApplicationChecklist process step need to be called after MEMBERSHIP_CREDENTIAL step but this new step could also be called as part of APPLICATION_ACTIVATION type and called after the SET_MEMBERSHIP step.

Test Cases

Test Case 1: Verify SET_CX_MEMBERSHIP_IN_BPDM step as part of process worker

Test Case 2: Verify SET_CX_MEMBERSHIP_IN_BPDM step as part of re-trigger process.

  • Navigate to https://portal.example.com/invite and invite Business Partner.
  • Complete the registration of newly invited Business Partner.
  • Navigate to https://portal.example.com/applicationRequests and let the process worker work.
  • Fail SET_CX_MEMBERSHIP_IN_BPDM step by removing the BPN.
  • Re-Trigger SET_CX_MEMBERSHIP_IN_BPDM step.
  • Verify that process worker will be re-started and completed all rest of the steps.
@tfjanjua tfjanjua added the enhancement New feature or request label Oct 23, 2024
@tfjanjua tfjanjua self-assigned this Oct 23, 2024
@tfjanjua tfjanjua added this to Portal Oct 23, 2024
@github-project-automation github-project-automation bot moved this to NEW USER REQUEST in Portal Oct 23, 2024
tfjanjua added a commit to tfjanjua/portal-backend that referenced this issue Oct 25, 2024
@tfjanjua tfjanjua linked a pull request Oct 25, 2024 that will close this issue
6 tasks
@tfjanjua tfjanjua moved this from NEW USER REQUEST to IN REVIEW in Portal Oct 28, 2024
tfjanjua added a commit to tfjanjua/portal-backend that referenced this issue Oct 28, 2024
@ntruchsess ntruchsess linked a pull request Nov 20, 2024 that will close this issue
6 tasks
ntruchsess pushed a commit to tfjanjua/portal-backend that referenced this issue Nov 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: IN REVIEW
Development

Successfully merging a pull request may close this issue.

1 participant