NIFI-8238: When FlowFile Concurrency/Outbound Policy is changed on child group, and child group is directly under version control, ensure that those fields are maintained on the generated VersionedProcessGroup when nested components are stripped out

Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com>

This closes #4831.
This commit is contained in:
Mark Payne 2021-02-18 15:42:46 -05:00 committed by Pierre Villard
parent f532b3ae1d
commit cd6418cdaf
No known key found for this signature in database
GPG Key ID: F92A93B30C07C6D5
1 changed files with 2 additions and 0 deletions

View File

@ -3604,6 +3604,8 @@ public final class StandardProcessGroup implements ProcessGroup {
childCopy.setName(childGroup.getName());
childCopy.setPosition(childGroup.getPosition());
childCopy.setVersionedFlowCoordinates(childGroup.getVersionedFlowCoordinates());
childCopy.setFlowFileConcurrency(childGroup.getFlowFileConcurrency());
childCopy.setFlowFileOutboundPolicy(childGroup.getFlowFileOutboundPolicy());
copyChildren.add(childCopy);
}