This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new cd6418c 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
cd6418c is described below
commit cd6418cdafd804fbaef74822659969458be10700
Author: Mark Payne <[email protected]>
AuthorDate: Thu Feb 18 15:42:46 2021 -0500
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 <[email protected]>
This closes #4831.
---
.../src/main/java/org/apache/nifi/groups/StandardProcessGroup.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
index 31e2084..bf9c77a 100644
---
a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
+++
b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-framework-components/src/main/java/org/apache/nifi/groups/StandardProcessGroup.java
@@ -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);
}