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
Open
4 tasks done

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

tfjanjua opened this issue Oct 23, 2024 · 0 comments
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.
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

No branches or pull requests

1 participant