This is an automated email from the ASF dual-hosted git repository.
bbende pushed a commit to branch NIFI-15258
in repository https://gitbox.apache.org/repos/asf/nifi-api.git
The following commit(s) were added to refs/heads/NIFI-15258 by this push:
new 7b621d1 NIFI-15557: Allow Connectors to enable a Controller Service
using overridden property values (#63)
7b621d1 is described below
commit 7b621d1ea6d0edd89e4899b43abf0d801fc019e5
Author: Mark Payne <[email protected]>
AuthorDate: Thu Feb 5 12:44:09 2026 -0500
NIFI-15557: Allow Connectors to enable a Controller Service using
overridden property values (#63)
---
.../connector/components/ControllerServiceLifecycle.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff --git
a/src/main/java/org/apache/nifi/components/connector/components/ControllerServiceLifecycle.java
b/src/main/java/org/apache/nifi/components/connector/components/ControllerServiceLifecycle.java
index 230391a..eca97b4 100644
---
a/src/main/java/org/apache/nifi/components/connector/components/ControllerServiceLifecycle.java
+++
b/src/main/java/org/apache/nifi/components/connector/components/ControllerServiceLifecycle.java
@@ -17,6 +17,7 @@
package org.apache.nifi.components.connector.components;
+import java.util.Map;
import java.util.concurrent.CompletableFuture;
public interface ControllerServiceLifecycle {
@@ -25,6 +26,16 @@ public interface ControllerServiceLifecycle {
CompletableFuture<Void> enable();
+ /**
+ * Enables the Controller Service using the provided property value
overrides. The overrides are merged with
+ * the currently configured property values, with the overrides taking
precedence. This allows enabling a service
+ * with temporary property value overrides without modifying the service's
configuration.
+ *
+ * @param propertyValueOverrides the property value overrides to apply
when enabling the service
+ * @return a CompletableFuture that completes when the service has been
enabled
+ */
+ CompletableFuture<Void> enable(Map<String, String> propertyValueOverrides);
+
CompletableFuture<Void> disable();
}