This is an automated email from the ASF dual-hosted git repository.
pvillard pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/nifi.git
The following commit(s) were added to refs/heads/main by this push:
new bf06730370 NIFI-15294 Deprecated GetAsanaObject for removal
bf06730370 is described below
commit bf06730370b8bf0f849d8d67400e1a46806ea047
Author: exceptionfactory <[email protected]>
AuthorDate: Thu Dec 4 09:42:33 2025 -0600
NIFI-15294 Deprecated GetAsanaObject for removal
- Deprecated StandardAsanaClientProviderService for removal
- Asana components depend on the java-asana library that is no longer
maintained
Signed-off-by: Pierre Villard <[email protected]>
This closes #10601.
---
.../src/main/java/org/apache/nifi/processors/asana/GetAsanaObject.java | 2 ++
.../nifi/controller/asana/StandardAsanaClientProviderService.java | 2 ++
2 files changed, 4 insertions(+)
diff --git
a/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-processors/src/main/java/org/apache/nifi/processors/asana/GetAsanaObject.java
b/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-processors/src/main/java/org/apache/nifi/processors/asana/GetAsanaObject.java
index 2b060bc92b..c689a85bde 100644
---
a/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-processors/src/main/java/org/apache/nifi/processors/asana/GetAsanaObject.java
+++
b/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-processors/src/main/java/org/apache/nifi/processors/asana/GetAsanaObject.java
@@ -24,6 +24,7 @@ import
org.apache.nifi.annotation.behavior.SystemResourceConsideration;
import org.apache.nifi.annotation.behavior.TriggerSerially;
import org.apache.nifi.annotation.behavior.WritesAttribute;
import org.apache.nifi.annotation.documentation.CapabilityDescription;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
import org.apache.nifi.annotation.documentation.Tags;
import org.apache.nifi.annotation.lifecycle.OnScheduled;
import org.apache.nifi.components.PropertyDescriptor;
@@ -83,6 +84,7 @@ import static
org.apache.nifi.processors.asana.AsanaObjectType.AV_COLLECT_TASKS;
import static
org.apache.nifi.processors.asana.AsanaObjectType.AV_COLLECT_TASK_ATTACHMENTS;
import static
org.apache.nifi.processors.asana.AsanaObjectType.AV_COLLECT_TEAM_MEMBERS;
+@DeprecationNotice(reason = "Depends on unsupported java-asana library")
@TriggerSerially
@PrimaryNodeOnly
@InputRequirement(InputRequirement.Requirement.INPUT_FORBIDDEN)
diff --git
a/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-services/src/main/java/org/apache/nifi/controller/asana/StandardAsanaClientProviderService.java
b/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-services/src/main/java/org/apache/nifi/controller/asana/StandardAsanaClientProviderService.java
index 9732fbb20f..a97f2d2ee3 100644
---
a/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-services/src/main/java/org/apache/nifi/controller/asana/StandardAsanaClientProviderService.java
+++
b/nifi-extension-bundles/nifi-asana-bundle/nifi-asana-services/src/main/java/org/apache/nifi/controller/asana/StandardAsanaClientProviderService.java
@@ -18,6 +18,7 @@ package org.apache.nifi.controller.asana;
import com.asana.Client;
import org.apache.nifi.annotation.documentation.CapabilityDescription;
+import org.apache.nifi.annotation.documentation.DeprecationNotice;
import org.apache.nifi.annotation.documentation.Tags;
import org.apache.nifi.annotation.lifecycle.OnEnabled;
import org.apache.nifi.components.PropertyDescriptor;
@@ -30,6 +31,7 @@ import java.util.List;
import static
org.apache.nifi.controller.asana.StandardAsanaClient.ASANA_CLIENT_OPTION_BASE_URL;
+@DeprecationNotice(reason = "Depends on unsupported java-asana library")
@CapabilityDescription("Common service to authenticate with Asana, and to work
on a specified workspace.")
@Tags({"asana", "service", "authentication"})
public class StandardAsanaClientProviderService extends
AbstractControllerService implements AsanaClientProviderService {