Feature #6269

Generalize the Propagation Constraint

Added by Luca Frosini almost 3 years ago. Updated almost 3 years ago.

Status:ClosedStart date:Dec 20, 2016
Priority:NormalDue date:Dec 31, 2016
Assignee:Luca Frosini% Done:

100%

Category:information-system
Sprint:zz - New Information System - 1
Milestones:
Duration: 9

Description

Actually only Referential Integrity directive are available on Relations.

A more general solution must provide directive for actions like :

  • remove : delete and removeFromContext made on Entity must be propagated accordingly to this directive;
  • add : addToContext made on Entity must be propagated accordingly to this directive.

Subtasks

Feature #6271: Change Relations Hooks to be aligned with new Propagation...ClosedLuca Frosini

Feature #6272: Change Smartgears publication of Hosts Relation to be ali...ClosedLuca Frosini

Feature #6273: Manage Propagation Constraint on Resource RegistryClosedLuca Frosini

History

#1 Updated by Luca Frosini almost 3 years ago

A PropagationConstraint Embedded Object has been defined.
The Class contains two Enum field.

The first one is the remove constraint which can assume the following values:

  • keep
  • cascade
  • cascadeWhenOrphan

The second one is the remove constraint which can assume the following values (BETTER VALUE NAMES SHOULD BE FOUND):

  • propagate
  • unpropagate

#2 Updated by Luca Frosini almost 3 years ago

  • Due date set to Dec 31, 2016

due to changes in a related task

#3 Updated by Luca Frosini almost 3 years ago

  • Status changed from In Progress to Closed

Also available in: Atom PDF