You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "pvillard31 (via GitHub)" <gi...@apache.org> on 2026/06/25 13:29:55 UTC
[PR] NIFI-16048 - Add property descriptor for Flow Registry Client Sync Interval [nifi-api]
pvillard31 opened a new pull request, #100:
URL: https://github.com/apache/nifi-api/pull/100
# Summary
NIFI-16048 - Add property descriptor for Flow Registry Client Sync Interval
# Tracking
Please complete the following tracking steps prior to pull request creation.
### Issue Tracking
- [ ] [Apache NiFi Jira](https://issues.apache.org/jira/browse/NIFI) issue created
### Pull Request Tracking
- [ ] Pull Request title starts with Apache NiFi Jira issue number, such as `NIFI-00000`
- [ ] Pull Request commit message starts with Apache NiFi Jira issue number, as such `NIFI-00000`
### Pull Request Formatting
- [ ] Pull Request based on current revision of the `main` branch
- [ ] Pull Request refers to a feature branch with one commit containing changes
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-16048 - Add property descriptor for Flow Registry Client Sync Interval [nifi-api]
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory commented on code in PR #100:
URL: https://github.com/apache/nifi-api/pull/100#discussion_r3529804067
##########
src/main/java/org/apache/nifi/registry/flow/AbstractFlowRegistryClient.java:
##########
@@ -17,13 +17,31 @@
package org.apache.nifi.registry.flow;
import org.apache.nifi.components.AbstractConfigurableComponent;
+import org.apache.nifi.components.PropertyDescriptor;
import org.apache.nifi.logging.ComponentLog;
+import org.apache.nifi.processor.util.StandardValidators;
import java.util.Optional;
import javax.net.ssl.SSLContext;
public abstract class AbstractFlowRegistryClient extends AbstractConfigurableComponent implements FlowRegistryClient {
+ /**
+ * Property that controls how often NiFi checks this Flow Registry Client for updated versions of the flows that
+ * are under version control against it. When this property is left blank, NiFi falls back to the global
+ * {@code nifi.flowcontroller.registry.sync.interval} property. Concrete Flow Registry Client implementations should
+ * include this descriptor in the List returned by {@link #getSupportedPropertyDescriptors()} in order to allow the
+ * synchronization interval to be configured on a per-client basis.
+ */
+ public static final PropertyDescriptor SYNCHRONIZATION_INTERVAL = new PropertyDescriptor.Builder()
+ .name("Synchronization Interval")
+ .description("""
+ How often NiFi checks this Flow Registry Client for newer versions of the flows that are under version control against it.\s\
Review Comment:
This `\s\` string looks extraneous
##########
src/main/java/org/apache/nifi/registry/flow/AbstractFlowRegistryClient.java:
##########
@@ -17,13 +17,31 @@
package org.apache.nifi.registry.flow;
import org.apache.nifi.components.AbstractConfigurableComponent;
+import org.apache.nifi.components.PropertyDescriptor;
import org.apache.nifi.logging.ComponentLog;
+import org.apache.nifi.processor.util.StandardValidators;
import java.util.Optional;
import javax.net.ssl.SSLContext;
public abstract class AbstractFlowRegistryClient extends AbstractConfigurableComponent implements FlowRegistryClient {
+ /**
+ * Property that controls how often NiFi checks this Flow Registry Client for updated versions of the flows that
+ * are under version control against it. When this property is left blank, NiFi falls back to the global
+ * {@code nifi.flowcontroller.registry.sync.interval} property. Concrete Flow Registry Client implementations should
+ * include this descriptor in the List returned by {@link #getSupportedPropertyDescriptors()} in order to allow the
+ * synchronization interval to be configured on a per-client basis.
+ */
+ public static final PropertyDescriptor SYNCHRONIZATION_INTERVAL = new PropertyDescriptor.Builder()
+ .name("Synchronization Interval")
+ .description("""
+ How often NiFi checks this Flow Registry Client for newer versions of the flows that are under version control against it.\s\
+ When left blank, the global nifi.flowcontroller.registry.sync.interval property is used.""")
Review Comment:
```suggestion
When left blank, the application uses the nifi.flowcontroller.registry.sync.interval property""")
```
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [PR] NIFI-16048 - Add property descriptor for Flow Registry Client Sync Interval [nifi-api]
Posted by "exceptionfactory (via GitHub)" <gi...@apache.org>.
exceptionfactory merged PR #100:
URL: https://github.com/apache/nifi-api/pull/100
--
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: issues-unsubscribe@nifi.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org