Skip to content

Prevent Broken States by Deletion / Editing #462

Open
@richardtreier

Description

Feature Request

Description

The Core EDC has loose coupling of entities. One can delete an asset for a live contract agreement and have future transfer processes fail.

We could either design our own foreign key constraints (problematic due to existing loose data) or especially enforce relations in our API Wrapper endpoints.

This would allow us to prevent not well defined broken states such as #228

depends on #364

this is an alternative solution to #387

Check:

  • Assets can be deleted while referenced by a contract definition, and can later be re-created..
  • Assets can be deleted while referenced by a contract agreement (!), and can later be re-created.
  • Contract Definitions can be created with Policy Definitions that don't exist.

Tasks

Preview Give feedback

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions