nifi/nifi-framework-bundle/nifi-framework/nifi-framework-cluster-prot.../pom.xml

99 lines
3.9 KiB
XML
Raw Normal View History

2014-12-08 15:22:14 -05:00
<?xml version="1.0" encoding="UTF-8"?>
<!--
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.
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 https://maven.apache.org/xsd/maven-4.0.0.xsd">
2014-12-08 15:22:14 -05:00
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework</artifactId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
2014-12-08 15:22:14 -05:00
</parent>
<artifactId>nifi-framework-cluster-protocol</artifactId>
2014-12-08 15:22:14 -05:00
<packaging>jar</packaging>
<description>The messaging protocol for clustered NiFi</description>
<dependencies>
2014-12-08 15:22:14 -05:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
2014-12-08 15:22:14 -05:00
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
</dependency>
2014-12-08 15:22:14 -05:00
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-core</artifactId>
2014-12-08 15:22:14 -05:00
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
</dependency>
2014-12-08 15:22:14 -05:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-socket-utils</artifactId>
2023-02-09 17:32:53 -05:00
<version>2.0.0-SNAPSHOT</version>
2014-12-08 15:22:14 -05:00
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-security-utils-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-api</artifactId>
</dependency>
2014-12-08 15:22:14 -05:00
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-core-api</artifactId>
<version>2.0.0-SNAPSHOT</version>
2014-12-08 15:22:14 -05:00
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-security-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-security-cert</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-xml-processing</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>jakarta.xml.bind</groupId>
<artifactId>jakarta.xml.bind-api</artifactId>
</dependency>
<dependency>
<groupId>org.glassfish.jaxb</groupId>
<artifactId>jaxb-runtime</artifactId>
<scope>test</scope>
</dependency>
2014-12-08 15:22:14 -05:00
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-beans</artifactId>
</dependency>
NIFI-9069 Changed framework dataflow serialization to support JSON - Changed framework so that it serializes the dataflow into a VersionedDataflow using JSON as well as XML, and prefers the JSON representation on load, if it's available. This also results in the need for the cluster protocol to exchange its representation of the dataflow to using JSON. Rather than re-implementing all of the complex logic of Flow Fingerprinting, updated to just inherit the cluster's flow. - Moved logic to synchronize Process Group with Versioned Process Group into a new ProcessGroupSynchronizer class instead of having all of the logic within StandardProcessGroup - Reworked versioned components to use an instance id. - Renamed StandardFlowSynchronizer to XmlFlowSynchronizer; introduced new StandardFlowSynchronizer that delegates to the appropriate (Xml or Versioned)FlowSynchronzer - Updated to allow import of VersionedProcessGroup even if not all bundles are available - will now use ghost components - Introduced a VersionedDataflow object to hold controller-level services, reporting tasks, parameter contexts, templates, etc. - Allow mutable requests to be made while nodes are disconnected. Also fixed issue in AbstractPolicyBasedAuthorizer that caused ClassNotFoundException / NoClassDefFoundError if the authorizations were changed and then a node attempts to rejoin the cluster. The Authorizer was attempting to use XmlUtils, which is in nifi-security-utils and so so by madking nifi-security-utils a provided dependency of nifi-framework-api, but this doesn't work, because nifi-framework-api is loaded by a higher-level classloader, so the classloader that loads AbstractPolicyBasedAuthorizer will never have the appropriate classloader to provide nifi-security-utils. Addressed this by copying the code for creating a safe document builder from XmlUtils to AbstractPolicyBasedAuthorizer. - Fixed bug that occurred when importing a Process Group that has 2 parameter contexts, one inheriting from another, where neither is pre-defined in the existing flow - Fixed bug that was encountered when Updating a Versioned Process Group where one version had a disabled processor and the other had the processor running. - Increased system-tests workflow timeout to 120 minutes - Added additional exception handling to system tests This closes #5514 Signed-off-by: David Handermann <exceptionfactory@apache.org>
2021-08-10 14:04:13 -04:00
<dependency>
<groupId>com.fasterxml.jackson.module</groupId>
NIFI-11703 Upgraded to Spring Framework 6 and Jetty 12 - Upgraded Spring Framework from 5.3.31 to 6.0.15 - Upgraded Spring Security from 5.8.7 to 6.2.0 - Upgraded Spring Vault from 2.3.4 to 3.1.0 - Upgraded Jetty from 10.0.18 to 12.0.5 with EE 10 - Upgraded Jersey from 2.41 to 3.1.4 - Upgraded JAXB from 2.3.9 to 4.0.4 - Upgraded AspectJ from 1.9.20.1 to 1.9.21 - Upgraded JMS API from 2.0.1 to 3.1.0 - Upgraded ActiveMQ Broker from 5.18.2 to 6.0.1 for JMS 3 - Upgraded JJWT from 0.9.1 to 0.12.3 - Replaced jackson-module-jaxb-annotations with jackson-module-jakarta-xmlbind-annotations - Replaced maven-jaxb2-plugin with hisrc-higherjaxb40-maven-plugin 2.1.1 - Replaced kongchen swagger-maven-plugin with swagger-codegen-maven-plugin from Swagger 3 - Replaced com.nickwongdev AspectJ Plugin with Codehaus 1.14.0 for newer Java versions - Removed unused cglib-nodep - Removed references to javax.validation - Removed custom Jetty ALPN Processor not required for Java 21 - Removed several tests depending on older Jetty and Jakarta libraries - Removed unnecessary webdefault.xml configurations - Replaced unsupported cross-context servlet forwarding with HTTP forwarding - Replaced javax.servlet references with jakarta.servlet - Replaced javax.xml.bind references with jakarta.xml.bind - Replaced javax.ws references with jakarata.ws - Updated Spring Security CSRF implementation for Spring Security 6 - Updated web.xml versions to 6.0 - Updated REST API templates using new swagger-codegen variables - Removed VALIDATE_DATA property from ParseCEF based on library compatibility issue with javax.validation - Added application URL logging to NiFi JettyServer Signed-off-by: Pierre Villard <pierre.villard.fr@gmail.com> This closes #8197.
2023-12-29 22:11:47 -05:00
<artifactId>jackson-module-jakarta-xmlbind-annotations</artifactId>
NIFI-9069 Changed framework dataflow serialization to support JSON - Changed framework so that it serializes the dataflow into a VersionedDataflow using JSON as well as XML, and prefers the JSON representation on load, if it's available. This also results in the need for the cluster protocol to exchange its representation of the dataflow to using JSON. Rather than re-implementing all of the complex logic of Flow Fingerprinting, updated to just inherit the cluster's flow. - Moved logic to synchronize Process Group with Versioned Process Group into a new ProcessGroupSynchronizer class instead of having all of the logic within StandardProcessGroup - Reworked versioned components to use an instance id. - Renamed StandardFlowSynchronizer to XmlFlowSynchronizer; introduced new StandardFlowSynchronizer that delegates to the appropriate (Xml or Versioned)FlowSynchronzer - Updated to allow import of VersionedProcessGroup even if not all bundles are available - will now use ghost components - Introduced a VersionedDataflow object to hold controller-level services, reporting tasks, parameter contexts, templates, etc. - Allow mutable requests to be made while nodes are disconnected. Also fixed issue in AbstractPolicyBasedAuthorizer that caused ClassNotFoundException / NoClassDefFoundError if the authorizations were changed and then a node attempts to rejoin the cluster. The Authorizer was attempting to use XmlUtils, which is in nifi-security-utils and so so by madking nifi-security-utils a provided dependency of nifi-framework-api, but this doesn't work, because nifi-framework-api is loaded by a higher-level classloader, so the classloader that loads AbstractPolicyBasedAuthorizer will never have the appropriate classloader to provide nifi-security-utils. Addressed this by copying the code for creating a safe document builder from XmlUtils to AbstractPolicyBasedAuthorizer. - Fixed bug that occurred when importing a Process Group that has 2 parameter contexts, one inheriting from another, where neither is pre-defined in the existing flow - Fixed bug that was encountered when Updating a Versioned Process Group where one version had a disabled processor and the other had the processor running. - Increased system-tests workflow timeout to 120 minutes - Added additional exception handling to system tests This closes #5514 Signed-off-by: David Handermann <exceptionfactory@apache.org>
2021-08-10 14:04:13 -04:00
</dependency>
2014-12-08 15:22:14 -05:00
</dependencies>
</project>