Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 08-27-2018 04:25 PM
We're using the NiFi Registry to store our flows. Some of them have subgroups inside them, with variables defined on that subgroups, - the thought was that this subgroups will be reusable with only these variables changing. I.e., the structure is of the following shape:
group under version control |-subgroup AWe don't want to store these subgroups under version control too, because it would be just too much work. But the problem is that, when we change the values A1 and A2 and commit the top group, the subgroup variables aren't updated in registry, we have to delete the whole registry entry and recreate it from scratch. Is this the correct behaviour?
|-variable with value A1 |-subgroup A
|-variable with value A2
Created 08-27-2018 05:29 PM
This behavior is currently how it is designed to work.
The presence of variables is captured with their initial value at the time, but then changes to the variable values do not trigger changes to be committed. The idea is that you create your flow in one environment with some number of variables, then promote it to another environment and change the variable values to be whatever is needed for the new environment, which should not require anything to be committed back to registry.
Created 08-27-2018 05:29 PM
This behavior is currently how it is designed to work.
The presence of variables is captured with their initial value at the time, but then changes to the variable values do not trigger changes to be committed. The idea is that you create your flow in one environment with some number of variables, then promote it to another environment and change the variable values to be whatever is needed for the new environment, which should not require anything to be committed back to registry.
Created 08-27-2018 06:37 PM
Just wanted to add for awareness that there are other actions that are not considered local changes. From the NiFi User Guide (https://nifi.apache.org/docs/nifi-docs/html/user-guide.html#managing_local_changes):