alopresto commented on a change in pull request #3514: NIFI-6344 Add
UpdateAttribute Failure Relationship
URL: https://github.com/apache/nifi/pull/3514#discussion_r291004186
##########
File path:
nifi-nar-bundles/nifi-update-attribute-bundle/nifi-update-attribute-processor/src/main/java/org/apache/nifi/processors/attributes/UpdateAttribute.java
##########
@@ -201,6 +209,19 @@ public ValidationResult validate(String subject, String
input, ValidationContext
.required(true)
.build();
+ public static final PropertyDescriptor FAILURE_ACTION = new
PropertyDescriptor.Builder()
+ .name("update-attribute-failure-action")
+ .displayName("Failure Action")
+ .description("When updating attributes fails, what action should
be taken by the processor.")
+ .required(true)
+ .allowableValues(new AllowableValue(FAILURE_ACTION_ROLLBACK,
"Rollback Session",
+ "Rolls back the session, reverting any changes to
the FlowFile and returning it" +
+ "to it's queue."),
Review comment:
Minor typo `it's` -> `its`.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services