deckhand/tools
Felipe Monteiro 6f86088a9a replacement: Fix update substitution source for replacement
This patchset fixes an edge case with respect to updating
substitution sources after a document has been rendered vis-a-vis
replacement.

Substitution sources only use schema/name which doesn't uniquely
identify replacement documents. Thus, an additional check is
required in `update_substitution_sources` to ensure that the
parent-replacement document doesn't overwrite data for the
child-replacement document.

Note that Deckhand prioritizes the child-replacement to be rendered
immediately after the parent-replacement document, meaning that the
child-replacement document will be the one who correctly updates
the substitution sources (which don't include parent-replacement
documents). Afterward, all other documents that reference the
parent-replacement should get the correct data.

Unit and functional tests have been added for a multi-layer
replacement scenario which regression-test the bug.

Change-Id: Ie6d921d98b7aa87e35a7aa5256cc7da2c0a256b0
2018-06-21 21:51:14 +00:00
..
gate Merge "chore(gate): consolidate zuul job" 2018-06-19 21:08:02 +00:00
common-tests.sh Add uwsgi functional test check to .zuul.yaml 2018-05-29 20:25:15 +00:00
functional-tests.sh Zuul: Integration tests via uwsgi. 2018-05-31 17:31:50 +00:00
helm_tk.sh Update Deckhand API Pod Labels 2018-05-14 04:54:55 +00:00
image_tags.py (zuul) Docker image jobs 2018-06-09 00:25:15 +00:00
integration-tests.sh Update Deckhand test-/requirements.txt 2018-06-16 18:18:28 -04:00
run_pifpaf.sh Update Deckhand test-/requirements.txt 2018-06-16 18:18:28 -04:00
unit-tests.sh Switch to stestr 2018-03-28 13:06:46 -04:00
whitespace-linter.sh replacement: Fix update substitution source for replacement 2018-06-21 21:51:14 +00:00