[nifi] branch main updated: NIFI-12068: This closes #7737. Added the ability to annotate components with @UseCase and @MultiProcessorUseCase annotations; updated several processors to make use of them
This is an automated email from the ASF dual-hosted git repository. joewitt 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 140ac52e9d NIFI-12068: This closes #7737. Added the ability to annotate components with @UseCase and @MultiProcessorUseCase annotations; updated several processors to make use of them. 140ac52e9d is described below commit 140ac52e9d6434426ec679c5fa7258e0f1fba3c2 Author: Mark Payne AuthorDate: Fri Sep 15 12:04:10 2023 -0400 NIFI-12068: This closes #7737. Added the ability to annotate components with @UseCase and @MultiProcessorUseCase annotations; updated several processors to make use of them. Signed-off-by: Joseph Witt --- .../documentation/MultiProcessorUseCase.java | 77 + .../documentation/MultiProcessorUseCases.java | 36 +++ .../documentation/ProcessorConfiguration.java | 57 .../nifi/annotation/documentation/UseCase.java | 89 ++ .../nifi/annotation/documentation/UseCases.java| 36 +++ .../documentation/AbstractDocumentationWriter.java | 30 +- .../documentation/xml/XmlDocumentationWriter.java | 59 .../apache/nifi/extension/manifest/Extension.java | 26 ++ .../extension/manifest/MultiProcessorUseCase.java | 75 + .../extension/manifest/ProcessorConfiguration.java | 43 +++ .../apache/nifi/extension/manifest/UseCase.java| 84 ++ .../nifi/processors/aws/s3/FetchS3Object.java | 88 +- .../html/HtmlDocumentationWriter.java | 136 + .../nifi/processors/standard/CompressContent.java | 37 +++ .../nifi/processors/standard/ConvertRecord.java| 6 + .../nifi/processors/standard/MergeContent.java | 309 - .../nifi/processors/standard/PartitionRecord.java | 35 ++- .../processors/standard/PutDatabaseRecord.java | 2 + .../nifi/processors/standard/QueryRecord.java | 43 ++- .../nifi/processors/standard/ReplaceText.java | 65 - .../nifi/processors/standard/RouteOnAttribute.java | 81 +- .../apache/nifi/processors/standard/RouteText.java | 34 ++- .../nifi/processors/standard/UpdateRecord.java | 62 - 23 files changed, 1361 insertions(+), 149 deletions(-) diff --git a/nifi-api/src/main/java/org/apache/nifi/annotation/documentation/MultiProcessorUseCase.java b/nifi-api/src/main/java/org/apache/nifi/annotation/documentation/MultiProcessorUseCase.java new file mode 100644 index 00..562647ea6a --- /dev/null +++ b/nifi-api/src/main/java/org/apache/nifi/annotation/documentation/MultiProcessorUseCase.java @@ -0,0 +1,77 @@ +/* + * Licensed to the Apache Software Foundation (ASF) under one or more + * contributor license agreements. See the NOTICE file distributed with + * this work for additional information regarding copyright ownership. + * The ASF licenses this file to You under the Apache License, Version 2.0 + * (the "License"); you may not use this file except in compliance with + * the License. You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +package org.apache.nifi.annotation.documentation; + +import java.lang.annotation.Documented; +import java.lang.annotation.ElementType; +import java.lang.annotation.Inherited; +import java.lang.annotation.Repeatable; +import java.lang.annotation.Retention; +import java.lang.annotation.RetentionPolicy; +import java.lang.annotation.Target; + +/** + * + * An annotation that can be used for Processors in order to explain a specific use case that can be + * accomplished using this Processor in conjunction with at least one other Processor. + * For Processors that are able to be used for multiple use cases, the component + * may be annotated with multiple MultiProcessorUseCase annotations. + * + * + * Note that this annotation differs from {@link UseCase} in that UseCase should describe a use case that is + * accomplished using only the extension that is annotated. In contrast, MultiProcessorUseCase documents a use case + * that is accomplished by using both the Processor that is annotated as well as other Processors. + * + */ +@Documented +@Target({ElementType.TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Inherited +@Repeatable(MultiProcessorUseCases.class) +public @interface MultiProcessorUseCase { + +/** + * A simple 1 (at most 2) sentence description of the use case. This should not include any extraneous details, such + * as caveats, examples, etc. Those can be provided using the {@link #notes()} method.
[nifi] branch main updated: NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull()
This is an automated email from the ASF dual-hosted git repository. exceptionfactory 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 4b9eb8361c NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull() 4b9eb8361c is described below commit 4b9eb8361ce6352c1e155c99748fd1f97df76c0c Author: Pierre Villard AuthorDate: Fri Sep 22 16:14:31 2023 +0200 NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull() This closes #7779 Signed-off-by: David Handermann --- .../org/apache/nifi/security/krb/KerberosAction.java | 11 --- .../nifi/processor/util/listen/event/EventQueue.java | 9 - .../java/org/apache/nifi/hadoop/SecurityUtil.java| 11 ++- .../impl/request/ProxiedEntityRequestConfig.java | 4 ++-- .../apache/nifi/registry/event/StandardEvent.java| 4 +--- .../nifi/registry/event/StandardEventField.java | 7 ++- .../extension/StandardBundlePersistenceContext.java | 5 +++-- .../security/authorization/AuthorizerFactory.java| 12 ++-- .../database/DatabaseAccessPolicyProvider.java | 9 + .../database/DatabaseUserGroupProvider.java | 13 +++-- .../nifi/registry/service/RegistryService.java | 14 +++--- .../service/extension/StandardExtensionService.java | 20 +++- .../nifi/registry/web/api/ApplicationResource.java | 8 +++- .../nifi/toolkit/cli/api/ResolvedReference.java | 12 +--- .../toolkit/cli/impl/client/NiFiClientFactory.java | 4 ++-- .../impl/request/ProxiedEntityRequestConfig.java | 4 ++-- .../toolkit/cli/impl/command/AbstractCommand.java| 16 +--- .../cli/impl/command/AbstractCommandGroup.java | 3 ++- .../toolkit/cli/impl/command/CommandProcessor.java | 14 +- .../impl/command/nifi/params/ExportParamContext.java | 5 ++--- .../toolkit/cli/impl/context/StandardContext.java| 15 +-- .../cli/impl/result/AbstractWritableResult.java | 5 ++--- .../nifi/toolkit/cli/impl/result/StringResult.java | 5 ++--- .../cli/impl/result/nifi/AccessPolicyResult.java | 5 ++--- .../impl/result/nifi/ClusterSummaryEntityResult.java | 5 ++--- .../result/nifi/ControllerConfigurationResult.java | 5 ++--- .../impl/result/nifi/ControllerServiceResult.java| 5 ++--- .../impl/result/nifi/ControllerServicesResult.java | 5 ++--- .../impl/result/nifi/CurrentUserEntityResult.java| 5 ++--- .../cli/impl/result/nifi/CurrentUserResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/NodeResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/NodesResult.java| 5 ++--- .../cli/impl/result/nifi/ParamContextsResult.java| 4 ++-- .../cli/impl/result/nifi/ProcessGroupResult.java | 5 ++--- .../cli/impl/result/nifi/ProcessGroupsResult.java| 5 ++--- .../cli/impl/result/nifi/ProcessorResult.java| 5 ++--- .../cli/impl/result/nifi/ProcessorsResult.java | 5 ++--- .../cli/impl/result/nifi/RegistryClientIDResult.java | 5 ++--- .../cli/impl/result/nifi/RegistryClientsResult.java | 5 ++--- .../cli/impl/result/nifi/ReportingTaskResult.java| 5 ++--- .../cli/impl/result/nifi/ReportingTasksResult.java | 5 ++--- .../cli/impl/result/nifi/UserGroupsResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/UsersResult.java| 5 ++--- .../cli/impl/result/nifi/VariableRegistryResult.java | 5 ++--- .../impl/result/nifi/VersionControlInfoResult.java | 5 ++--- .../cli/impl/result/registry/AccessPolicyResult.java | 5 ++--- .../cli/impl/result/registry/BucketsResult.java | 5 ++--- .../result/registry/ExtensionMetadataResult.java | 5 ++--- .../registry/ExtensionRepoArtifactsResult.java | 5 ++--- .../result/registry/ExtensionRepoGroupsResult.java | 5 ++--- .../ExtensionRepoVersionSummariesResult.java | 5 ++--- .../RegisteredFlowSnapshotMetadataResult.java| 5 ++--- .../cli/impl/result/registry/TagCountResult.java | 5 ++--- .../cli/impl/result/registry/UserGroupsResult.java | 5 ++--- .../cli/impl/result/registry/UsersResult.java| 5 ++--- .../registry/VersionedFlowDifferenceResult.java | 4 ++-- .../VersionedFlowSnapshotMetadataSetResult.java | 5 ++--- .../result/registry/VersionedFlowSnapshotResult.java | 5 ++--- .../registry/VersionedFlowSnapshotsResult.java | 5 ++--- .../impl/result/registry/VersionedFlowsResult.java | 5 ++--- .../toolkit/cli/impl/session/PersistentSession.java | 8 +++- 61 files changed, 166 insertions(+), 235 deletions(-) diff --git a/nifi-commons/nifi-security-kerberos/src/main/java/org/apache/nifi/security/krb/KerberosAction.java b/nifi-commons/nifi-security-kerberos/src/main/java/org/apache/nifi/security/krb/KerberosAction.java index ee1bfbf321..62938647ce 100644
[nifi] branch support/nifi-1.x updated: NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull()
This is an automated email from the ASF dual-hosted git repository. exceptionfactory pushed a commit to branch support/nifi-1.x in repository https://gitbox.apache.org/repos/asf/nifi.git The following commit(s) were added to refs/heads/support/nifi-1.x by this push: new e7574cddb9 NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull() e7574cddb9 is described below commit e7574cddb9352838350b4a228e6038806a4210d0 Author: Pierre Villard AuthorDate: Fri Sep 22 16:14:31 2023 +0200 NIFI-12113 Replaced Validate.notNull() with Objects.requireNonNull() This closes #7779 Signed-off-by: David Handermann (cherry picked from commit 4b9eb8361ce6352c1e155c99748fd1f97df76c0c) --- .../org/apache/nifi/security/krb/KerberosAction.java | 11 --- .../nifi/processor/util/listen/event/EventQueue.java | 9 - .../java/org/apache/nifi/hadoop/SecurityUtil.java| 11 ++- .../impl/request/ProxiedEntityRequestConfig.java | 4 ++-- .../apache/nifi/registry/event/StandardEvent.java| 4 +--- .../nifi/registry/event/StandardEventField.java | 7 ++- .../extension/StandardBundlePersistenceContext.java | 5 +++-- .../security/authorization/AuthorizerFactory.java| 12 ++-- .../database/DatabaseAccessPolicyProvider.java | 9 + .../database/DatabaseUserGroupProvider.java | 13 +++-- .../nifi/registry/service/RegistryService.java | 14 +++--- .../service/extension/StandardExtensionService.java | 20 +++- .../nifi/registry/web/api/ApplicationResource.java | 8 +++- .../nifi/toolkit/cli/api/ResolvedReference.java | 12 +--- .../toolkit/cli/impl/client/NiFiClientFactory.java | 4 ++-- .../impl/request/ProxiedEntityRequestConfig.java | 4 ++-- .../toolkit/cli/impl/command/AbstractCommand.java| 16 +--- .../cli/impl/command/AbstractCommandGroup.java | 3 ++- .../toolkit/cli/impl/command/CommandProcessor.java | 14 +- .../impl/command/nifi/params/ExportParamContext.java | 5 ++--- .../toolkit/cli/impl/context/StandardContext.java| 15 +-- .../cli/impl/result/AbstractWritableResult.java | 5 ++--- .../nifi/toolkit/cli/impl/result/StringResult.java | 5 ++--- .../cli/impl/result/nifi/AccessPolicyResult.java | 5 ++--- .../impl/result/nifi/ClusterSummaryEntityResult.java | 5 ++--- .../result/nifi/ControllerConfigurationResult.java | 5 ++--- .../impl/result/nifi/ControllerServiceResult.java| 5 ++--- .../impl/result/nifi/ControllerServicesResult.java | 5 ++--- .../impl/result/nifi/CurrentUserEntityResult.java| 5 ++--- .../cli/impl/result/nifi/CurrentUserResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/NodeResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/NodesResult.java| 5 ++--- .../cli/impl/result/nifi/ParamContextsResult.java| 4 ++-- .../cli/impl/result/nifi/ProcessGroupResult.java | 5 ++--- .../cli/impl/result/nifi/ProcessGroupsResult.java| 5 ++--- .../cli/impl/result/nifi/ProcessorResult.java| 5 ++--- .../cli/impl/result/nifi/ProcessorsResult.java | 5 ++--- .../cli/impl/result/nifi/RegistryClientIDResult.java | 5 ++--- .../cli/impl/result/nifi/RegistryClientsResult.java | 5 ++--- .../cli/impl/result/nifi/ReportingTaskResult.java| 5 ++--- .../cli/impl/result/nifi/ReportingTasksResult.java | 5 ++--- .../cli/impl/result/nifi/UserGroupsResult.java | 5 ++--- .../toolkit/cli/impl/result/nifi/UsersResult.java| 5 ++--- .../cli/impl/result/nifi/VariableRegistryResult.java | 5 ++--- .../impl/result/nifi/VersionControlInfoResult.java | 5 ++--- .../cli/impl/result/registry/AccessPolicyResult.java | 5 ++--- .../cli/impl/result/registry/BucketsResult.java | 5 ++--- .../result/registry/ExtensionMetadataResult.java | 5 ++--- .../registry/ExtensionRepoArtifactsResult.java | 5 ++--- .../result/registry/ExtensionRepoGroupsResult.java | 5 ++--- .../ExtensionRepoVersionSummariesResult.java | 5 ++--- .../RegisteredFlowSnapshotMetadataResult.java| 5 ++--- .../cli/impl/result/registry/TagCountResult.java | 5 ++--- .../cli/impl/result/registry/UserGroupsResult.java | 5 ++--- .../cli/impl/result/registry/UsersResult.java| 5 ++--- .../registry/VersionedFlowDifferenceResult.java | 4 ++-- .../VersionedFlowSnapshotMetadataSetResult.java | 5 ++--- .../result/registry/VersionedFlowSnapshotResult.java | 5 ++--- .../registry/VersionedFlowSnapshotsResult.java | 5 ++--- .../impl/result/registry/VersionedFlowsResult.java | 5 ++--- .../toolkit/cli/impl/session/PersistentSession.java | 8 +++- 61 files changed, 166 insertions(+), 235 deletions(-) diff --git a/nifi-commons/nifi-security-kerberos/src/main/java/org/apache/nifi/security/krb/KerberosAction.java
[nifi] branch main updated: NIFI-12101: This closes #7768. Fixed bugs that caused StatelessBasicsIT.testChangeFlowVersion to fail. There were a couple of related issues. Firstly, for Stateless Groups
This is an automated email from the ASF dual-hosted git repository. joewitt 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 713be8b539 NIFI-12101: This closes #7768. Fixed bugs that caused StatelessBasicsIT.testChangeFlowVersion to fail. There were a couple of related issues. Firstly, for Stateless Groups we were not waiting for the group to fully stop before attempting to update the flow but were waiting only for child/descendant groups to stop. This was due to misleading naming in the ProcessGroupUpdateStrategy enum. Renamed enum values to more clearly convey what they mean. Additionally, renamed th [...] 713be8b539 is described below commit 713be8b539f93d1b998aa187cdba178a7c46f155 Author: Mark Payne AuthorDate: Thu Sep 21 10:02:41 2023 -0400 NIFI-12101: This closes #7768. Fixed bugs that caused StatelessBasicsIT.testChangeFlowVersion to fail. There were a couple of related issues. Firstly, for Stateless Groups we were not waiting for the group to fully stop before attempting to update the flow but were waiting only for child/descendant groups to stop. This was due to misleading naming in the ProcessGroupUpdateStrategy enum. Renamed enum values to more clearly convey what they mean. Additionally, renamed the enum to more c [...] Fixed issue in logic of LocalComponentLifecycle, which was waiting for all PGs to reach desired stateless run schedule, even when the group itself was not stateless Fixed JavaScript to specify correct value for recursivity when updating process group parameter context --- ...eStrategy.java => ProcessGroupRecursivity.java} | 6 ++--- .../org/apache/nifi/web/NiFiServiceFacade.java | 14 +- .../apache/nifi/web/StandardNiFiServiceFacade.java | 30 +++--- .../apache/nifi/web/api/ProcessGroupResource.java | 17 ++-- .../org/apache/nifi/web/api/dto/DtoFactory.java| 9 ++- .../org/apache/nifi/web/dao/ProcessGroupDAO.java | 6 ++--- .../nifi/web/dao/impl/StandardProcessGroupDAO.java | 6 ++--- .../nifi/web/util/LocalComponentLifecycle.java | 28 +--- .../nifi/web/api/TestProcessGroupResource.java | 6 ++--- .../js/nf/canvas/nf-process-group-configuration.js | 4 +-- .../resources/conf/clustered/node1/nifi.properties | 4 ++- .../resources/conf/clustered/node2/nifi.properties | 4 ++- .../test/resources/conf/default/nifi.properties| 2 ++ 13 files changed, 96 insertions(+), 40 deletions(-) diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupUpdateStrategy.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupRecursivity.java similarity index 90% rename from nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupUpdateStrategy.java rename to nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupRecursivity.java index aea19be6ea..c6710b96f4 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupUpdateStrategy.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-client-dto/src/main/java/org/apache/nifi/web/api/entity/ProcessGroupRecursivity.java @@ -16,7 +16,7 @@ */ package org.apache.nifi.web.api.entity; -public enum ProcessGroupUpdateStrategy { -CURRENT_GROUP, -CURRENT_GROUP_WITH_CHILDREN +public enum ProcessGroupRecursivity { +DIRECT_CHILDREN, +ALL_DESCENDANTS } diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java index 419488d134..9d58078183 100644 --- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java +++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/java/org/apache/nifi/web/NiFiServiceFacade.java @@ -90,8 +90,6 @@ import org.apache.nifi.web.api.entity.AccessPolicyEntity; import org.apache.nifi.web.api.entity.ActionEntity; import org.apache.nifi.web.api.entity.ActivateControllerServicesEntity; import org.apache.nifi.web.api.entity.AffectedComponentEntity; -import org.apache.nifi.web.api.entity.FlowAnalysisResultEntity; -import org.apache.nifi.web.api.entity.FlowRegistryBucketEntity; import org.apache.nifi.web.api.entity.BulletinEntity; import org.apache.nifi.web.api.entity.ComponentValidationResultEntity; import
[nifi] branch support/nifi-1.x updated: NIFI-12111 This closes #7776. Deprecated Unmaintained Components for Removal
This is an automated email from the ASF dual-hosted git repository. joewitt pushed a commit to branch support/nifi-1.x in repository https://gitbox.apache.org/repos/asf/nifi.git The following commit(s) were added to refs/heads/support/nifi-1.x by this push: new 90972a7f57 NIFI-12111 This closes #7776. Deprecated Unmaintained Components for Removal 90972a7f57 is described below commit 90972a7f57a63457753af3fde51583f4c16c47b4 Author: exceptionfactory AuthorDate: Thu Sep 21 21:27:31 2023 -0500 NIFI-12111 This closes #7776. Deprecated Unmaintained Components for Removal - nifi-cybersecurity-bundle - nifi-html-bundle - nifi-metrics-reporting-bundle - nifi-riemann-bundle - nifi-tcp-bundle - nifi-rules-action-handler-bundle Signed-off-by: Joseph Witt --- .../org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java | 3 ++- .../org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java | 3 ++- .../src/main/java/org/apache/nifi/GetHTMLElement.java | 2 ++ .../src/main/java/org/apache/nifi/ModifyHTMLElement.java | 2 ++ .../src/main/java/org/apache/nifi/PutHTMLElement.java | 2 ++ .../reporting/reporter/service/GraphiteMetricReporterService.java | 2 ++ .../org/apache/nifi/metrics/reporting/task/MetricsReportingTask.java | 2 ++ .../src/main/java/org/apache/nifi/processors/riemann/PutRiemann.java | 2 ++ .../main/java/org/apache/nifi/rules/handlers/ActionHandlerLookup.java | 2 ++ .../src/main/java/org/apache/nifi/rules/handlers/AlertHandler.java | 2 ++ .../main/java/org/apache/nifi/rules/handlers/ExpressionHandler.java| 2 ++ .../src/main/java/org/apache/nifi/rules/handlers/LogHandler.java | 2 ++ .../main/java/org/apache/nifi/rules/handlers/RecordSinkHandler.java| 2 ++ .../src/main/java/org/apache/nifi/processors/gettcp/GetTCP.java| 2 ++ 14 files changed, 28 insertions(+), 2 deletions(-) diff --git a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java index 0a8ce67c3f..c1f2283518 100644 --- a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java +++ b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/CompareFuzzyHash.java @@ -17,6 +17,7 @@ package org.apache.nifi.processors.cybersecurity; +import org.apache.nifi.annotation.documentation.DeprecationNotice; import org.apache.nifi.annotation.behavior.EventDriven; import org.apache.nifi.annotation.behavior.InputRequirement; import org.apache.nifi.annotation.behavior.SideEffectFree; @@ -70,7 +71,7 @@ import java.util.Set; "by the property. Note that: 'XXX' gets replaced with the "), @WritesAttribute(attribute = ".N.similarity", description = "The similarity score between this flowfile" + "and its match of the same number N. Note that: 'XXX' gets replaced with the ")}) - +@DeprecationNotice(reason = "Unmaintained and planned for removal in version 2.0") public class CompareFuzzyHash extends AbstractFuzzyHashProcessor { public static final AllowableValue singleMatch = new AllowableValue( "single", diff --git a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java index 78ed94fde1..34cb62c92f 100644 --- a/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java +++ b/nifi-nar-bundles/nifi-cybersecurity-bundle/nifi-cybersecurity-processors/src/main/java/org/apache/nifi/processors/cybersecurity/FuzzyHashContent.java @@ -18,6 +18,7 @@ package org.apache.nifi.processors.cybersecurity; import com.idealista.tlsh.exceptions.InsufficientComplexityException; +import org.apache.nifi.annotation.documentation.DeprecationNotice; import org.apache.nifi.annotation.behavior.EventDriven; import org.apache.nifi.annotation.behavior.InputRequirement; import org.apache.nifi.annotation.behavior.SideEffectFree; @@ -70,7 +71,7 @@ import java.util.concurrent.atomic.AtomicReference; @SeeAlso(classNames = {"org.apache.nifi.processors.standard.HashContent"}, value = {CompareFuzzyHash.class}) @WritesAttributes({@WritesAttribute(attribute = "", description = "This Processor adds an attribute whose value is the result of Hashing the " + "existing FlowFile content. The name of this
[nifi-minifi-cpp] branch MINIFICPP-2204 deleted (was 63959bd2c)
This is an automated email from the ASF dual-hosted git repository. lordgamez pushed a change to branch MINIFICPP-2204 in repository https://gitbox.apache.org/repos/asf/nifi-minifi-cpp.git was 63959bd2c Revise clang tidy checks The revisions that were on this branch are still contained in other references; therefore, this change does not discard any commits from the repository.