deckhand/deckhand/common
Felipe Monteiro 177675e96f [fix] Parent substitution/layering before replacement
Currently it doesn't seem document replacement works
exactly as expected: The parent-replacement document
can receive layering and substitution data prior to
being replaced. Currently, Deckhand does not account
for this scenario.

A child-replacement depends on its parent-replacement
the same way any child depends on its parent: so that the
child layers with its parent only after the parent has
received all layering and substitution data. But other
documents that depend on the parent-replacement actually
depend on the child-replacement instead as the
child-replacement replaces its parent. So the dependency
chain is: PR -> CR -> anything that layers with PR.

A unit and functional test have been added for regression.

Co-Authored-By: Felipe Monteiro <felipe.monteiro@att.com>
Change-Id: I353393f416aa6e441d84add9ebedcd152944d7e8
2018-05-14 19:31:57 -04:00
..
__init__.py Document replacement: Update Document unique constraint 2018-03-28 17:08:03 -04:00
document.py Engine implementation for document replacement 2018-03-28 17:09:09 -04:00
utils.py [fix] Parent substitution/layering before replacement 2018-05-14 19:31:57 -04:00
validation_message.py [validation] Add validation codes DXXX for validation failures 2018-05-05 02:08:18 +00:00