-
Notifications
You must be signed in to change notification settings - Fork 49
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
Improve the business-partner-validation
extensions
#673
Comments
Some things which come to my mind:
|
These are all valid points, but that's not what this issue is about. This issue is about storing the BPNs in a database, instead of hard-coding them directly in the policy. So functionally, nothing will change. Updating ContractDefinitions is possible via the Management API Whether or not a particular operation is allowed from a legal perspective may vary with country, jurisdiction, business context, etc., so it must be handled elsewhere, i.e. outside of EDC. |
Thanks for clarification and hint to Mgt API! |
WHAT
The current implementation of the BPN validation simply validates a BPN against a hard-coded list of BPNs stored on a policy. While this works well for testing, it is not scalable in a production environment, because
Duty
,Permission
,Prohibition
, where it only should bePermission
WHY
Inflexible and actually wrong implementation of BPN validation
HOW
Add a new extension, that performs the validation not against a hard-coded list, but rather reads that list from a database table. This table can be manipulated via a new API endpoint. Thus the following implementation items are necessary:
The text was updated successfully, but these errors were encountered: