Skip to content

Commit

Permalink
NIFI-13651 Move anything fundamental to the framework is under framew…
Browse files Browse the repository at this point in the history
…ork-bundle and ensure nothing in nifi-extension-bundles references nifi-property-utils
  • Loading branch information
joewitt committed Aug 13, 2024
1 parent e349b7e commit 413cca6
Show file tree
Hide file tree
Showing 370 changed files with 81 additions and 46 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ language governing permissions and limitations under the License. -->
<groupId>org.elasticsearch.client</groupId>
<artifactId>elasticsearch-rest-client</artifactId>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-property-utils</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-mock</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,6 @@
import org.apache.nifi.components.state.Scope;
import org.apache.nifi.processors.hadoop.inotify.util.EventTestUtils;
import org.apache.nifi.util.MockFlowFile;
import org.apache.nifi.util.NiFiProperties;
import org.apache.nifi.util.TestRunner;
import org.apache.nifi.util.TestRunners;
import org.junit.jupiter.api.BeforeEach;
Expand All @@ -43,13 +42,11 @@
import static org.mockito.Mockito.when;

public class TestGetHDFSEvents {
NiFiProperties mockNiFiProperties;
DFSInotifyEventInputStream inotifyEventInputStream;
HdfsAdmin hdfsAdmin;

@BeforeEach
public void setup() {
mockNiFiProperties = mock(NiFiProperties.class);
inotifyEventInputStream = mock(DFSInotifyEventInputStream.class);
hdfsAdmin = mock(HdfsAdmin.class);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,12 +63,6 @@
<version>2.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-property-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,5 @@
<version>2.0.0-SNAPSHOT</version>
<scope>test</scope>
</dependency>
<!-- Included for nifi-utils StringUtils -->
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-property-utils</artifactId>
<scope>test</scope>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,6 @@
<artifactId>nifi-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-property-utils</artifactId>
<version>2.0.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-record</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-->
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>nifi-py4j-bundle</artifactId>
<artifactId>nifi-py4j-extension-bundle</artifactId>
<groupId>org.apache.nifi</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-->
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>nifi-py4j-bundle</artifactId>
<artifactId>nifi-py4j-extension-bundle</artifactId>
<groupId>org.apache.nifi</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@

<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-py4j-bundle</artifactId>
<artifactId>nifi-py4j-extension-bundle</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
-->
<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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<artifactId>nifi-py4j-bundle</artifactId>
<artifactId>nifi-py4j-extension-bundle</artifactId>
<groupId>org.apache.nifi</groupId>
<version>2.0.0-SNAPSHOT</version>
</parent>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,14 @@
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>nifi-py4j-bundle</artifactId>
<artifactId>nifi-py4j-extension-bundle</artifactId>
<packaging>pom</packaging>

<modules>
<module>nifi-python-framework-api</module>
<module>nifi-py4j-bridge</module>
<module>nifi-python-framework</module>
<module>nifi-python-extension-api</module>
<module>nifi-py4j-nar</module>
<module>nifi-python-test-extensions</module>
<module>nifi-py4j-integration-tests</module>
</modules>
</project>

7 changes: 1 addition & 6 deletions nifi-extension-bundles/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
<module>nifi-standard-shared-bundle</module>
<module>nifi-hadoop-bundle</module>
<module>nifi-hadoop-libraries-bundle</module>
<module>nifi-provenance-repository-bundle</module>
<module>nifi-standard-bundle</module>
<module>nifi-standard-services</module>
<module>nifi-standard-services-api-bom</module>
Expand All @@ -44,9 +43,6 @@
<module>nifi-media-bundle</module>
<module>nifi-avro-bundle</module>
<module>nifi-azure-bundle</module>
<module>nifi-ldap-iaa-providers-bundle</module>
<module>nifi-kerberos-iaa-providers-bundle</module>
<module>nifi-single-user-iaa-providers-bundle</module>
<module>nifi-scripting-bundle</module>
<module>nifi-elasticsearch-bundle</module>
<module>nifi-amqp-bundle</module>
Expand All @@ -69,6 +65,7 @@
<module>nifi-poi-bundle</module>
<module>nifi-cdc</module>
<module>nifi-parquet-bundle</module>
<module>nifi-py4j-extension-bundle</module>
<module>nifi-extension-utils</module>
<module>nifi-redis-bundle</module>
<module>nifi-network-bundle</module>
Expand All @@ -92,12 +89,10 @@
<module>nifi-jslt-bundle</module>
<module>nifi-iotdb-bundle</module>
<module>nifi-cipher-bundle</module>
<module>nifi-py4j-bundle</module>
<module>nifi-compress-bundle</module>
<module>nifi-opentelemetry-bundle</module>
<module>nifi-apicurio-bundle</module>
<module>nifi-jolt-bundle</module>
<module>nifi-questdb-bundle</module>
<module>nifi-protobuf-bundle</module>
<module>nifi-github-bundle</module>
</modules>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework</artifactId>
<artifactId>nifi-framework-extensions</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>nifi-framework-kubernetes-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-extension-bundles</artifactId>
<artifactId>nifi-framework-extensions</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>nifi-kerberos-iaa-providers-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-extension-bundles</artifactId>
<artifactId>nifi-framework-extensions</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>nifi-ldap-iaa-providers-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<modelVersion>4.0.0</modelVersion>
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-extension-bundles</artifactId>
<artifactId>nifi-framework-extensions</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<artifactId>nifi-provenance-repository-bundle</artifactId>
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
<?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 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>org.apache.nifi</groupId>
<artifactId>nifi-framework-extensions</artifactId>
<version>2.0.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>nifi-py4j-bundle</artifactId>
<packaging>pom</packaging>

<modules>
<module>nifi-python-framework-api</module>
<module>nifi-python-framework</module>
<module>nifi-python-extension-api</module>
</modules>
</project>
Loading

0 comments on commit 413cca6

Please sign in to comment.