You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by ij...@apache.org on 2018/11/06 06:19:13 UTC
nifi git commit: NIFI-5677 Added note to clarify why
modifying/creating variables not local changes in versioned flows
Repository: nifi
Updated Branches:
refs/heads/master 37a0e1b30 -> d0688d078
NIFI-5677 Added note to clarify why modifying/creating variables not local changes in versioned flows
Update user-guide.adoc
This closes #3125.
Signed-off-by: Koji Kawamura <ij...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/d0688d07
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/d0688d07
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/d0688d07
Branch: refs/heads/master
Commit: d0688d0785dd7dee0e761975f993bdaf8e374139
Parents: 37a0e1b
Author: Andrew Lim <an...@gmail.com>
Authored: Fri Nov 2 13:12:05 2018 -0400
Committer: Koji Kawamura <ij...@apache.org>
Committed: Tue Nov 6 15:17:32 2018 +0900
----------------------------------------------------------------------
nifi-docs/src/main/asciidoc/user-guide.adoc | 4 +++-
1 file changed, 3 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/nifi/blob/d0688d07/nifi-docs/src/main/asciidoc/user-guide.adoc
----------------------------------------------------------------------
diff --git a/nifi-docs/src/main/asciidoc/user-guide.adoc b/nifi-docs/src/main/asciidoc/user-guide.adoc
index c69b771..873b949 100644
--- a/nifi-docs/src/main/asciidoc/user-guide.adoc
+++ b/nifi-docs/src/main/asciidoc/user-guide.adoc
@@ -1928,7 +1928,9 @@ The following actions are not considered local changes:
* modifying sensitive property values
* modifying remote process group URLs
* updating a processor that was referencing a non-existent controller service to reference an externally available controller service
-* modifying variables
+* creating, modifying or deleting variables
+
+NOTE: Creating a variable does not trigger a local change because creating a variable on its own has not changed anything about what the flow processes. A component will have to be created or modified that uses the new variable, which will trigger a local change. Modifying a variable does not trigger a local change because variable values are intended to be different in each environment. When a versioned flow is imported, it is assumed there is a one-time operation required to set those variables specific for the given environment. Deleting a variable does not trigger a local change because the component that references that variable will need need to be modified, which will trigger a local change.
WARNING: Variables do not support sensitive values and will be included when versioning a Process Group. See <<Variables_in_Versioned_Flows>> for more information.