tpalfy commented on code in PR #7191:
URL: https://github.com/apache/nifi/pull/7191#discussion_r1266865526
##########
nifi-api/src/main/java/org/apache/nifi/flow/VersionedPropertyDescriptor.java:
##########
@@ -62,6 +63,15 @@ public void setSensitive(boolean sensitive) {
this.sensitive = sensitive;
}
+ @ApiModelProperty("Whether or not the property is user-defined")
+ public boolean isDynamic() {
+ return dynamic;
+ }
+
+ public void setDynamic(boolean dynamic) {
Review Comment:
The narrowly scoped answer is to let rules see this.
I think there's a broader picture here though.
The Versioned* family is used to create a serialized form of a flow.
So far that serizalization was only used to load the flow into a running
NiFi. As such the 'dynamic' aspect of a property could be calculated. But
calculated state as a concept doesn't fit with the idea of having a serialized
representation for general purpose.
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]