You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by jo...@apache.org on 2024/02/21 00:02:20 UTC

(nifi) branch main updated: NIFI-12824 Removed ExecuteStateless Processor and NAR This closes #8434

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 014d539b5e NIFI-12824 Removed ExecuteStateless Processor and NAR This closes #8434
014d539b5e is described below

commit 014d539b5e63a825c7370d3b242c204e252a167c
Author: exceptionfactory <ex...@apache.org>
AuthorDate: Tue Feb 20 15:31:02 2024 -0600

    NIFI-12824 Removed ExecuteStateless Processor and NAR
    This closes #8434
    
    Removed nifi-stateless-nar from nifi-assembly
    
    Signed-off-by: Joseph Witt <jo...@apache.org>
---
 .github/workflows/ci-workflow.yml                  |    1 -
 .github/workflows/integration-tests.yml            |    1 -
 nifi-assembly/pom.xml                              |   22 +-
 nifi-assembly/src/main/assembly/core.xml           |    1 -
 nifi-code-coverage/pom.xml                         |    5 -
 .../nifi-resources/src/main/resources/bin/nifi.sh  |   27 +-
 .../src/main/resources/conf/stateless-logback.xml  |   82 --
 .../src/main/resources/conf/stateless.properties   |   43 -
 .../nifi-stateless-processor-nar/pom.xml           |   39 -
 .../nifi-stateless-processor-tests/pom.xml         |  247 -----
 .../src/test/assembly/dependencies-compress.xml    |   37 -
 .../src/test/assembly/dependencies-core.xml        |   50 -
 .../src/test/assembly/dependencies-jslt.xml        |   37 -
 .../processors/stateless/TestExecuteStateless.java |  261 -----
 .../src/test/resources/jslt-compress-flow.json     |  423 --------
 .../src/test/resources/jslt-flow.json              |  277 -----
 .../src/test/resources/log-message.json            |    1 -
 .../src/test/resources/passthrough-flow.json       |   90 --
 .../src/test/resources/route-one-to-failure.json   |    1 -
 .../src/test/resources/route-to-desired-port.json  |    1 -
 .../resources/route-to-failure-inner-group.json    |    1 -
 .../src/test/resources/simplelogger.properties     |   17 -
 .../src/test/resources/sleep.json                  |    1 -
 .../src/test/resources/split-text.json             |    1 -
 .../src/test/resources/throw-exception.json        |    1 -
 .../nifi-stateless-processor/pom.xml               |   63 --
 .../processors/stateless/ExecuteStateless.java     | 1108 --------------------
 .../retrieval/CachingDataflowProvider.java         |  100 --
 .../stateless/retrieval/DataflowProvider.java      |   27 -
 .../retrieval/FileSystemDataflowProvider.java      |   40 -
 .../retrieval/RegistryDataflowProvider.java        |  115 --
 .../services/org.apache.nifi.processor.Processor   |   16 -
 .../additionalDetails.html                         |  353 -------
 .../retrieval/TestCachingDataflowProvider.java     |  130 ---
 .../nifi-stateless-processor-bundle/pom.xml        |   32 -
 nifi-nar-bundles/pom.xml                           |    1 -
 36 files changed, 7 insertions(+), 3645 deletions(-)

diff --git a/.github/workflows/ci-workflow.yml b/.github/workflows/ci-workflow.yml
index 9349c8bfab..7dac989fda 100644
--- a/.github/workflows/ci-workflow.yml
+++ b/.github/workflows/ci-workflow.yml
@@ -48,7 +48,6 @@ env:
     -pl -:nifi-runtime-manifest
     -pl -:nifi-runtime-manifest-test
     -pl -:nifi-stateless-assembly
-    -pl -:nifi-stateless-processor-tests
     -pl -:nifi-stateless-system-test-suite
     -pl -:nifi-system-test-suite
     -pl -:nifi-nar-provider-assembly
diff --git a/.github/workflows/integration-tests.yml b/.github/workflows/integration-tests.yml
index 4a49145305..19daacc3cb 100644
--- a/.github/workflows/integration-tests.yml
+++ b/.github/workflows/integration-tests.yml
@@ -73,7 +73,6 @@ env:
     -pl -:nifi-runtime-manifest
     -pl -:nifi-runtime-manifest-test
     -pl -:nifi-stateless-assembly
-    -pl -:nifi-stateless-processor-tests
     -pl -:nifi-stateless-system-test-suite
     -pl -:nifi-system-test-suite
     -pl -:nifi-nar-provider-assembly
diff --git a/nifi-assembly/pom.xml b/nifi-assembly/pom.xml
index a03f11faf5..5e4c223e93 100644
--- a/nifi-assembly/pom.xml
+++ b/nifi-assembly/pom.xml
@@ -161,6 +161,11 @@ language governing permissions and limitations under the License. -->
             <artifactId>nifi-server-api</artifactId>
             <version>2.0.0-SNAPSHOT</version>
         </dependency>
+        <dependency>
+            <groupId>org.apache.nifi</groupId>
+            <artifactId>nifi-stateless-api</artifactId>
+            <version>2.0.0-SNAPSHOT</version>
+        </dependency>
         <dependency>
             <groupId>org.apache.nifi</groupId>
             <artifactId>nifi-python-framework-api</artifactId>
@@ -303,17 +308,6 @@ language governing permissions and limitations under the License. -->
             <version>2.0.0-SNAPSHOT</version>
             <type>nar</type>
         </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-bootstrap</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.nifi</groupId>
             <artifactId>nifi-kafka-2-6-nar</artifactId>
@@ -776,12 +770,6 @@ language governing permissions and limitations under the License. -->
             <version>2.0.0-SNAPSHOT</version>
             <type>nar</type>
         </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-processor-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
         <dependency>
             <groupId>org.apache.nifi</groupId>
             <artifactId>nifi-salesforce-nar</artifactId>
diff --git a/nifi-assembly/src/main/assembly/core.xml b/nifi-assembly/src/main/assembly/core.xml
index 0ab9a38420..440a23c118 100644
--- a/nifi-assembly/src/main/assembly/core.xml
+++ b/nifi-assembly/src/main/assembly/core.xml
@@ -40,7 +40,6 @@
                 <include>org.apache.nifi:nifi-runtime</include>
                 <include>org.apache.nifi:nifi-server-api</include>
                 <include>org.apache.nifi:nifi-stateless-api</include>
-                <include>org.apache.nifi:nifi-stateless-bootstrap</include>
             </includes>
         </dependencySet>
     </dependencySets>
diff --git a/nifi-code-coverage/pom.xml b/nifi-code-coverage/pom.xml
index cc0c651168..1bfa872870 100644
--- a/nifi-code-coverage/pom.xml
+++ b/nifi-code-coverage/pom.xml
@@ -1516,11 +1516,6 @@
             <artifactId>nifi-stateful-analysis-processors</artifactId>
             <version>2.0.0-SNAPSHOT</version>
         </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-processor</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
         <dependency>
             <groupId>org.apache.nifi</groupId>
             <artifactId>nifi-update-attribute-model</artifactId>
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
index 51db8498da..317176bc75 100755
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/bin/nifi.sh
@@ -374,29 +374,6 @@ run() {
         return;
     fi
 
-    if [ "$1" = "stateless" ]; then
-        STATELESS_JAVA_OPTS="${STATELESS_JAVA_OPTS:=-Xms1024m -Xmx1024m}"
-
-        shift # Remove 'stateless' argument so we can pass all the rest as $@
-
-        echo
-        echo "Note: Use of this command is considered experimental. The commands and approach used may change from time to time."
-        echo
-        echo "Java home (JAVA_HOME): ${JAVA_HOME}"
-        echo "NiFi home (NIFI_HOME): ${NIFI_HOME}"
-        echo "Java options (STATELESS_JAVA_OPTS): ${STATELESS_JAVA_OPTS}"
-        echo
-        run_nifi_cmd="'${JAVA}' ${BOOTSTRAP_LOG_PARAMS} '-Dlogback.configurationFile=${NIFI_HOME}/conf/stateless-logback.xml' -cp '${NIFI_HOME}/lib/*:${NIFI_HOME}/conf' ${STATELESS_JAVA_OPTS} 'org.apache.nifi.stateless.bootstrap.RunStatelessFlow'"
-
-        eval "cd ${NIFI_HOME}"
-        # Our arguments may have spaces (especially for passing parameters). The eval command will strip those out. To avoid that, we need to use "$@" to get the quotes in the arguments, and then
-        # surround that by single-ticks in order to prevent eval from stripping the quotes out.
-        eval "${run_nifi_cmd}" '"$@"'
-        EXIT_STATUS=$?
-        echo
-        return;
-    fi
-
     if [ "$1" = "start" ]; then
         ( eval "cd ${NIFI_HOME} && ${run_nifi_cmd}" & )> /dev/null 1>&-
 
@@ -470,7 +447,7 @@ case "$1" in
         install "$@"
         ;;
 
-    start|stop|decommission|run|status|is_loaded|dump|diagnostics|status-history|env|stateless|set-sensitive-properties-algorithm|set-sensitive-properties-key|set-single-user-credentials|cluster-status)
+    start|stop|decommission|run|status|is_loaded|dump|diagnostics|status-history|env|set-sensitive-properties-algorithm|set-sensitive-properties-key|set-single-user-credentials|cluster-status)
         main "$@"
         ;;
 
@@ -480,6 +457,6 @@ case "$1" in
         run "start"
         ;;
     *)
-        echo "Usage nifi {start|stop|decommission|run|restart|status|dump|diagnostics|status-history|install|stateless|set-sensitive-properties-algorithm|set-sensitive-properties-key|set-single-user-credentials|cluster-status}"
+        echo "Usage nifi {start|stop|decommission|run|restart|status|dump|diagnostics|status-history|install|set-sensitive-properties-algorithm|set-sensitive-properties-key|set-single-user-credentials|cluster-status}"
         ;;
 esac
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless-logback.xml b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless-logback.xml
deleted file mode 100644
index a11eecfa47..0000000000
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless-logback.xml
+++ /dev/null
@@ -1,82 +0,0 @@
-<?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.
--->
-
-<configuration scan="true" scanPeriod="30 seconds">
-    <contextListener class="ch.qos.logback.classic.jul.LevelChangePropagator">
-        <resetJUL>true</resetJUL>
-    </contextListener>
-
-    <appender name="APP_FILE" class="ch.qos.logback.core.rolling.RollingFileAppender">
-        <file>${org.apache.nifi.bootstrap.config.log.dir}/nifi-stateless.log</file>
-        <rollingPolicy class="ch.qos.logback.core.rolling.SizeAndTimeBasedRollingPolicy">
-            <!--
-              For daily rollover, use 'app_%d.log'.
-              For hourly rollover, use 'app_%d{yyyy-MM-dd_HH}.log'.
-              To GZIP rolled files, replace '.log' with '.log.gz'.
-              To ZIP rolled files, replace '.log' with '.log.zip'.
-            -->
-            <fileNamePattern>${org.apache.nifi.bootstrap.config.log.dir}/nifi-stateless_%d{yyyy-MM-dd_HH}.%i.log</fileNamePattern>
-            <!-- Control the maximum size of each log file before rolling over -->
-            <maxFileSize>100MB</maxFileSize>
-            <!-- Control the maximum number of log archive files kept and asynchronously delete older files -->
-            <maxHistory>30</maxHistory>
-            <!-- Control the total size of all log archive files for this appender -->
-            <totalSizeCap>3GB</totalSizeCap>
-            <!-- Log files exceeding maximum settings will be rolled on startup -->
-            <cleanHistoryOnStart>true</cleanHistoryOnStart>
-        </rollingPolicy>
-        <immediateFlush>true</immediateFlush>
-        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
-            <pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
-        </encoder>
-    </appender>
-
-    <appender name="CONSOLE" class="ch.qos.logback.core.ConsoleAppender">
-        <encoder class="ch.qos.logback.classic.encoder.PatternLayoutEncoder">
-            <pattern>%date %level [%thread] %logger{40} %msg%n</pattern>
-        </encoder>
-    </appender>
-
-    <!-- valid logging levels: TRACE, DEBUG, INFO, WARN, ERROR -->
-
-    <logger name="org.apache.nifi" level="INFO"/>
-    <logger name="org.apache.nifi.processors" level="WARN"/>
-    <logger name="org.apache.nifi.processors.standard.LogAttribute" level="INFO"/>
-    <logger name="org.apache.nifi.processors.standard.LogMessage" level="INFO"/>
-    <logger name="org.apache.nifi.controller.repository.StandardProcessSession" level="WARN" />
-
-    <logger name="org.apache.calcite.runtime.CalciteException" level="OFF" />
-
-    <!-- Suppress non-error messages from SSHJ which was emitting large amounts of INFO logs by default -->
-    <logger name="net.schmizz.sshj" level="WARN" />
-    <logger name="com.hierynomus.sshj" level="WARN" />
-
-    <!-- Suppress non-error messages from SMBJ which was emitting large amounts of INFO logs by default -->
-    <logger name="com.hierynomus.smbj" level="WARN" />
-
-    <!-- Suppress non-error messages from AWS KCL which was emitting large amounts of INFO logs by default -->
-    <logger name="software.amazon.awssdk.kinesis" level="WARN" />
-
-    <logger name="org.apache.nifi.stateless" level="INFO" additivity="false">
-        <appender-ref ref="CONSOLE" />
-        <appender-ref ref="APP_FILE" />
-    </logger>
-
-    <root level="INFO">
-        <appender-ref ref="APP_FILE" />
-    </root>
-
-</configuration>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless.properties b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless.properties
deleted file mode 100644
index a3ec79cca9..0000000000
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-resources/src/main/resources/conf/stateless.properties
+++ /dev/null
@@ -1,43 +0,0 @@
-# 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.
-
-# NAR and Working Directories #
-nifi.stateless.nar.directory=./lib
-nifi.stateless.working.directory=./work/stateless
-
-# Security Properties #
-nifi.stateless.security.keystore=
-nifi.stateless.security.keystoreType=
-nifi.stateless.security.keystorePasswd=
-nifi.stateless.security.keyPasswd=
-nifi.stateless.security.truststore=
-nifi.stateless.security.truststoreType=
-nifi.stateless.security.truststorePasswd=
-nifi.stateless.sensitive.props.key=
-
-# Extension Client Configuration #
-# Zero or more Nexus repositories may be specified here.
-# The following client communicates with Maven Central. To use it, uncomment the following 4 lines.
-# Additional clients can be added by adding duplicate properties but changing mvn-central to a different key.
-#nifi.stateless.extension.client.mvn-central.type=nexus
-#nifi.stateless.extension.client.mvn-central.timeout=30 sec
-#nifi.stateless.extension.client.mvn-central.baseUrl=https://repo1.maven.org/maven2/
-#nifi.stateless.extension.client.mvn-central.useSslContext=false
-
-# Schedule for status logging task
-nifi.stateless.status.task.interval=1 min
-
-# Kerberos Properties #
-nifi.stateless.kerberos.krb5.file=/etc/krb5.conf
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-nar/pom.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-nar/pom.xml
deleted file mode 100644
index 8bd55800f0..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-nar/pom.xml
+++ /dev/null
@@ -1,39 +0,0 @@
-<?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">
-    <parent>
-        <artifactId>nifi-stateless-processor-bundle</artifactId>
-        <groupId>org.apache.nifi</groupId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>nifi-stateless-processor-nar</artifactId>
-    <packaging>nar</packaging>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-processor</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-standard-shared-nar</artifactId>
-            <type>nar</type>
-        </dependency>
-    </dependencies>
-</project>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/pom.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/pom.xml
deleted file mode 100644
index 8336ea82af..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/pom.xml
+++ /dev/null
@@ -1,247 +0,0 @@
-<?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">
-    <parent>
-        <artifactId>nifi-stateless-processor-bundle</artifactId>
-        <groupId>org.apache.nifi</groupId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>nifi-stateless-processor-tests</artifactId>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-api</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-framework-api</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-server-api</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-api</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-runtime</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-nar-utils</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-processor</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-ssl-context-service-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi.registry</groupId>
-            <artifactId>nifi-registry-client</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi.registry</groupId>
-            <artifactId>nifi-registry-data-model</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.slf4j</groupId>
-            <artifactId>slf4j-api</artifactId>
-            <scope>runtime</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-mock</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>test</scope>
-        </dependency>
-
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-update-attribute-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-standard-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-standard-shared-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-standard-services-api-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-jetty-bundle</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-property-utils</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-            <type>jar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-jslt-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-            <type>nar</type>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-compress-nar</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-            <scope>compile</scope>
-            <type>nar</type>
-        </dependency>
-    </dependencies>
-
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-assembly-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <id>stateless-core-dependencies</id>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <phase>process-test-resources</phase>
-                        <configuration>
-                            <finalName>nifi-stateless-processors-test-assembly</finalName>
-                            <archiverConfig>
-                                <defaultDirectoryMode>0775</defaultDirectoryMode>
-                                <directoryMode>0775</directoryMode>
-                                <fileMode>0664</fileMode>
-                            </archiverConfig>
-                            <descriptors>
-                                <descriptor>src/test/assembly/dependencies-core.xml</descriptor>
-                            </descriptors>
-                            <tarLongFileMode>posix</tarLongFileMode>
-                            <formats>
-                                <format>dir</format>
-                            </formats>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>jslt-dependency</id>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <phase>process-test-resources</phase>
-                        <configuration>
-                            <finalName>nifi-stateless-processors-test-assembly</finalName>
-                            <archiverConfig>
-                                <defaultDirectoryMode>0775</defaultDirectoryMode>
-                                <directoryMode>0775</directoryMode>
-                                <fileMode>0664</fileMode>
-                            </archiverConfig>
-                            <descriptors>
-                                <descriptor>src/test/assembly/dependencies-jslt.xml</descriptor>
-                            </descriptors>
-                            <tarLongFileMode>posix</tarLongFileMode>
-                            <formats>
-                                <format>dir</format>
-                            </formats>
-                        </configuration>
-                    </execution>
-                    <execution>
-                        <id>compression-dependency</id>
-                        <goals>
-                            <goal>single</goal>
-                        </goals>
-                        <phase>process-test-resources</phase>
-                        <configuration>
-                            <finalName>nifi-stateless-processors-test-assembly</finalName>
-                            <archiverConfig>
-                                <defaultDirectoryMode>0775</defaultDirectoryMode>
-                                <directoryMode>0775</directoryMode>
-                                <fileMode>0664</fileMode>
-                            </archiverConfig>
-                            <descriptors>
-                                <descriptor>src/test/assembly/dependencies-compress.xml</descriptor>
-                            </descriptors>
-                            <tarLongFileMode>posix</tarLongFileMode>
-                            <formats>
-                                <format>dir</format>
-                            </formats>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.apache.rat</groupId>
-                <artifactId>apache-rat-plugin</artifactId>
-                <configuration>
-                    <excludes combine.children="append">
-                        <exclude>src/test/resources/passthrough-flow.json</exclude>
-                        <exclude>src/test/resources/split-text.json</exclude>
-                        <exclude>src/test/resources/route-one-to-failure.json</exclude>
-                        <exclude>src/test/resources/route-to-desired-port.json</exclude>
-                        <exclude>src/test/resources/route-to-failure-inner-group.json</exclude>
-                        <exclude>src/test/resources/sleep.json</exclude>
-                        <exclude>src/test/resources/throw-exception.json</exclude>
-                        <exclude>src/test/resources/log-message.json</exclude>
-                        <exclude>src/test/resources/jslt-flow.json</exclude>
-                        <exclude>src/test/resources/jslt-compress-flow.json</exclude>
-                    </excludes>
-                </configuration>
-            </plugin>
-        </plugins>
-    </build>
-</project>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-compress.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-compress.xml
deleted file mode 100644
index f6a846a02c..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-compress.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  ~ 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.
-  -->
-<assembly>
-    <id>compress</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-
-    <dependencySets>
-        <!-- Write out dependency artifacts to directory -->
-        <dependencySet>
-            <scope>runtime</scope>
-            <useProjectArtifact>false</useProjectArtifact>
-            <outputDirectory>.</outputDirectory>
-            <directoryMode>0770</directoryMode>
-            <fileMode>0664</fileMode>
-            <useTransitiveFiltering>true</useTransitiveFiltering>
-            <includes>
-                <include>*:nifi-compress-nar</include>
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-</assembly>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-core.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-core.xml
deleted file mode 100644
index b4afbfe3d5..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-core.xml
+++ /dev/null
@@ -1,50 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  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.
--->
-<assembly>
-    <id>core</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-    <baseDirectory>nifi-execute-stateless-processor-assembly-${project.version}</baseDirectory>
-
-    <dependencySets>
-        <!-- Write out all dependency artifacts to directory -->
-        <dependencySet>
-            <scope>runtime</scope>
-            <useProjectArtifact>false</useProjectArtifact>
-            <outputDirectory>.</outputDirectory>
-            <directoryMode>0770</directoryMode>
-            <fileMode>0664</fileMode>
-            <useTransitiveFiltering>true</useTransitiveFiltering>
-            <includes>
-                <include>*:nifi-stateless-bootstrap</include>
-                <include>*:nifi-stateless-nar</include>
-                <include>*:nifi-standard-nar</include>
-                <include>*:nifi-standard-shared-nar</include>
-                <include>*:nifi-standard-services-api-nar</include>
-                <include>*:nifi-jetty-bundle</include>
-                <include>*:nifi-update-attribute-nar</include>
-                <include>*:nifi-api</include>
-                <include>*:nifi-framework-api</include>
-                <include>*:nifi-server-api</include>
-                <include>*:nifi-runtime</include>
-                <include>*:nifi-nar-utils</include>
-                <include>*:nifi-stateless-api</include>
-                <include>*:nifi-property-utils</include>
-                <include>*:slf4j-api</include>
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-</assembly>
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-jslt.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-jslt.xml
deleted file mode 100644
index 9c5083571d..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/assembly/dependencies-jslt.xml
+++ /dev/null
@@ -1,37 +0,0 @@
-<?xml version="1.0"?>
-<!--
-  ~ 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.
-  -->
-<assembly>
-    <id>jslt</id>
-    <includeBaseDirectory>false</includeBaseDirectory>
-
-    <dependencySets>
-        <!-- Write out dependency artifacts to directory -->
-        <dependencySet>
-            <scope>runtime</scope>
-            <useProjectArtifact>false</useProjectArtifact>
-            <outputDirectory>.</outputDirectory>
-            <directoryMode>0770</directoryMode>
-            <fileMode>0664</fileMode>
-            <useTransitiveFiltering>true</useTransitiveFiltering>
-            <includes>
-                <include>*:nifi-jslt-nar</include>
-            </includes>
-        </dependencySet>
-    </dependencySets>
-
-</assembly>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
deleted file mode 100644
index c37b626b09..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/java/org/apache/nifi/processors/stateless/TestExecuteStateless.java
+++ /dev/null
@@ -1,261 +0,0 @@
-/*
- * 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.processors.stateless;
-
-import org.apache.nifi.util.LogMessage;
-import org.apache.nifi.util.MockComponentLog;
-import org.apache.nifi.util.MockFlowFile;
-import org.apache.nifi.util.TestRunner;
-import org.apache.nifi.util.TestRunners;
-import org.junit.jupiter.api.BeforeEach;
-import org.junit.jupiter.api.Test;
-
-import java.util.Collections;
-import java.util.List;
-import java.util.function.Function;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-
-public class TestExecuteStateless {
-    private static final String HELLO_WORLD = "Hello World";
-    private static final String JSON_OBJECT = "{\"id\": 1,\"name\": \"John\"}";
-    private static final String LIB_DIR = "target/nifi-stateless-processors-test-assembly-core";
-    private static final String JSLT_DIR = "target/nifi-stateless-processors-test-assembly-jslt";
-    private static final String COMPRESS_DIR = "target/nifi-stateless-processors-test-assembly-compress";
-    private static final String WORK_DIR = "target/work";
-
-    private TestRunner runner;
-
-    @BeforeEach
-    public void setup() {
-        runner = TestRunners.newTestRunner(ExecuteStateless.class);
-        runner.setProperty(ExecuteStateless.DATAFLOW_SPECIFICATION_STRATEGY, ExecuteStateless.SPEC_FROM_FILE);
-        runner.setProperty(ExecuteStateless.LIB_DIRECTORY, LIB_DIR);
-        runner.setProperty(ExecuteStateless.WORKING_DIRECTORY, WORK_DIR);
-    }
-
-    @Test
-    public void testSimplePassThrough() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/passthrough-flow.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-
-        runner.enqueue(HELLO_WORLD.getBytes(), Collections.singletonMap("abc", "xyz"));
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 1);
-        final MockFlowFile output = runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT).get(0);
-        output.assertAttributeEquals("abc", "xyz");
-        output.assertContentEquals(HELLO_WORLD);
-    }
-
-    @Test
-    public void testSplitWithParameters() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/split-text.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty("Lines Per Split", "3");
-
-        runner.enqueue("The\nQuick\nBrown\nFox\nJumps\nOver\nThe\nLazy\nDog".getBytes(), Collections.singletonMap("abc", "xyz"));
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 3);
-        final List<MockFlowFile> output = runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT);
-        output.forEach(ff -> ff.assertAttributeEquals("abc", "xyz"));
-        output.get(0).assertContentEquals("The\nQuick\nBrown");
-        output.get(1).assertContentEquals("Fox\nJumps\nOver");
-        output.get(2).assertContentEquals("The\nLazy\nDog");
-    }
-
-    @Test
-    public void testRouteToFailure() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/route-one-to-failure.json");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "Last");
-
-        runner.run();
-
-        runner.assertAllFlowFilesTransferred(ExecuteStateless.REL_OUTPUT, 0);
-    }
-
-    @Test
-    public void testRouteToFailureWithInput() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/route-to-desired-port.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "Other");
-
-        runner.enqueue("A", Collections.singletonMap("desired.port", "A"));
-        runner.enqueue("B", Collections.singletonMap("desired.port", "B"));
-        runner.enqueue("C", Collections.singletonMap("desired.port", "C"));
-
-        runner.run(3, true, true, 300_000L);
-
-        runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 3);
-        runner.assertTransferCount(ExecuteStateless.REL_ORIGINAL, 3);
-        runner.assertTransferCount(ExecuteStateless.REL_FAILURE, 0);
-        runner.assertTransferCount(ExecuteStateless.REL_TIMEOUT, 0);
-
-        runner.clearTransferState();
-        runner.enqueue("D", Collections.singletonMap("desired.port", "D"));
-        runner.run();
-        runner.assertAllFlowFilesTransferred(ExecuteStateless.REL_FAILURE, 1);
-        runner.getFlowFilesForRelationship(ExecuteStateless.REL_FAILURE).get(0).assertAttributeEquals("failure.port.name", "Other");
-    }
-
-
-    @Test
-    public void testMultipleFailurePortNames() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/route-to-desired-port.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "Other, A,    B,C");
-
-        runner.enqueue("B", Collections.singletonMap("desired.port", "B"));
-
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_FAILURE, 1);
-        runner.getFlowFilesForRelationship(ExecuteStateless.REL_FAILURE).get(0).assertAttributeEquals("failure.port.name", "B");
-    }
-
-    @Test
-    public void testRouteToFailureInnerGroup() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/route-to-failure-inner-group.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-
-        runner.enqueue("Hello World");
-        runner.run();
-
-        runner.assertAllFlowFilesTransferred(ExecuteStateless.REL_FAILURE, 1);
-        runner.getFlowFilesForRelationship(ExecuteStateless.REL_FAILURE).get(0).assertAttributeEquals("failure.port.name", "failure");
-    }
-
-    @Test
-    public void testTimeout() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/sleep.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty(ExecuteStateless.DATAFLOW_TIMEOUT, "100 millis");
-        runner.setProperty("Duration", "5 sec"); // Have DebugFlow sleep for 5 seconds
-
-
-        runner.enqueue("Hello World");
-        runner.run();
-
-        runner.assertAllFlowFilesTransferred(ExecuteStateless.REL_TIMEOUT, 1);
-    }
-
-    @Test
-    public void testProcessorExceptionRoutesToFailure() {
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/throw-exception.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-
-        runner.enqueue("Hello World");
-        runner.run();
-
-        runner.assertAllFlowFilesTransferred(ExecuteStateless.REL_FAILURE, 1);
-    }
-
-    @Test
-    public void testInfoBulletinNotSurfaced() {
-        testBulletinSurfaced("INFO", false, MockComponentLog::getInfoMessages);
-    }
-
-    @Test
-    public void testWarnBulletinSurfaced() {
-        testBulletinSurfaced("WARN", true, MockComponentLog::getWarnMessages);
-    }
-
-    @Test
-    public void testErrorBulletinSurfaced() {
-        testBulletinSurfaced("ERROR", true, MockComponentLog::getErrorMessages);
-    }
-
-    @Test
-    public void testAdditionalNarDirectoryNotSpecified() {
-        /* The test flow (jslt-flow.json) requires a nar dependency deliberately not found in LIB_DIR.
-        * Since ExecuteStateless' "Additional NAR Directories" property is purposefully not set,
-        * Stateless NiFi does not find the dependency and throws an error. */
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/jslt-flow.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "input");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-
-        runner.enqueue(JSON_OBJECT.getBytes(), Collections.singletonMap("abc", "xyz"));
-        runner.run();
-
-        final List<LogMessage> logMessages = runner.getLogger().getErrorMessages();
-        assertTrue(logMessages.get(0).getMsg().contains("Could not create dataflow from snapshot"));
-    }
-
-    @Test
-    public void testAdditionalNarDirectorySpecified() {
-        /* The test flow (jslt-flow.json) requires a nar dependency not found in LIB_DIR.
-         * ExecuteStateless' "Additional NAR Directories" property points to the directory containing the dependency.
-         * Stateless loads the dependency from that location. */
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/jslt-flow.json");
-        runner.setProperty(ExecuteStateless.ADDITIONAL_LIB_DIRECTORIES, JSLT_DIR);
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "input");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-
-        runner.enqueue(JSON_OBJECT.getBytes(), Collections.singletonMap("abc", "xyz"));
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 1);
-        final List<MockFlowFile> output = runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT);
-        output.get(0).assertContentEquals("\"John\"");
-    }
-
-    @Test
-    public void testAdditionalNarDirectoriesSpecified() {
-        /* The test flow (jslt-compress-flow.json) requires nar dependencies not found in LIB_DIR.
-         * ExecuteStateless' "Additional NAR Directories" property points to two separate directories containing the dependencies.
-         * Stateless loads the dependencies from those locations. */
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/jslt-compress-flow.json");
-        runner.setProperty(ExecuteStateless.ADDITIONAL_LIB_DIRECTORIES, JSLT_DIR + "," + COMPRESS_DIR);
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "input");
-        runner.setProperty(ExecuteStateless.FAILURE_PORTS, "failure");
-
-        runner.enqueue(JSON_OBJECT.getBytes(), Collections.singletonMap("abc", "xyz"));
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_OUTPUT, 1);
-        final List<MockFlowFile> output = runner.getFlowFilesForRelationship(ExecuteStateless.REL_OUTPUT);
-        output.get(0).assertAttributeEquals("mime.type", "application/gzip");
-    }
-
-    private void testBulletinSurfaced(final String logLevel, final boolean shouldBeSurfaced, final Function<MockComponentLog, List<LogMessage>> getMessageFunction) {
-        final String logMessage = "Unit Test Message";
-
-        runner.setProperty(ExecuteStateless.DATAFLOW_FILE, "src/test/resources/log-message.json");
-        runner.setProperty(ExecuteStateless.INPUT_PORT, "In");
-        runner.setProperty("Log Message", logMessage);
-        runner.setProperty("Log Level", logLevel);
-
-        runner.enqueue("Hello World");
-        runner.run();
-
-        runner.assertTransferCount(ExecuteStateless.REL_ORIGINAL, 1);
-        final List<LogMessage> logMessages = getMessageFunction.apply(runner.getLogger());
-        final long matchingMessageCount = logMessages.stream()
-            .filter(msg -> msg.getMsg().contains(logMessage))
-            .count();
-
-        if (shouldBeSurfaced) {
-            assertTrue(matchingMessageCount > 0);
-        } else {
-            assertEquals(0, matchingMessageCount);
-        }
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-compress-flow.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-compress-flow.json
deleted file mode 100644
index beafa8a4f7..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-compress-flow.json
+++ /dev/null
@@ -1,423 +0,0 @@
-{
-  "flowContents": {
-    "identifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-    "instanceIdentifier": "fc646a49-018b-1000-5cb2-37fc54983e37",
-    "name": "jslt-compress-flow",
-    "comments": "",
-    "position": {
-      "x": 1389.0,
-      "y": 408.0
-    },
-    "processGroups": [],
-    "remoteProcessGroups": [],
-    "processors": [
-      {
-        "identifier": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-        "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f",
-        "name": "JSLTTransformJSON",
-        "comments": "",
-        "position": {
-          "x": 1208.0,
-          "y": 280.0
-        },
-        "type": "org.apache.nifi.processors.jslt.JSLTTransformJSON",
-        "bundle": {
-          "group": "org.apache.nifi",
-          "artifact": "nifi-jslt-nar",
-          "version": "2.0.0-SNAPSHOT"
-        },
-        "properties": {
-          "jslt-transform-pretty_print": "false",
-          "jslt-transform-result-filter": ". != null and . != {} and . != []",
-          "jslt-transform-transformation": ".name",
-          "jslt-transform-cache-size": "1",
-          "jslt-transform-transformation-strategy": "EACH_OBJECT"
-        },
-        "propertyDescriptors": {
-          "jslt-transform-pretty_print": {
-            "name": "jslt-transform-pretty_print",
-            "displayName": "Pretty Print",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-result-filter": {
-            "name": "jslt-transform-result-filter",
-            "displayName": "Transform Result Filter",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-transformation": {
-            "name": "jslt-transform-transformation",
-            "displayName": "JSLT Transformation",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false,
-            "resourceDefinition": {
-              "cardinality": "SINGLE",
-              "resourceTypes": [
-                "FILE",
-                "TEXT"
-              ]
-            }
-          },
-          "jslt-transform-cache-size": {
-            "name": "jslt-transform-cache-size",
-            "displayName": "Transform Cache Size",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-transformation-strategy": {
-            "name": "jslt-transform-transformation-strategy",
-            "displayName": "Transformation Strategy",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          }
-        },
-        "style": {},
-        "schedulingPeriod": "0 sec",
-        "schedulingStrategy": "TIMER_DRIVEN",
-        "executionNode": "ALL",
-        "penaltyDuration": "30 sec",
-        "yieldDuration": "1 sec",
-        "bulletinLevel": "WARN",
-        "runDurationMillis": 0,
-        "concurrentlySchedulableTaskCount": 1,
-        "autoTerminatedRelationships": [],
-        "scheduledState": "ENABLED",
-        "retryCount": 10,
-        "retriedRelationships": [],
-        "backoffMechanism": "PENALIZE_FLOWFILE",
-        "maxBackoffPeriod": "10 mins",
-        "componentType": "PROCESSOR",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "52b14610-18a4-334c-ac38-5e2cea125e9a",
-        "instanceIdentifier": "fca0d278-018b-1000-a210-fd4d738ea0e7",
-        "name": "ModifyCompression",
-        "comments": "",
-        "position": {
-          "x": 1208.0,
-          "y": 472.0
-        },
-        "type": "org.apache.nifi.processors.compress.ModifyCompression",
-        "bundle": {
-          "group": "org.apache.nifi",
-          "artifact": "nifi-compress-nar",
-          "version": "2.0.0-SNAPSHOT"
-        },
-        "properties": {
-          "Output Compression Level": "1",
-          "Input Compression Strategy": "no compression",
-          "Output Compression Strategy": "gzip",
-          "Output Filename Strategy": "UPDATED"
-        },
-        "propertyDescriptors": {
-          "Output Compression Level": {
-            "name": "Output Compression Level",
-            "displayName": "Output Compression Level",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "Input Compression Strategy": {
-            "name": "Input Compression Strategy",
-            "displayName": "Input Compression Strategy",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "Output Compression Strategy": {
-            "name": "Output Compression Strategy",
-            "displayName": "Output Compression Strategy",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "Output Filename Strategy": {
-            "name": "Output Filename Strategy",
-            "displayName": "Output Filename Strategy",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          }
-        },
-        "style": {},
-        "schedulingPeriod": "0 sec",
-        "schedulingStrategy": "TIMER_DRIVEN",
-        "executionNode": "ALL",
-        "penaltyDuration": "30 sec",
-        "yieldDuration": "1 sec",
-        "bulletinLevel": "WARN",
-        "runDurationMillis": 0,
-        "concurrentlySchedulableTaskCount": 1,
-        "autoTerminatedRelationships": [],
-        "scheduledState": "ENABLED",
-        "retryCount": 10,
-        "retriedRelationships": [],
-        "backoffMechanism": "PENALIZE_FLOWFILE",
-        "maxBackoffPeriod": "10 mins",
-        "componentType": "PROCESSOR",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "inputPorts": [
-      {
-        "identifier": "05506a5d-3d47-309e-a2f9-ccdf620fc7bb",
-        "instanceIdentifier": "fc647f65-018b-1000-a0c0-693b42308743",
-        "name": "input",
-        "position": {
-          "x": 1265.0,
-          "y": 128.0
-        },
-        "type": "INPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "INPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "outputPorts": [
-      {
-        "identifier": "a21e1073-b62e-3f2c-af10-0df16221e97e",
-        "instanceIdentifier": "fc64eadc-018b-1000-549e-85726a49e708",
-        "name": "failure",
-        "position": {
-          "x": 1600.0,
-          "y": 696.0
-        },
-        "type": "OUTPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "OUTPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "a0a4d4cb-5e8c-313b-8d72-322c238f7d94",
-        "instanceIdentifier": "fc64d691-018b-1000-e8e3-16301be6f952",
-        "name": "success",
-        "position": {
-          "x": 1128.0,
-          "y": 704.0
-        },
-        "type": "OUTPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "OUTPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "connections": [
-      {
-        "identifier": "e81b2c0b-479e-36ef-adc2-aa2daa60db55",
-        "instanceIdentifier": "fca12acd-018b-1000-7451-7989cee33fd1",
-        "name": "",
-        "source": {
-          "id": "52b14610-18a4-334c-ac38-5e2cea125e9a",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "ModifyCompression",
-          "comments": "",
-          "instanceIdentifier": "fca0d278-018b-1000-a210-fd4d738ea0e7"
-        },
-        "destination": {
-          "id": "a0a4d4cb-5e8c-313b-8d72-322c238f7d94",
-          "type": "OUTPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "success",
-          "instanceIdentifier": "fc64d691-018b-1000-e8e3-16301be6f952"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "success"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "7588b92d-ff24-3c32-b48f-dbefc67b0373",
-        "instanceIdentifier": "fca13b80-018b-1000-86a2-7b666001ec00",
-        "name": "",
-        "source": {
-          "id": "52b14610-18a4-334c-ac38-5e2cea125e9a",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "ModifyCompression",
-          "comments": "",
-          "instanceIdentifier": "fca0d278-018b-1000-a210-fd4d738ea0e7"
-        },
-        "destination": {
-          "id": "a21e1073-b62e-3f2c-af10-0df16221e97e",
-          "type": "OUTPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "failure",
-          "instanceIdentifier": "fc64eadc-018b-1000-549e-85726a49e708"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "failure"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "ca1b97b0-b158-3e74-afc9-8b1ce3f9a52e",
-        "instanceIdentifier": "fc6508de-018b-1000-b1a0-a664e9eced65",
-        "name": "",
-        "source": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "destination": {
-          "id": "52b14610-18a4-334c-ac38-5e2cea125e9a",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "ModifyCompression",
-          "comments": "",
-          "instanceIdentifier": "fca0d278-018b-1000-a210-fd4d738ea0e7"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "success"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "52f6fd29-6c71-3bf6-a4f8-6bc1790cf014",
-        "instanceIdentifier": "fc64a5ba-018b-1000-86f3-d0035c35ba1b",
-        "name": "",
-        "source": {
-          "id": "05506a5d-3d47-309e-a2f9-ccdf620fc7bb",
-          "type": "INPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "input",
-          "instanceIdentifier": "fc647f65-018b-1000-a0c0-693b42308743"
-        },
-        "destination": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          ""
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "79321aac-35cb-3600-8364-099dba9014f0",
-        "instanceIdentifier": "fc6518f9-018b-1000-a271-819fb66c5dc8",
-        "name": "",
-        "source": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "destination": {
-          "id": "a21e1073-b62e-3f2c-af10-0df16221e97e",
-          "type": "OUTPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "failure",
-          "instanceIdentifier": "fc64eadc-018b-1000-549e-85726a49e708"
-        },
-        "labelIndex": 0,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "failure"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [
-          {
-            "x": 1720.0,
-            "y": 344.0
-          }
-        ],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "labels": [],
-    "funnels": [],
-    "controllerServices": [],
-    "defaultFlowFileExpiration": "0 sec",
-    "defaultBackPressureObjectThreshold": 10000,
-    "defaultBackPressureDataSizeThreshold": "1 GB",
-    "scheduledState": "ENABLED",
-    "executionEngine": "INHERITED",
-    "maxConcurrentTasks": 1,
-    "statelessFlowTimeout": "1 min",
-    "logFileSuffix": "",
-    "componentType": "PROCESS_GROUP",
-    "flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE",
-    "flowFileConcurrency": "UNBOUNDED"
-  },
-  "externalControllerServices": {},
-  "parameterContexts": {},
-  "flowEncodingVersion": "1.0",
-  "parameterProviders": {},
-  "latest": false
-}
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-flow.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-flow.json
deleted file mode 100644
index 3daed94983..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/jslt-flow.json
+++ /dev/null
@@ -1,277 +0,0 @@
-{
-  "flowContents": {
-    "identifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-    "instanceIdentifier": "fc646a49-018b-1000-5cb2-37fc54983e37",
-    "name": "jslt-flow",
-    "comments": "",
-    "position": {
-      "x": 1389.0,
-      "y": 408.0
-    },
-    "processGroups": [],
-    "remoteProcessGroups": [],
-    "processors": [
-      {
-        "identifier": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-        "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f",
-        "name": "JSLTTransformJSON",
-        "comments": "",
-        "position": {
-          "x": 1208.0,
-          "y": 280.0
-        },
-        "type": "org.apache.nifi.processors.jslt.JSLTTransformJSON",
-        "bundle": {
-          "group": "org.apache.nifi",
-          "artifact": "nifi-jslt-nar",
-          "version": "2.0.0-SNAPSHOT"
-        },
-        "properties": {
-          "jslt-transform-pretty_print": "false",
-          "jslt-transform-result-filter": ". != null and . != {} and . != []",
-          "jslt-transform-transformation": ".name",
-          "jslt-transform-cache-size": "1",
-          "jslt-transform-transformation-strategy": "EACH_OBJECT"
-        },
-        "propertyDescriptors": {
-          "jslt-transform-pretty_print": {
-            "name": "jslt-transform-pretty_print",
-            "displayName": "Pretty Print",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-result-filter": {
-            "name": "jslt-transform-result-filter",
-            "displayName": "Transform Result Filter",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-transformation": {
-            "name": "jslt-transform-transformation",
-            "displayName": "JSLT Transformation",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false,
-            "resourceDefinition": {
-              "cardinality": "SINGLE",
-              "resourceTypes": [
-                "FILE",
-                "TEXT"
-              ]
-            }
-          },
-          "jslt-transform-cache-size": {
-            "name": "jslt-transform-cache-size",
-            "displayName": "Transform Cache Size",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          },
-          "jslt-transform-transformation-strategy": {
-            "name": "jslt-transform-transformation-strategy",
-            "displayName": "Transformation Strategy",
-            "identifiesControllerService": false,
-            "sensitive": false,
-            "dynamic": false
-          }
-        },
-        "style": {},
-        "schedulingPeriod": "0 sec",
-        "schedulingStrategy": "TIMER_DRIVEN",
-        "executionNode": "ALL",
-        "penaltyDuration": "30 sec",
-        "yieldDuration": "1 sec",
-        "bulletinLevel": "WARN",
-        "runDurationMillis": 0,
-        "concurrentlySchedulableTaskCount": 1,
-        "autoTerminatedRelationships": [],
-        "scheduledState": "ENABLED",
-        "retryCount": 10,
-        "retriedRelationships": [],
-        "backoffMechanism": "PENALIZE_FLOWFILE",
-        "maxBackoffPeriod": "10 mins",
-        "componentType": "PROCESSOR",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "inputPorts": [
-      {
-        "identifier": "05506a5d-3d47-309e-a2f9-ccdf620fc7bb",
-        "instanceIdentifier": "fc647f65-018b-1000-a0c0-693b42308743",
-        "name": "input",
-        "position": {
-          "x": 1265.0,
-          "y": 128.0
-        },
-        "type": "INPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "INPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "outputPorts": [
-      {
-        "identifier": "a21e1073-b62e-3f2c-af10-0df16221e97e",
-        "instanceIdentifier": "fc64eadc-018b-1000-549e-85726a49e708",
-        "name": "failure",
-        "position": {
-          "x": 1424.0,
-          "y": 512.0
-        },
-        "type": "OUTPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "OUTPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "a0a4d4cb-5e8c-313b-8d72-322c238f7d94",
-        "instanceIdentifier": "fc64d691-018b-1000-e8e3-16301be6f952",
-        "name": "success",
-        "position": {
-          "x": 1104.0,
-          "y": 520.0
-        },
-        "type": "OUTPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "scheduledState": "ENABLED",
-        "allowRemoteAccess": false,
-        "portFunction": "STANDARD",
-        "componentType": "OUTPUT_PORT",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "connections": [
-      {
-        "identifier": "ca1b97b0-b158-3e74-afc9-8b1ce3f9a52e",
-        "instanceIdentifier": "fc6508de-018b-1000-b1a0-a664e9eced65",
-        "name": "",
-        "source": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "destination": {
-          "id": "a0a4d4cb-5e8c-313b-8d72-322c238f7d94",
-          "type": "OUTPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "success",
-          "instanceIdentifier": "fc64d691-018b-1000-e8e3-16301be6f952"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "success"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "52f6fd29-6c71-3bf6-a4f8-6bc1790cf014",
-        "instanceIdentifier": "fc64a5ba-018b-1000-86f3-d0035c35ba1b",
-        "name": "",
-        "source": {
-          "id": "05506a5d-3d47-309e-a2f9-ccdf620fc7bb",
-          "type": "INPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "input",
-          "instanceIdentifier": "fc647f65-018b-1000-a0c0-693b42308743"
-        },
-        "destination": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          ""
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      },
-      {
-        "identifier": "79321aac-35cb-3600-8364-099dba9014f0",
-        "instanceIdentifier": "fc6518f9-018b-1000-a271-819fb66c5dc8",
-        "name": "",
-        "source": {
-          "id": "1d143bd9-51a5-3e7a-906a-7ac9ec497672",
-          "type": "PROCESSOR",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "JSLTTransformJSON",
-          "comments": "",
-          "instanceIdentifier": "fc648ca8-018b-1000-a8dd-fc45b5f9db3f"
-        },
-        "destination": {
-          "id": "a21e1073-b62e-3f2c-af10-0df16221e97e",
-          "type": "OUTPUT_PORT",
-          "groupId": "c680fa77-5e72-334f-b7c1-e2d6918ce73a",
-          "name": "failure",
-          "instanceIdentifier": "fc64eadc-018b-1000-549e-85726a49e708"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          "failure"
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "c680fa77-5e72-334f-b7c1-e2d6918ce73a"
-      }
-    ],
-    "labels": [],
-    "funnels": [],
-    "controllerServices": [],
-    "defaultFlowFileExpiration": "0 sec",
-    "defaultBackPressureObjectThreshold": 10000,
-    "defaultBackPressureDataSizeThreshold": "1 GB",
-    "scheduledState": "ENABLED",
-    "executionEngine": "INHERITED",
-    "maxConcurrentTasks": 1,
-    "statelessFlowTimeout": "1 min",
-    "componentType": "PROCESS_GROUP",
-    "flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE",
-    "flowFileConcurrency": "UNBOUNDED"
-  },
-  "externalControllerServices": {},
-  "parameterContexts": {},
-  "flowEncodingVersion": "1.0",
-  "parameterProviders": {},
-  "latest": false
-}
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/log-message.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/log-message.json
deleted file mode 100644
index b5bd51f346..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/log-message.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"7bd4dd54-be68-3796-b607-fef79510b5cc","name":"log-message","comments":"","position":{"x":-3276.819356871901,"y":890.7631521990795},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"c4fa5dd4-ce26-3878-bb92-8c91343c15e3","name":"LogMessage","comments":"","position":{"x":896.0,"y":368.0},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type":"org.apache.nifi.processors.standard.L [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/passthrough-flow.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/passthrough-flow.json
deleted file mode 100644
index a525a2c3df..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/passthrough-flow.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
-  "flowContents": {
-    "identifier": "f73ba15e-7e77-3fe0-adba-6afaba338e07",
-    "name": "Pass-Through",
-    "comments": "",
-    "position": {
-      "x": -953.5297283891521,
-      "y": 184.44227749043935
-    },
-    "processGroups": [],
-    "remoteProcessGroups": [],
-    "processors": [],
-    "inputPorts": [
-      {
-        "identifier": "63133e51-5219-335c-b3ea-56f8274fcbf0",
-        "name": "In",
-        "position": {
-          "x": 980.999958631427,
-          "y": 211.0000023873564
-        },
-        "type": "INPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "allowRemoteAccess": false,
-        "componentType": "INPUT_PORT",
-        "groupIdentifier": "f73ba15e-7e77-3fe0-adba-6afaba338e07"
-      }
-    ],
-    "outputPorts": [
-      {
-        "identifier": "42681445-23ba-3092-baca-6b206fb0298c",
-        "name": "Out",
-        "position": {
-          "x": 980.999958631427,
-          "y": 423.0000023873564
-        },
-        "type": "OUTPUT_PORT",
-        "concurrentlySchedulableTaskCount": 1,
-        "allowRemoteAccess": false,
-        "componentType": "OUTPUT_PORT",
-        "groupIdentifier": "f73ba15e-7e77-3fe0-adba-6afaba338e07"
-      }
-    ],
-    "connections": [
-      {
-        "identifier": "79f7be28-20c6-3d40-86a9-39b64132a68f",
-        "name": "",
-        "source": {
-          "id": "63133e51-5219-335c-b3ea-56f8274fcbf0",
-          "type": "INPUT_PORT",
-          "groupId": "f73ba15e-7e77-3fe0-adba-6afaba338e07",
-          "name": "In"
-        },
-        "destination": {
-          "id": "42681445-23ba-3092-baca-6b206fb0298c",
-          "type": "OUTPUT_PORT",
-          "groupId": "f73ba15e-7e77-3fe0-adba-6afaba338e07",
-          "name": "Out"
-        },
-        "labelIndex": 1,
-        "zIndex": 0,
-        "selectedRelationships": [
-          ""
-        ],
-        "backPressureObjectThreshold": 10000,
-        "backPressureDataSizeThreshold": "1 GB",
-        "flowFileExpiration": "0 sec",
-        "prioritizers": [],
-        "bends": [],
-        "loadBalanceStrategy": "DO_NOT_LOAD_BALANCE",
-        "partitioningAttribute": "",
-        "loadBalanceCompression": "DO_NOT_COMPRESS",
-        "componentType": "CONNECTION",
-        "groupIdentifier": "f73ba15e-7e77-3fe0-adba-6afaba338e07"
-      }
-    ],
-    "labels": [],
-    "funnels": [],
-    "controllerServices": [],
-    "variables": {},
-    "defaultFlowFileExpiration": "0 sec",
-    "defaultBackPressureObjectThreshold": 10000,
-    "defaultBackPressureDataSizeThreshold": "1 GB",
-    "flowFileConcurrency": "UNBOUNDED",
-    "flowFileOutboundPolicy": "STREAM_WHEN_AVAILABLE",
-    "componentType": "PROCESS_GROUP"
-  },
-  "externalControllerServices": {},
-  "parameterContexts": {},
-  "flowEncodingVersion": "1.0"
-}
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-one-to-failure.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-one-to-failure.json
deleted file mode 100644
index bec94517f6..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-one-to-failure.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"07407a58-33d1-3f97-b29d-2a68ce0118f5","name":"Route One to Failure","comments":"","position":{"x":-1121.4711030366489,"y":525.0032298890848},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"ce1cbd81-7d39-3b5d-bb58-1e30a39b3d91","name":"RouteOnAttribute","comments":"","position":{"x":836.9999593270581,"y":330.0000021146835},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-desired-port.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-desired-port.json
deleted file mode 100644
index ed8262e3d2..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-desired-port.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"9219030c-e73b-3cd5-8d99-b831dcd774be","name":"Route to Desired Port","comments":"","position":{"x":-1805.1150914043885,"y":541.6852281794169},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"ef345c88-589c-3937-86fb-cc1373a47810","name":"RouteOnAttribute","comments":"","position":{"x":816.0,"y":288.0},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type":"org.apache.nifi.proc [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-failure-inner-group.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-failure-inner-group.json
deleted file mode 100644
index 193fafb9f0..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/route-to-failure-inner-group.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"eab15588-8b13-3f5b-bea0-980729c38bcb","name":"route-to-failure-inner-group","comments":"","position":{"x":-2573.4996342169,"y":562.3407266421189},"processGroups":[{"identifier":"e6cc89ab-a1d3-3c0d-9219-4f05038a7b8b","name":"inner","comments":"","position":{"x":1040.9999831843675,"y":240.99999718920503},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"f717a940-48fb-33a5-ad85-b459a60f27cc","name":"DuplicateFlowFile","comments":"","posi [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/simplelogger.properties b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/simplelogger.properties
deleted file mode 100644
index f2fcde2177..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/simplelogger.properties
+++ /dev/null
@@ -1,17 +0,0 @@
-# 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.
-
-org.slf4j.simpleLogger.showDateTime=true
-org.slf4j.simpleLogger.dateTimeFormat=yyyy-MM-dd HH:mm:ss:SSS Z
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/sleep.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/sleep.json
deleted file mode 100644
index 1f448bbebc..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/sleep.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"cb50a692-ef3a-36e2-9ecc-548bc3a51e6c","name":"sleep","comments":"","position":{"x":-3275.786581948766,"y":596.422299105577},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"0e3515cf-44aa-3555-baf4-e5c0e40eb344","name":"DebugFlow","comments":"","position":{"x":822.9999831843675,"y":258.99999718920503},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type":"org.apache.nifi.proc [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/split-text.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/split-text.json
deleted file mode 100644
index 7582f164c6..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/split-text.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"3e6eeb4a-ecea-31da-ad8a-2a54d22e6ca4","name":"Split Text","comments":"","position":{"x":-1632.0,"y":128.0},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"4b59285a-caad-38a5-9d88-335efac4f94f","name":"SplitText","comments":"","position":{"x":865.999958631427,"y":243.0000023873564},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type":"org.apache.nifi.processors.standard.Spl [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/throw-exception.json b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/throw-exception.json
deleted file mode 100644
index 570e8b36f8..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor-tests/src/test/resources/throw-exception.json
+++ /dev/null
@@ -1 +0,0 @@
-{"flowContents":{"identifier":"d5861174-a14e-3b70-b90d-47b0890a5b86","name":"throw-exception","comments":"","position":{"x":-3277.8521317950363,"y":369.21181601585585},"processGroups":[],"remoteProcessGroups":[],"processors":[{"identifier":"5fe27e72-6b0c-389a-bf4a-f1c5dff36c9d","name":"DebugFlow","comments":"","position":{"x":899.9999831843675,"y":243.99999718920503},"bundle":{"group":"org.apache.nifi","artifact":"nifi-standard-nar","version":"1.15.0-SNAPSHOT"},"style":{},"type":"org.apa [...]
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/pom.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/pom.xml
deleted file mode 100644
index 3cb9b278e8..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/pom.xml
+++ /dev/null
@@ -1,63 +0,0 @@
-<?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">
-    <parent>
-        <artifactId>nifi-stateless-processor-bundle</artifactId>
-        <groupId>org.apache.nifi</groupId>
-        <version>2.0.0-SNAPSHOT</version>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>nifi-stateless-processor</artifactId>
-
-    <dependencies>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-utils</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-stateless-bootstrap</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi</groupId>
-            <artifactId>nifi-ssl-context-service-api</artifactId>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi.registry</groupId>
-            <artifactId>nifi-registry-client</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>org.apache.nifi.registry</groupId>
-            <artifactId>nifi-registry-data-model</artifactId>
-            <version>2.0.0-SNAPSHOT</version>
-        </dependency>
-        <dependency>
-            <groupId>com.fasterxml.jackson.core</groupId>
-            <artifactId>jackson-databind</artifactId>
-        </dependency>
-    </dependencies>
-</project>
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/ExecuteStateless.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/ExecuteStateless.java
deleted file mode 100644
index 5b3d4ab8e1..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/ExecuteStateless.java
+++ /dev/null
@@ -1,1108 +0,0 @@
-/*
- * 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.processors.stateless;
-
-import org.apache.nifi.annotation.behavior.DynamicProperty;
-import org.apache.nifi.annotation.behavior.InputRequirement;
-import org.apache.nifi.annotation.behavior.InputRequirement.Requirement;
-import org.apache.nifi.annotation.behavior.Restricted;
-import org.apache.nifi.annotation.behavior.SupportsBatching;
-import org.apache.nifi.annotation.behavior.SupportsSensitiveDynamicProperties;
-import org.apache.nifi.annotation.behavior.SystemResource;
-import org.apache.nifi.annotation.behavior.SystemResourceConsideration;
-import org.apache.nifi.annotation.behavior.SystemResourceConsiderations;
-import org.apache.nifi.annotation.behavior.WritesAttribute;
-import org.apache.nifi.annotation.behavior.WritesAttributes;
-import org.apache.nifi.annotation.documentation.CapabilityDescription;
-import org.apache.nifi.annotation.lifecycle.OnScheduled;
-import org.apache.nifi.annotation.lifecycle.OnStopped;
-import org.apache.nifi.annotation.lifecycle.OnUnscheduled;
-import org.apache.nifi.components.AllowableValue;
-import org.apache.nifi.components.PropertyDescriptor;
-import org.apache.nifi.components.PropertyDescriptor.Builder;
-import org.apache.nifi.components.Validator;
-import org.apache.nifi.components.resource.ResourceCardinality;
-import org.apache.nifi.components.resource.ResourceReference;
-import org.apache.nifi.components.resource.ResourceType;
-import org.apache.nifi.flow.Bundle;
-import org.apache.nifi.flow.VersionedConnection;
-import org.apache.nifi.flow.VersionedControllerService;
-import org.apache.nifi.flow.VersionedExternalFlow;
-import org.apache.nifi.flow.VersionedLabel;
-import org.apache.nifi.flow.VersionedPort;
-import org.apache.nifi.flow.VersionedProcessGroup;
-import org.apache.nifi.flow.VersionedProcessor;
-import org.apache.nifi.flow.VersionedRemoteGroupPort;
-import org.apache.nifi.flow.VersionedRemoteProcessGroup;
-import org.apache.nifi.flowfile.FlowFile;
-import org.apache.nifi.logging.LogLevel;
-import org.apache.nifi.processor.AbstractProcessor;
-import org.apache.nifi.processor.DataUnit;
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.processor.ProcessSession;
-import org.apache.nifi.processor.Relationship;
-import org.apache.nifi.processor.exception.ProcessException;
-import org.apache.nifi.processor.util.StandardValidators;
-import org.apache.nifi.processors.stateless.retrieval.CachingDataflowProvider;
-import org.apache.nifi.processors.stateless.retrieval.DataflowProvider;
-import org.apache.nifi.processors.stateless.retrieval.FileSystemDataflowProvider;
-import org.apache.nifi.processors.stateless.retrieval.RegistryDataflowProvider;
-import org.apache.nifi.registry.VersionedFlowConverter;
-import org.apache.nifi.registry.bucket.Bucket;
-import org.apache.nifi.registry.flow.VersionedFlow;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-import org.apache.nifi.reporting.Bulletin;
-import org.apache.nifi.reporting.BulletinQuery;
-import org.apache.nifi.reporting.BulletinRepository;
-import org.apache.nifi.search.SearchContext;
-import org.apache.nifi.search.SearchResult;
-import org.apache.nifi.search.Searchable;
-import org.apache.nifi.ssl.SSLContextService;
-import org.apache.nifi.stateless.bootstrap.StatelessBootstrap;
-import org.apache.nifi.stateless.config.ExtensionClientDefinition;
-import org.apache.nifi.stateless.config.ParameterContextDefinition;
-import org.apache.nifi.stateless.config.ParameterValueProviderDefinition;
-import org.apache.nifi.stateless.config.ReportingTaskDefinition;
-import org.apache.nifi.stateless.config.SslContextDefinition;
-import org.apache.nifi.stateless.config.StatelessConfigurationException;
-import org.apache.nifi.stateless.engine.StatelessEngineConfiguration;
-import org.apache.nifi.stateless.flow.DataflowDefinition;
-import org.apache.nifi.stateless.flow.DataflowTrigger;
-import org.apache.nifi.stateless.flow.DataflowTriggerContext;
-import org.apache.nifi.stateless.flow.FailurePortEncounteredException;
-import org.apache.nifi.stateless.flow.StatelessDataflow;
-import org.apache.nifi.stateless.flow.TransactionThresholds;
-import org.apache.nifi.stateless.flow.TriggerResult;
-import org.apache.nifi.stream.io.StreamUtils;
-
-import java.io.File;
-import java.io.IOException;
-import java.io.InputStream;
-import java.io.OutputStream;
-import java.util.ArrayList;
-import java.util.Arrays;
-import java.util.Collection;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.HashSet;
-import java.util.List;
-import java.util.Map;
-import java.util.Optional;
-import java.util.OptionalLong;
-import java.util.Set;
-import java.util.concurrent.BlockingQueue;
-import java.util.concurrent.LinkedBlockingDeque;
-import java.util.concurrent.TimeUnit;
-import java.util.concurrent.atomic.AtomicInteger;
-
-import static org.apache.nifi.expression.ExpressionLanguageScope.FLOWFILE_ATTRIBUTES;
-import static org.apache.nifi.expression.ExpressionLanguageScope.NONE;
-import static org.apache.nifi.processor.util.StandardValidators.DATA_SIZE_VALIDATOR;
-import static org.apache.nifi.processor.util.StandardValidators.NON_EMPTY_VALIDATOR;
-import static org.apache.nifi.processor.util.StandardValidators.POSITIVE_INTEGER_VALIDATOR;
-import static org.apache.nifi.processor.util.StandardValidators.TIME_PERIOD_VALIDATOR;
-import static org.apache.nifi.processor.util.StandardValidators.URL_VALIDATOR;
-import static org.apache.nifi.processor.util.StandardValidators.createDirectoryExistsValidator;
-
-@Restricted
-@SupportsBatching
-@SupportsSensitiveDynamicProperties
-@SystemResourceConsiderations({
-    @SystemResourceConsideration(resource= SystemResource.CPU),
-    @SystemResourceConsideration(resource= SystemResource.DISK),
-    @SystemResourceConsideration(resource= SystemResource.MEMORY),
-    @SystemResourceConsideration(resource= SystemResource.NETWORK)
-})
-@DynamicProperty(name="Any Parameter name", value="Any value", description = "Any dynamic property that is added will be provided to the stateless flow as a Parameter. The name of the property will" +
-    " be the name of the Parameter, and the value of the property will be the value of the Parameter. Because Parameter values may or may not be sensitive, all dynamic properties will be considered" +
-    " sensitive in order to protect their integrity.")
-@InputRequirement(Requirement.INPUT_ALLOWED)
-@CapabilityDescription("Runs the configured dataflow using the Stateless NiFi engine. Please see documentation in order to understand the differences between the standard NiFi runtime engine and" +
-    " the Stateless NiFi engine. If the Processor is configured with an incoming connection, the incoming FlowFiles will be queued up into the specified Input Port in the dataflow. Data that is" +
-    " transferred out of the flow via an Output Port will be sent to the 'output' relationship, and an attribute will be added to indicate which Port that FlowFile was transferred to. See" +
-    " Additional Details for more information.")
-@WritesAttributes({
-    @WritesAttribute(attribute="output.port.name", description = "The name of the Output Port that the FlowFile was transferred to"),
-    @WritesAttribute(attribute="failure.port.name", description = "If one or more FlowFiles is routed to one of the Output Ports that is configured as a Failure Port, the input FlowFile (if any) " +
-        "will have this attribute added to it, indicating the name of the Port that caused the dataflow to be considered a failure.")
-})
-public class ExecuteStateless extends AbstractProcessor implements Searchable {
-    public static final AllowableValue SPEC_FROM_FILE = new AllowableValue("Use Local File", "Use Local File or URL",
-        "Dataflow to run is stored as a file on the NiFi server or at a URL that is accessible to the NiFi server");
-    public static final AllowableValue SPEC_FROM_REGISTRY = new AllowableValue("Use NiFi Registry", "Use NiFi Registry", "Dataflow to run is stored in NiFi Registry");
-
-    public static final AllowableValue CONTENT_STORAGE_HEAP = new AllowableValue("Store Content on Heap", "Store Content on Heap",
-        "The FlowFile content will be stored on the NiFi JVM's heap. This is the most " +
-        "efficient option for small FlowFiles but can quickly exhaust the heap with larger FlowFiles, resulting in Out Of Memory Errors and node instability.");
-    public static final AllowableValue CONTENT_STORAGE_DISK = new AllowableValue("Store Content on Disk", "Store Content on Disk",
-        "The FlowFile content will be stored on disk, within the configured Work Directory. The content will still be cleared between invocations and will not be persisted across restarts.");
-
-    public static final PropertyDescriptor DATAFLOW_SPECIFICATION_STRATEGY = new Builder()
-        .name("Dataflow Specification Strategy")
-        .displayName("Dataflow Specification Strategy")
-        .description("Specifies how the Processor should obtain a copy of the dataflow that it is to run")
-        .required(true)
-        .allowableValues(SPEC_FROM_FILE, SPEC_FROM_REGISTRY)
-        .defaultValue(SPEC_FROM_FILE.getValue())
-        .build();
-
-    public static final PropertyDescriptor DATAFLOW_FILE = new Builder()
-        .name("Dataflow File")
-        .displayName("Dataflow File/URL")
-        .description("The filename or URL that specifies the dataflow that is to be run")
-        .required(true)
-        .identifiesExternalResource(ResourceCardinality.SINGLE, ResourceType.FILE, ResourceType.URL)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_FILE)
-        .build();
-
-    public static final PropertyDescriptor REGISTRY_URL = new Builder()
-        .name("Registry URL")
-        .displayName("Registry URL")
-        .description("The URL of the NiFi Registry to retrieve the flow from")
-        .required(true)
-        .addValidator(URL_VALIDATOR)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .build();
-
-    public static final PropertyDescriptor SSL_CONTEXT_SERVICE = new Builder()
-        .name("Registry SSL Context Service")
-        .displayName("Registry SSL Context Service")
-        .description("The SSL Context Service to use for interacting with the NiFi Registry")
-        .required(false)
-        .identifiesControllerService(SSLContextService.class)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .build();
-
-    public static final PropertyDescriptor COMMS_TIMEOUT = new Builder()
-        .name("Communications Timeout")
-        .displayName("Communications Timeout")
-        .description("Specifies how long to wait before timing out when attempting to communicate with NiFi Registry")
-        .required(true)
-        .addValidator(TIME_PERIOD_VALIDATOR)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .defaultValue("15 secs")
-        .build();
-
-    public static final PropertyDescriptor BUCKET = new Builder()
-        .name("Registry Bucket")
-        .displayName("Registry Bucket")
-        .description("The name of the Bucket in the NiFi Registry that the flow should retrieved from")
-        .required(true)
-        .addValidator(NON_EMPTY_VALIDATOR)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .build();
-
-    public static final PropertyDescriptor FLOW_NAME = new Builder()
-        .name("Flow Name")
-        .displayName("Flow Name")
-        .description("The name of the flow in the NiFi Registry")
-        .required(true)
-        .addValidator(NON_EMPTY_VALIDATOR)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .build();
-
-    public static final PropertyDescriptor FLOW_VERSION = new Builder()
-        .name("Flow Version")
-        .displayName("Flow Version")
-        .description("The version of the flow in the NiFi Registry that should be retrieved. If not specified, the latest version will always be used.")
-        .required(false)
-        .addValidator(POSITIVE_INTEGER_VALIDATOR)
-        .dependsOn(DATAFLOW_SPECIFICATION_STRATEGY, SPEC_FROM_REGISTRY)
-        .build();
-
-    public static final PropertyDescriptor INPUT_PORT = new Builder()
-        .name("Input Port")
-        .displayName("Input Port")
-        .description("Specifies the name of the Input Port to send incoming FlowFiles to. This property is required if this processor has any incoming connections.")
-        .required(false)
-        .addValidator(NON_EMPTY_VALIDATOR)
-        .expressionLanguageSupported(FLOWFILE_ATTRIBUTES)
-        .build();
-
-    public static final PropertyDescriptor FAILURE_PORTS = new Builder()
-        .name("Failure Ports")
-        .displayName("Failure Ports")
-        .description("A comma-separated list of the names of Output Ports that exist at the root level of the dataflow. If any FlowFile is routed to one of the Ports whose name is listed here, the " +
-            "dataflow will be considered a failure, and the incoming FlowFile (if any) will be routed to 'failure'. If not specified, all Output Ports will be considered successful.")
-        .required(false)
-        .addValidator(NON_EMPTY_VALIDATOR)
-        .expressionLanguageSupported(NONE)
-        .build();
-
-    public static final PropertyDescriptor DATAFLOW_TIMEOUT = new Builder()
-        .name("Dataflow Timeout")
-        .displayName("Dataflow Timeout")
-        .description("If the flow does not complete within this amount of time, the incoming FlowFile, if any, will be routed to the timeout relationship," +
-            "the dataflow will be cancelled, and the invocation will end.")
-        .required(true)
-        .addValidator(TIME_PERIOD_VALIDATOR)
-        .expressionLanguageSupported(FLOWFILE_ATTRIBUTES)
-        .defaultValue("60 sec")
-        .build();
-
-    public static final PropertyDescriptor LIB_DIRECTORY = new Builder()
-        .name("NAR Directory")
-        .displayName("NAR Directory")
-        .description("This directory has three roles: " +
-            "1) it contains the NiFi Stateless NAR and other necessary libraries required for the Stateless engine to be bootstrapped, " +
-            "2) it can contain extensions that should be loaded by the Stateless engine, " +
-            "3) it is used by the Stateless engine to download extensions into.")
-        .required(true)
-        .addValidator(createDirectoryExistsValidator(false, false))
-        .defaultValue("./lib")
-        .build();
-
-    public static final PropertyDescriptor ADDITIONAL_LIB_DIRECTORIES = new Builder()
-        .name("additional-nar-directories")
-        .displayName("Additional NAR Directories")
-        .description("A comma-separated list of paths for directories that contain extensions that " +
-                "should be loaded by the stateless engine. The engine will not download any " +
-                "extensions into these directories or write to them but will read any NAR files " +
-                "that are found within these directories. The engine will not recurse into " +
-                "subdirectories of these directories.")
-        .required(false)
-        .addValidator(StandardValidators.createListValidator(true, true,
-                StandardValidators.createDirectoryExistsValidator(false, false)))
-        .build();
-
-    public static final PropertyDescriptor WORKING_DIRECTORY = new Builder()
-        .name("Work Directory")
-        .displayName("Work Directory")
-        .description("A directory that can be used to create temporary files, such as expanding NAR files, temporary FlowFile content, caching the dataflow, etc.")
-        .required(true)
-        .addValidator(createDirectoryExistsValidator(false, true))
-        .defaultValue("./work")
-        .build();
-
-    public static final PropertyDescriptor KRB5_CONF = new Builder()
-        .name("Krb5 Conf File")
-        .displayName("Krb5 Conf File")
-        .description("The KRB5 Conf file to use for configuring components that rely on Kerberos")
-        .required(false)
-        .identifiesExternalResource(ResourceCardinality.SINGLE, ResourceType.FILE)
-        .build();
-
-    public static final PropertyDescriptor STATELESS_SSL_CONTEXT_SERVICE = new Builder()
-        .name("Stateless SSL Context Service")
-        .displayName("Stateless SSL Context Service")
-        .description("The SSL Context to use as the Stateless System SSL Context")
-        .required(false)
-        .identifiesControllerService(SSLContextService.class)
-        .build();
-
-    public static final PropertyDescriptor MAX_INGEST_FLOWFILES = new Builder()
-        .name("Max Ingest FlowFiles")
-        .displayName("Max Ingest FlowFiles")
-        .description("During the course of a stateless dataflow, some processors may require more data than they have available in order to proceed. For example, MergeContent may require a minimum " +
-            "number of FlowFiles before it can proceed. In this case, the dataflow may bring in additional data from its source Processor. However, this data may all be held in memory, so this " +
-            "property provides a mechanism for limiting the maximum number of FlowFiles that the source Processor can ingest before it will no longer be triggered to ingest additional data.")
-        .required(false)
-        .addValidator(POSITIVE_INTEGER_VALIDATOR)
-        .expressionLanguageSupported(NONE)
-        .build();
-
-    public static final PropertyDescriptor MAX_INGEST_DATA_SIZE = new Builder()
-        .name("Max Ingest Data Size")
-        .displayName("Max Ingest Data Size")
-        .description("During the course of a stateless dataflow, some processors may require more data than they have available in order to proceed. For example, MergeContent may require a minimum " +
-            "number of FlowFiles before it can proceed. In this case, the dataflow may bring in additional data from its source Processor. However, this data may all be held in memory, so this " +
-            "property provides a mechanism for limiting the maximum amount of data that the source Processor can ingest before it will no longer be triggered to ingest additional data.")
-        .required(false)
-        .addValidator(DATA_SIZE_VALIDATOR)
-        .expressionLanguageSupported(NONE)
-        .build();
-
-    public static final PropertyDescriptor CONTENT_STORAGE_STRATEGY = new Builder()
-        .name("Content Storage Strategy")
-        .displayName("Content Storage Strategy")
-        .description("Specifies where the content of FlowFiles that the Stateless dataflow is operating on should be stored. Note that the data is always considered temporary and may be deleted at " +
-            "any time. It is not intended to be persisted across restarted.")
-        .required(true)
-        .allowableValues(CONTENT_STORAGE_HEAP, CONTENT_STORAGE_DISK)
-        .defaultValue(CONTENT_STORAGE_DISK.getValue())
-        .build();
-
-    public static final PropertyDescriptor MAX_INPUT_FLOWFILE_SIZE = new Builder()
-        .name("Max Input FlowFile Size")
-        .displayName("Max Input FlowFile Size")
-        .description("This Processor is configured to load all incoming FlowFiles into memory. Because of that, it is important to limit the maximum size of " +
-            "any incoming FlowFile that would get loaded into memory, in order to prevent Out Of Memory Errors and excessive Garbage Collection. Any FlowFile whose content " +
-            "size is greater than the configured size will be routed to failure and not sent to the Stateless Engine.")
-        .required(true)
-        .dependsOn(CONTENT_STORAGE_STRATEGY, CONTENT_STORAGE_HEAP)
-        .addValidator(DATA_SIZE_VALIDATOR)
-        .expressionLanguageSupported(NONE)
-        .defaultValue("1 MB")
-        .build();
-
-    public static final PropertyDescriptor STATUS_TASK_INTERVAL = new Builder()
-            .name("Status Task Interval")
-            .displayName("Status Task Interval")
-            .description("The Stateless engine periodically logs the status of the dataflow's processors.  This property allows the interval to be changed, or the status logging " +
-                    "to be skipped altogether if the property is not set.")
-            .required(false)
-            .addValidator(StandardValidators.createTimePeriodValidator(10, TimeUnit.SECONDS, 24, TimeUnit.HOURS))
-            .expressionLanguageSupported(NONE)
-            .build();
-
-    static final Relationship REL_ORIGINAL = new Relationship.Builder()
-        .name("original")
-        .description("For any incoming FlowFile that is successfully processed, the original incoming FlowFile will be transferred to this Relationship")
-        .autoTerminateDefault(true)
-        .build();
-    static final Relationship REL_OUTPUT = new Relationship.Builder()
-        .name("output")
-        .description("Any FlowFiles that are transferred to an Output Port in the configured dataflow will be routed to this Relationship")
-        .build();
-    static final Relationship REL_FAILURE = new Relationship.Builder()
-        .name("failure")
-        .description("If the dataflow fails to process an incoming FlowFile, that FlowFile will be routed to this relationship")
-        .build();
-    static final Relationship REL_TIMEOUT = new Relationship.Builder()
-        .name("timeout")
-        .description("If the dataflow fails to complete in the configured amount of time, any incoming FlowFile will be routed to this relationship")
-        .build();
-
-
-    private final BlockingQueue<StatelessDataflow> dataflows = new LinkedBlockingDeque<>();
-    private final AtomicInteger dataflowCreationCount = new AtomicInteger(0);
-    private volatile Set<String> failurePortNames;
-    private volatile VersionedFlowSnapshot flowSnapshot;
-    private volatile AbortableTriggerContext triggerContext;
-
-    @Override
-    protected List<PropertyDescriptor> getSupportedPropertyDescriptors() {
-        return Arrays.asList(
-            DATAFLOW_SPECIFICATION_STRATEGY,
-            DATAFLOW_FILE,
-            REGISTRY_URL,
-            SSL_CONTEXT_SERVICE,
-            COMMS_TIMEOUT,
-            BUCKET,
-            FLOW_NAME,
-            FLOW_VERSION,
-            INPUT_PORT,
-            FAILURE_PORTS,
-            CONTENT_STORAGE_STRATEGY,
-            MAX_INPUT_FLOWFILE_SIZE,
-            DATAFLOW_TIMEOUT,
-            LIB_DIRECTORY,
-            ADDITIONAL_LIB_DIRECTORIES,
-            WORKING_DIRECTORY,
-            MAX_INGEST_FLOWFILES,
-            MAX_INGEST_DATA_SIZE,
-            STATELESS_SSL_CONTEXT_SERVICE,
-            KRB5_CONF,
-                STATUS_TASK_INTERVAL);
-    }
-
-    @Override
-    public Set<Relationship> getRelationships() {
-        return new HashSet<>(Arrays.asList(REL_ORIGINAL, REL_OUTPUT, REL_FAILURE, REL_TIMEOUT));
-    }
-
-    @Override
-    protected PropertyDescriptor getSupportedDynamicPropertyDescriptor(final String propertyDescriptorName) {
-        return new Builder()
-            .name(propertyDescriptorName)
-            .defaultValue("Value for the " + propertyDescriptorName + " parameter")
-            .addValidator(Validator.VALID)
-            .dynamic(true)
-            .build();
-    }
-
-
-    @OnScheduled
-    public void parseDataflow(final ProcessContext context) throws IOException {
-        final String specificationStrategy = context.getProperty(DATAFLOW_SPECIFICATION_STRATEGY).getValue();
-
-        final DataflowProvider rawRetrieval;
-        if (specificationStrategy.equalsIgnoreCase(SPEC_FROM_FILE.getValue())) {
-            rawRetrieval = new FileSystemDataflowProvider();
-        } else {
-            rawRetrieval = new RegistryDataflowProvider(getLogger());
-        }
-
-        final DataflowProvider cachedRetrieval = new CachingDataflowProvider(getIdentifier(), getLogger(), rawRetrieval);
-
-        final long start = System.nanoTime();
-        final VersionedFlowSnapshot versionedFlowSnapshot = cachedRetrieval.retrieveDataflowContents(context);
-        final long millis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - start);
-
-        getLogger().info("Successfully retrieved flow in {} millis", millis);
-        this.flowSnapshot = versionedFlowSnapshot;
-        this.triggerContext = new AbortableTriggerContext();
-
-        final Set<String> failurePorts = new HashSet<>();
-        final String failurePortNames = context.getProperty(FAILURE_PORTS).getValue();
-        if (failurePortNames != null) {
-            for (final String portName : failurePortNames.split(",")) {
-                failurePorts.add(portName.trim());
-            }
-        }
-
-        this.failurePortNames = failurePorts;
-    }
-
-    @OnUnscheduled
-    public void abortDataflow() {
-        if (triggerContext != null) {
-            triggerContext.abort();
-        }
-    }
-
-    @OnStopped
-    public void shutdown() {
-        StatelessDataflow dataflow;
-        while ((dataflow = dataflows.poll()) != null) {
-            dataflow.shutdown();
-        }
-
-        dataflows.clear();
-        dataflowCreationCount.set(0);
-    }
-
-    private StatelessDataflow createDataflow(final ProcessContext context) throws IOException, StatelessConfigurationException {
-        final int dataflowIndex = dataflowCreationCount.getAndIncrement();
-        final StatelessEngineConfiguration engineConfiguration = createEngineConfiguration(context, dataflowIndex);
-        final StatelessBootstrap bootstrap = StatelessBootstrap.bootstrap(engineConfiguration, Thread.currentThread().getContextClassLoader());
-
-        final DataflowDefinition dataflowDefinition = createDataflowDefinition(context, flowSnapshot);
-
-        final StatelessDataflow dataflow = bootstrap.createDataflow(dataflowDefinition);
-        dataflow.initialize();
-        return dataflow;
-    }
-
-    private StatelessDataflow getDataflow(final ProcessContext context) throws IOException, StatelessConfigurationException {
-        final StatelessDataflow dataflow = dataflows.poll();
-        if (dataflow == null) {
-            return createDataflow(context);
-        }
-
-        return dataflow;
-    }
-
-    @Override
-    public void onTrigger(final ProcessContext context, final ProcessSession session) throws ProcessException {
-        // Fetch a FlowFile, if appropriate
-        FlowFile flowFile = null;
-        if (context.hasIncomingConnection()) {
-            flowFile = session.get();
-            if (flowFile == null) {
-                return;
-            }
-        }
-
-        // Get the dataflow to run
-        final StatelessDataflow dataflow;
-        try {
-            dataflow = getDataflow(context);
-        } catch (final Exception e) {
-            getLogger().error("Could not create dataflow from snapshot", e);
-            session.rollback();
-            return;
-        }
-
-        // Trigger the dataflow and make sure that we always add the StatelessDataflow object back to the queue so that it can be reused.
-        try {
-            runDataflow(dataflow, flowFile, context, session);
-        } finally {
-            dataflows.offer(dataflow);
-        }
-    }
-
-
-    private void runDataflow(final StatelessDataflow dataflow, final FlowFile flowFile, final ProcessContext context, final ProcessSession session) {
-        // Ensure that we get a legitimate timeout value
-        final long timeoutMillis;
-        try {
-            timeoutMillis = context.getProperty(DATAFLOW_TIMEOUT).evaluateAttributeExpressions(flowFile).asTimePeriod(TimeUnit.MILLISECONDS);
-        } catch (final Exception e) {
-            getLogger().error("Failed to determine Dataflow Timeout for {}. Routing to failure", flowFile);
-            session.transfer(flowFile, REL_FAILURE);
-            return;
-        }
-
-        // Attempt to enqueue the dataflow. If unable, the appropriate log messages will be generated and actions taken by the enqueueFlowFile() method, so we can simply return.
-        if (flowFile != null) {
-            final boolean enqueued = enqueueFlowFile(flowFile, dataflow, context, session);
-            if (!enqueued) {
-                return;
-            }
-        }
-
-        // Reset any counters on the dataflow. This way, we can simply gather the counters after triggering the dataflow,
-        // and we know that's how much we need to adjust our counters by.
-        dataflow.resetCounters();
-
-        // Trigger the dataflow
-        final BulletinRepository bulletinRepository = dataflow.getBulletinRepository();
-        final long maxBulletinId = bulletinRepository.getMaxBulletinId();
-        final DataflowTrigger trigger = dataflow.trigger(triggerContext);
-
-        // If the timeout is exceeded, transfer original FlowFile to failure and cancel the dataflow invocation.
-        Optional<TriggerResult> optionalResult;
-        boolean timeoutExceeded = false;
-        try {
-            optionalResult = trigger.getResult(timeoutMillis, TimeUnit.MILLISECONDS);
-        } catch (final InterruptedException e) {
-            Thread.currentThread().interrupt();
-            timeoutExceeded = true;
-            optionalResult = Optional.empty();
-            trigger.cancel();
-        } finally {
-            surfaceBulletins(bulletinRepository, maxBulletinId);
-        }
-
-        if (!optionalResult.isPresent()) {
-            timeoutExceeded = true;
-        }
-
-        if (timeoutExceeded) {
-            getLogger().error("Dataflow did not complete within the allotted time of {} milliseconds for {}. Routing to timeout.", timeoutMillis, flowFile);
-            if (flowFile != null) {
-                session.transfer(flowFile, REL_TIMEOUT);
-            }
-            trigger.cancel();
-            return;
-        }
-
-        // If the datflow was not successful, log an indication of why not and transfer to failure. Then return, as the dataflow has completed and there's nothing left to do.
-        final TriggerResult triggerResult = optionalResult.get();
-        if (!triggerResult.isSuccessful()) {
-            final Optional<Throwable> failureOptional = triggerResult.getFailureCause();
-            if (failureOptional.isPresent()) {
-                final Throwable cause = failureOptional.get();
-
-                if (flowFile == null) {
-                    getLogger().error("Dataflow failed to complete successfully. Yielding.", failureOptional.get());
-                } else {
-                    getLogger().error("Dataflow failed to complete successfully for {}. Routing to failure and yielding.", flowFile, failureOptional.get());
-
-                    // Add a failure.port.name attribute
-                    if (cause instanceof FailurePortEncounteredException) {
-                        final String portName = ((FailurePortEncounteredException) cause).getPortName();
-                        session.putAttribute(flowFile, "failure.port.name", portName);
-                    }
-                }
-
-            }
-
-            if (flowFile != null) {
-                session.transfer(flowFile, REL_FAILURE);
-            }
-
-            adjustCounters(session, dataflow, " (Failed attempts)");
-            session.adjustCounter("Failed Invocations", 1, false);
-            context.yield();
-
-            return;
-        }
-
-        // Create a FlowFile in this NiFi instance for each FlowFile that was output by the Stateless dataflow.
-        // We cannot simply transfer the output FlowFiles because they belong to a different, internal session and their content may not be persisted.
-        // Therefore, we create our own FlowFile whose parent is the input FlowFile (if one exists) and then add the attributes and contents as necessary.
-        final Set<FlowFile> createdSet;
-        try {
-            createdSet = createOutputFlowFiles(optionalResult.get(), session, flowFile);
-        } catch (final IOException e) {
-            getLogger().error("Failed to write FlowFile contents that were output from Stateless Flow to the NiFi content repository for {}. Routing to failure.", flowFile, e);
-            if (flowFile != null) {
-                session.transfer(flowFile, REL_FAILURE);
-            }
-            return;
-        }
-
-        // Update any counters
-        adjustCounters(session, dataflow, null);
-
-        // If dataflow is yielded, yield this processor
-        final long yieldExpiration = dataflow.getSourceYieldExpiration();
-        if (yieldExpiration > 0) {
-            final long now = System.currentTimeMillis();
-            final long yieldMillis = yieldExpiration - now;
-            if (yieldMillis > 0) {
-                context.yield();
-            }
-        }
-
-        // Transfer the FlowFiles and asynchronously commit the session.
-        if (flowFile != null) {
-            session.transfer(flowFile, REL_ORIGINAL);
-        }
-        session.transfer(createdSet, REL_OUTPUT);
-        session.commitAsync(triggerResult::acknowledge);
-
-        if (flowFile == null) {
-            getLogger().info("Successfully triggered dataflow to run, producing {} output FlowFiles", createdSet.size());
-        } else {
-            getLogger().info("Successfully triggered dataflow to run against {}, producing {} output FlowFiles", flowFile, createdSet.size());
-        }
-
-        session.adjustCounter("Successful Invocations", 1, false);
-    }
-
-    private void surfaceBulletins(final BulletinRepository bulletinRepository, final long minBulletinId) {
-        // If there are any WARNING or ERROR bulletins, we want to log them for this processor. All of the log messages from the components
-        // themselves will already have been logged, but we want to surface any warn/error message as bulletins so we log them again for this processor.
-        final BulletinQuery bulletinQuery = new BulletinQuery.Builder()
-            .after(minBulletinId)
-            .build();
-
-        final List<Bulletin> bulletins = bulletinRepository.findBulletins(bulletinQuery);
-        for (final Bulletin bulletin : bulletins) {
-            try {
-                String level = bulletin.getLevel();
-                if (level == null || level.equalsIgnoreCase("WARNING")) {
-                    level = "WARN";
-                }
-                final LogLevel logLevel = LogLevel.valueOf(level);
-                if (logLevel == LogLevel.DEBUG || logLevel == LogLevel.INFO) {
-                    continue;
-                }
-
-                getLogger().log(logLevel, "{} {}[name={}, id={}] {}", bulletin.getTimestamp(), bulletin.getSourceType(), bulletin.getSourceName(), bulletin.getSourceName(), bulletin.getMessage());
-            } catch (final Exception e) {
-                getLogger().warn("Dataflow emitted a bulletin but failed to surface that bulletin due to {}", e.toString(), e);
-            }
-        }
-    }
-
-    private void adjustCounters(final ProcessSession session, final StatelessDataflow dataflow, final String counterNameSuffix) {
-        for (final Map.Entry<String, Long> entry : dataflow.getCounters(false).entrySet()) {
-            if (entry.getValue() != 0) {
-                final String counterName = counterNameSuffix == null ? entry.getKey() : (entry.getKey() + counterNameSuffix);
-                session.adjustCounter(counterName, entry.getValue(), false);
-            }
-        }
-    }
-
-    private Set<FlowFile> createOutputFlowFiles(final TriggerResult triggerResult, final ProcessSession session, final FlowFile flowFile) throws IOException {
-        final Set<FlowFile> createdSet = new HashSet<>();
-        try {
-            final Map<String, List<FlowFile>> outputFlowFiles = triggerResult.getOutputFlowFiles();
-            for (final Map.Entry<String, List<FlowFile>> entry : outputFlowFiles.entrySet()) {
-                final String outputPortName = entry.getKey();
-                final List<FlowFile> outputForPort = entry.getValue();
-
-                for (final FlowFile outputFlowFile : outputForPort) {
-                    FlowFile created = flowFile == null ? session.create() : session.create(flowFile);
-                    createdSet.add(created);
-
-                    try (final OutputStream out = session.write(created);
-                         final InputStream flowFileContents = triggerResult.readContent(outputFlowFile)) {
-                        StreamUtils.copy(flowFileContents, out);
-                    }
-
-                    final Map<String, String> attributes = new HashMap<>(outputFlowFile.getAttributes());
-                    attributes.put("output.port.name", outputPortName);
-                    session.putAllAttributes(created, attributes);
-                }
-            }
-        } catch (final Exception e) {
-            session.remove(createdSet);
-            throw e;
-        }
-
-        return createdSet;
-    }
-
-    private boolean enqueueFlowFile(final FlowFile flowFile, final StatelessDataflow dataflow, final ProcessContext context, final ProcessSession session) {
-        final long maxBytes = context.getProperty(MAX_INPUT_FLOWFILE_SIZE).asDataSize(DataUnit.B).longValue();
-        if (flowFile.getSize() > maxBytes) {
-            getLogger().warn("Will not process {} because its size of {} bytes exceeds the max configured threshold of {} bytes. Routing to failure",
-                flowFile, flowFile.getSize(), maxBytes);
-
-            session.transfer(flowFile, REL_FAILURE);
-            return false;
-        }
-
-        final Set<String> inputPortNames = dataflow.getInputPortNames();
-
-        // If there is exactly 1 Input Port available in the dataflow, the name isn't required.
-        String inputPortName = context.getProperty(INPUT_PORT).evaluateAttributeExpressions(flowFile).getValue();
-        if (inputPortName == null || inputPortName.trim().isEmpty()) {
-            if (inputPortNames.size() == 1) {
-                inputPortName = inputPortNames.iterator().next();
-            } else {
-                getLogger().error("For {}, determined Input Port Name to be unspecified. Routing to failure.", flowFile);
-                session.transfer(flowFile, REL_FAILURE);
-                return false;
-            }
-        }
-
-        if (!inputPortNames.contains(inputPortName)) {
-            getLogger().error("For {}, Input Port Name is {}, but that Input Port does not exist in the provided dataflow or is not at the root level. Routing to failure",
-                flowFile, inputPortName);
-            session.transfer(flowFile, REL_FAILURE);
-            return false;
-        }
-
-        try (final InputStream in = session.read(flowFile)) {
-            dataflow.enqueue(in, flowFile.getAttributes(), inputPortName);
-        } catch (final IOException e) {
-            getLogger().error("Failed to read contents of FlowFile {} into memory. Routing to failure", flowFile);
-            session.transfer(flowFile, REL_FAILURE);
-            return false;
-        }
-
-        return true;
-    }
-
-
-    private DataflowDefinition createDataflowDefinition(final ProcessContext context, final VersionedFlowSnapshot flowSnapshot) {
-        final VersionedExternalFlow externalFlow = VersionedFlowConverter.createVersionedExternalFlow(flowSnapshot);
-        final ParameterValueProviderDefinition parameterValueProviderDefinition = new ParameterValueProviderDefinition();
-        parameterValueProviderDefinition.setType("org.apache.nifi.stateless.parameter.OverrideParameterValueProvider");
-        parameterValueProviderDefinition.setName("Parameter Override");
-
-        final Map<String, String> parameterValues = new HashMap<>();
-        for (final Map.Entry<PropertyDescriptor, String> entry : context.getProperties().entrySet()) {
-            if (!entry.getKey().isDynamic()) {
-                continue;
-            }
-
-            parameterValues.put(entry.getKey().getName(), entry.getValue());
-        }
-
-        parameterValueProviderDefinition.setPropertyValues(parameterValues);
-
-        final Integer maxFlowFiles = context.getProperty(MAX_INGEST_FLOWFILES).asInteger();
-        final Double maxBytes = context.getProperty(MAX_INGEST_DATA_SIZE).asDataSize(DataUnit.B);
-        final long maxTimeNanos = context.getProperty(DATAFLOW_TIMEOUT).asTimePeriod(TimeUnit.NANOSECONDS);
-
-        final TransactionThresholds transactionThresholds = new TransactionThresholds() {
-            @Override
-            public OptionalLong getMaxFlowFiles() {
-                return maxFlowFiles == null ? OptionalLong.empty() : OptionalLong.of(maxFlowFiles);
-            }
-
-            @Override
-            public OptionalLong getMaxContentSize(final DataUnit dataUnit) {
-                return maxBytes == null ? OptionalLong.empty() : OptionalLong.of(maxBytes.longValue());
-            }
-
-            @Override
-            public OptionalLong getMaxTime(final TimeUnit timeUnit) {
-                return OptionalLong.of(timeUnit.convert(maxTimeNanos, TimeUnit.NANOSECONDS));
-            }
-        };
-
-        return new DataflowDefinition() {
-            @Override
-            public VersionedExternalFlow getVersionedExternalFlow() {
-                return externalFlow;
-            }
-
-            @Override
-            public String getFlowName() {
-                return flowSnapshot.getFlowContents().getName();
-            }
-
-            @Override
-            public Set<String> getFailurePortNames() {
-                return failurePortNames;
-            }
-
-            @Override
-            public Set<String> getInputPortNames() {
-                return Collections.emptySet();
-            }
-
-            @Override
-            public Set<String> getOutputPortNames() {
-                return failurePortNames;
-            }
-
-            @Override
-            public List<ParameterContextDefinition> getParameterContexts() {
-                return null;
-            }
-
-            @Override
-            public List<ReportingTaskDefinition> getReportingTaskDefinitions() {
-                return Collections.emptyList();
-            }
-
-            @Override
-            public List<ParameterValueProviderDefinition> getParameterValueProviderDefinitions() {
-                return Collections.singletonList(parameterValueProviderDefinition);
-            }
-
-            @Override
-            public TransactionThresholds getTransactionThresholds() {
-                return transactionThresholds;
-            }
-        };
-    }
-
-    private StatelessEngineConfiguration createEngineConfiguration(final ProcessContext context, final int contentRepoIndex) {
-        final File workingDirectory = new File(context.getProperty(WORKING_DIRECTORY).getValue());
-        final File narDirectory = new File(context.getProperty(LIB_DIRECTORY).getValue());
-        final Collection<File> additionalNarDirectories = getAdditionalNarDirectories(context.getProperty(ADDITIONAL_LIB_DIRECTORIES).getValue());
-        final ResourceReference krb5Reference = context.getProperty(KRB5_CONF).asResource();
-        final File krb5Conf = krb5Reference == null ? null : krb5Reference.asFile();
-        final SSLContextService sslContextService = context.getProperty(STATELESS_SSL_CONTEXT_SERVICE).asControllerService(SSLContextService.class);
-
-        final SslContextDefinition sslContextDefinition;
-        if (sslContextService == null) {
-            sslContextDefinition = null;
-        } else {
-            sslContextDefinition = new SslContextDefinition();
-            sslContextDefinition.setKeyPass(sslContextService.getKeyPassword());
-            sslContextDefinition.setKeystoreFile(sslContextService.getKeyStoreFile());
-            sslContextDefinition.setKeystorePass(sslContextService.getKeyStorePassword());
-            sslContextDefinition.setKeystoreType(sslContextService.getKeyStoreType());
-            sslContextDefinition.setTruststoreFile(sslContextService.getTrustStoreFile());
-            sslContextDefinition.setTruststorePass(sslContextService.getTrustStorePassword());
-            sslContextDefinition.setTruststoreType(sslContextService.getTrustStoreType());
-        }
-
-        final String contentStorageStrategy = context.getProperty(CONTENT_STORAGE_STRATEGY).getValue();
-        final File contentRepoDirectory;
-        if (CONTENT_STORAGE_DISK.getValue().equals(contentStorageStrategy)) {
-            final File contentRepoRootDirectory = new File(workingDirectory, "execute-stateless-flowfile-content");
-            final File processorContentRepo = new File(contentRepoRootDirectory, getIdentifier());
-            contentRepoDirectory = new File(processorContentRepo, String.valueOf(contentRepoIndex));
-        } else {
-            contentRepoDirectory = null;
-        }
-
-        final String statusTaskInterval = context.getProperty(STATUS_TASK_INTERVAL).getValue();
-
-        return new StatelessEngineConfiguration() {
-            @Override
-            public File getWorkingDirectory() {
-                return workingDirectory;
-            }
-
-            @Override
-            public File getNarDirectory() {
-                return narDirectory;
-            }
-
-            @Override
-            public File getExtensionsDirectory() {
-                return narDirectory;
-            }
-
-            @Override
-            public Collection<File> getReadOnlyExtensionsDirectories() {
-                return additionalNarDirectories;
-            }
-
-            @Override
-            public File getKrb5File() {
-                return krb5Conf;
-            }
-
-            @Override
-            public Optional<File> getContentRepositoryDirectory() {
-                return Optional.ofNullable(contentRepoDirectory);
-            }
-
-            @Override
-            public SslContextDefinition getSslContext() {
-                return sslContextDefinition;
-            }
-
-            @Override
-            public String getSensitivePropsKey() {
-                return getIdentifier();
-            }
-
-            @Override
-            public List<ExtensionClientDefinition> getExtensionClients() {
-                return Collections.emptyList();
-            }
-
-            @Override
-            public boolean isLogExtensionDiscovery() {
-                return false;
-            }
-
-            @Override
-            public String getStatusTaskInterval() {
-                return statusTaskInterval;
-            }
-        };
-    }
-
-    @Override
-    public Collection<SearchResult> search(final SearchContext context) {
-        if (flowSnapshot == null) {
-            return Collections.emptyList();
-        }
-
-        final VersionedComponentSearchResults results = new VersionedComponentSearchResults(context.getSearchTerm());
-        final Bucket bucket = flowSnapshot.getBucket();
-        if (bucket != null) {
-            results.add(bucket.getIdentifier(), "Bucket ID");
-            results.add(bucket.getName(), "Bucket Name");
-            results.add(bucket.getDescription(), "Bucket Description");
-        }
-
-        final VersionedFlow versionedFlow = flowSnapshot.getFlow();
-        if (versionedFlow != null) {
-            results.add(versionedFlow.getIdentifier(), "Flow ID");
-            results.add(versionedFlow.getName(), "Flow Name");
-            results.add(versionedFlow.getDescription(), "Flow Description");
-        }
-
-        search(flowSnapshot.getFlowContents(), results);
-        return results.toList();
-    }
-
-    private void search(final VersionedProcessGroup group, final VersionedComponentSearchResults results) {
-        results.add(group.getName(), "Process Group Name");
-        results.add(group.getComments(), "Process Group Comments");
-
-        for (final VersionedPort port : group.getInputPorts()) {
-            results.add(port.getName(), "Input Port Name");
-            results.add(port.getComments(), "Input Port Comments");
-            results.add(port.getIdentifier(), "Input Port ID");
-        }
-        for (final VersionedPort port : group.getOutputPorts()) {
-            results.add(port.getName(), "Output Port Name");
-            results.add(port.getComments(), "Output Port Comments");
-            results.add(port.getIdentifier(), "Output Port ID");
-        }
-        for (final VersionedLabel label : group.getLabels()) {
-            results.add(label.getLabel(), "Label Text");
-        }
-        for (final VersionedProcessor processor : group.getProcessors()) {
-            results.add(processor.getName(), "Processor Name");
-            results.add(processor.getType(), "Processor Type");
-            results.add(processor.getIdentifier(), "Processor ID");
-
-            for (final Map.Entry<String, String> entry : processor.getProperties().entrySet()) {
-                results.add(entry.getKey(), "Processor Property Name");
-                results.add(entry.getValue(), "Value of Processor Property " + entry.getKey());
-            }
-            results.add(processor.getComments(), "Processor Comments");
-
-            final Bundle bundle = processor.getBundle();
-            if (bundle != null) {
-                results.add(bundle.getGroup(), "Bundle Group ID for Processor " + processor.getType());
-                results.add(bundle.getArtifact(), "Bundle Artifact ID for Processor " + processor.getType());
-                results.add(bundle.getVersion(), "Bundle Version for Processor " + processor.getType());
-            }
-        }
-        for (final VersionedRemoteProcessGroup rpg : group.getRemoteProcessGroups()) {
-            results.add(rpg.getTargetUris(), "RPG Target URI");
-            results.add(rpg.getComments(), "RPG Comments");
-            results.add(rpg.getIdentifier(), "RPG Identifier");
-
-            for (final VersionedRemoteGroupPort port : rpg.getInputPorts()) {
-                results.add(port.getName(), "RPG Input Port Name");
-                results.add(port.getIdentifier(), "RPG Input Port ID");
-                results.add(port.getTargetId(), "RPG Input Port Target ID");
-            }
-
-            for (final VersionedRemoteGroupPort port : rpg.getOutputPorts()) {
-                results.add(port.getName(), "RPG Output Port Name");
-                results.add(port.getIdentifier(), "RPG Output Port ID");
-                results.add(port.getTargetId(), "RPG Output Port Target ID");
-            }
-        }
-        results.add(group.getParameterContextName(), "Parameter Context Name");
-
-        for (final VersionedConnection connection : group.getConnections()) {
-            results.add(connection.getIdentifier(), "Connection ID");
-            results.add(connection.getName(), "Connection Name");
-            if (connection.getSelectedRelationships() != null) {
-                results.add(connection.getSelectedRelationships().toString(), "Selected Relationships");
-            }
-            results.add(connection.getComments(), "Connection Comments");
-        }
-        for (final VersionedControllerService service : group.getControllerServices()) {
-            results.add(service.getName(), "Controller Service Name");
-            results.add(service.getType(), "Controller Service Type");
-            results.add(service.getIdentifier(), "Controller Service ID");
-
-            for (final Map.Entry<String, String> entry : service.getProperties().entrySet()) {
-                results.add(entry.getKey(), "Controller Service Property Name");
-                results.add(entry.getValue(), "Value of Controller Service Property " + entry.getKey());
-            }
-            results.add(service.getComments(), "Controller Service Comments");
-
-            final Bundle bundle = service.getBundle();
-            if (bundle != null) {
-                results.add(bundle.getGroup(), "Bundle Group ID for Controller Service " + service.getType());
-                results.add(bundle.getArtifact(), "Bundle Artifact ID for Controller Service " + service.getType());
-                results.add(bundle.getVersion(), "Bundle Version for Controller Service " + service.getType());
-            }
-        }
-        for (final VersionedProcessGroup child : group.getProcessGroups()) {
-            search(child, results);
-        }
-    }
-
-    private Collection<File> getAdditionalNarDirectories(String commaSeparatedPaths) {
-        if (commaSeparatedPaths == null || commaSeparatedPaths.isEmpty()) {
-            return Collections.emptyList();
-        } else {
-            final String[] paths = commaSeparatedPaths.split(",");
-            final List<File> directories = new ArrayList<>();
-            for (String path : paths) {
-                final String trimmedPath = path.trim();
-                if (!trimmedPath.isEmpty()) {
-                    directories.add(new File(trimmedPath));
-                }
-            }
-            return directories;
-        }
-    }
-
-    private static class VersionedComponentSearchResults {
-        private final String term;
-        private final List<SearchResult> results = new ArrayList<>();
-
-        public VersionedComponentSearchResults(final String term) {
-            this.term = term;
-        }
-
-        public void add(final String value, final String description) {
-            if (value == null) {
-                return;
-            }
-
-            if (value.contains(term)) {
-                results.add(new SearchResult.Builder().match(value).label(description).build());
-            }
-        }
-
-        public List<SearchResult> toList() {
-            return results;
-        }
-    }
-
-    private static class AbortableTriggerContext implements DataflowTriggerContext {
-        private volatile boolean aborted = false;
-
-        @Override
-        public boolean isAbort() {
-            return aborted;
-        }
-
-        public void abort() {
-            this.aborted = true;
-        }
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/CachingDataflowProvider.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/CachingDataflowProvider.java
deleted file mode 100644
index 899e215599..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/CachingDataflowProvider.java
+++ /dev/null
@@ -1,100 +0,0 @@
-/*
- * 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.processors.stateless.retrieval;
-
-import com.fasterxml.jackson.databind.DeserializationFeature;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import com.fasterxml.jackson.module.jakarta.xmlbind.JakartaXmlBindAnnotationIntrospector;
-import org.apache.nifi.logging.ComponentLog;
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.processors.stateless.ExecuteStateless;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-
-import java.io.File;
-import java.io.IOException;
-
-/**
- * Wrapper that can be used in order to cache a dataflow once it has been fetched for backup purposes.
- * This provider will always first delegate to the given DataflowProvider first. If the given provider is
- * able to retrieve the dataflow, this provider will then store the dataflow is a file. If, later, the
- * given provider is unable to retrieve the dataflow, due to the endpoint being down, etc., then this provider
- * will instead parse the cached file. This eliminates the concern of requiring that some external endpoint is
- * available in order to run the dataflow.
- */
-public class CachingDataflowProvider implements DataflowProvider {
-    private final String processorId;
-    private final ComponentLog logger;
-    private final DataflowProvider delegate;
-    private final ObjectMapper objectMapper;
-
-
-    public CachingDataflowProvider(final String processorId, final ComponentLog logger, final DataflowProvider delegate) {
-        this.processorId = processorId;
-        this.logger = logger;
-        this.delegate = delegate;
-
-        objectMapper = new ObjectMapper();
-        objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
-        objectMapper.setAnnotationIntrospector(new JakartaXmlBindAnnotationIntrospector(objectMapper.getTypeFactory()));
-    }
-
-    @Override
-    public VersionedFlowSnapshot retrieveDataflowContents(final ProcessContext context) throws IOException {
-        try {
-            final VersionedFlowSnapshot retrieved = delegate.retrieveDataflowContents(context);
-            cacheFlowSnapshot(context, retrieved);
-            return retrieved;
-        } catch (final Exception e) {
-            final File cacheFile = getFlowCacheFile(context, processorId);
-            if (cacheFile.exists()) {
-                logger.warn("Failed to retrieve Flow Snapshot. Will restore Flow Snapshot from cached version at {}", cacheFile.getAbsolutePath(), e);
-                return readCachedFlow(cacheFile);
-            }
-
-            throw new IOException("Failed to retrieve Flow Snapshot from configured endpoint and no cached version is available", e);
-        }
-    }
-
-    private void cacheFlowSnapshot(final ProcessContext context, final VersionedFlowSnapshot flowSnapshot) {
-        final File cacheFile = getFlowCacheFile(context, processorId);
-        if (!cacheFile.getParentFile().exists() && !cacheFile.getParentFile().mkdirs()) {
-            logger.warn("Fetched dataflow but cannot create directory {} in order to cache the dataflow. " +
-                "Upon restart, processor will not be able to function unless flow endpoint is available", cacheFile);
-            return;
-        }
-
-        try {
-            objectMapper.writeValue(cacheFile, flowSnapshot);
-        } catch (final Exception e) {
-            logger.warn("Fetched dataflow but failed to write the dataflow to disk at {} in order to cache the dataflow. " +
-                "Upon restart, processor will not be able to function unless flow endpoint is available", cacheFile, e);
-        }
-    }
-
-    protected File getFlowCacheFile(final ProcessContext context, final String processorId) {
-        final String workingDirName = context.getProperty(ExecuteStateless.WORKING_DIRECTORY).getValue();
-        final File workingDir = new File(workingDirName);
-        final File dataflowCache = new File(workingDir, "dataflow-cache");
-        final File flowSnapshotFile = new File(dataflowCache, processorId + ".flow.snapshot.json");
-        return flowSnapshotFile;
-    }
-
-    private VersionedFlowSnapshot readCachedFlow(final File cacheFile) throws IOException {
-        return objectMapper.readValue(cacheFile, VersionedFlowSnapshot.class);
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/DataflowProvider.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/DataflowProvider.java
deleted file mode 100644
index bfc729de5f..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/DataflowProvider.java
+++ /dev/null
@@ -1,27 +0,0 @@
-/*
- * 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.processors.stateless.retrieval;
-
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-
-import java.io.IOException;
-
-public interface DataflowProvider {
-    VersionedFlowSnapshot retrieveDataflowContents(ProcessContext context) throws IOException;
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/FileSystemDataflowProvider.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/FileSystemDataflowProvider.java
deleted file mode 100644
index e655074eed..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/FileSystemDataflowProvider.java
+++ /dev/null
@@ -1,40 +0,0 @@
-/*
- * 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.processors.stateless.retrieval;
-
-import com.fasterxml.jackson.databind.DeserializationFeature;
-import com.fasterxml.jackson.databind.ObjectMapper;
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.processors.stateless.ExecuteStateless;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-
-import java.io.IOException;
-import java.io.InputStream;
-
-public class FileSystemDataflowProvider implements DataflowProvider {
-    @Override
-    public VersionedFlowSnapshot retrieveDataflowContents(final ProcessContext context) throws IOException {
-        final ObjectMapper objectMapper = new ObjectMapper();
-        objectMapper.configure(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES, false);
-
-        try (final InputStream in = context.getProperty(ExecuteStateless.DATAFLOW_FILE).asResource().read()) {
-            final VersionedFlowSnapshot versionedFlowSnapshot = objectMapper.readValue(in, VersionedFlowSnapshot.class);
-            return versionedFlowSnapshot;
-        }
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/RegistryDataflowProvider.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/RegistryDataflowProvider.java
deleted file mode 100644
index 9b0f46de8f..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/java/org/apache/nifi/processors/stateless/retrieval/RegistryDataflowProvider.java
+++ /dev/null
@@ -1,115 +0,0 @@
-/*
- * 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.processors.stateless.retrieval;
-
-import org.apache.nifi.logging.ComponentLog;
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.processors.stateless.ExecuteStateless;
-import org.apache.nifi.registry.bucket.Bucket;
-import org.apache.nifi.registry.client.NiFiRegistryClient;
-import org.apache.nifi.registry.client.NiFiRegistryClientConfig;
-import org.apache.nifi.registry.client.NiFiRegistryException;
-import org.apache.nifi.registry.client.impl.JerseyNiFiRegistryClient;
-import org.apache.nifi.registry.flow.VersionedFlow;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-import org.apache.nifi.ssl.SSLContextService;
-
-import javax.net.ssl.SSLContext;
-import java.io.IOException;
-import java.util.List;
-import java.util.Optional;
-import java.util.concurrent.TimeUnit;
-
-public class RegistryDataflowProvider implements DataflowProvider {
-    private final ComponentLog logger;
-
-    public RegistryDataflowProvider(final ComponentLog logger) {
-        this.logger = logger;
-    }
-
-    @Override
-    public VersionedFlowSnapshot retrieveDataflowContents(final ProcessContext context) throws IOException {
-        final SSLContextService sslContextService = context.getProperty(ExecuteStateless.SSL_CONTEXT_SERVICE).asControllerService(SSLContextService.class);
-        final SSLContext sslContext = sslContextService == null ? null : sslContextService.createContext();
-
-        final String url = context.getProperty(ExecuteStateless.REGISTRY_URL).getValue();
-        final NiFiRegistryClientConfig clientConfig = new NiFiRegistryClientConfig.Builder()
-            .baseUrl(url)
-            .connectTimeout(context.getProperty(ExecuteStateless.COMMS_TIMEOUT).asTimePeriod(TimeUnit.MILLISECONDS).intValue())
-            .readTimeout(context.getProperty(ExecuteStateless.COMMS_TIMEOUT).asTimePeriod(TimeUnit.MILLISECONDS).intValue())
-            .sslContext(sslContext)
-            .build();
-
-        final NiFiRegistryClient client = new JerseyNiFiRegistryClient.Builder()
-            .config(clientConfig)
-            .build();
-
-        final VersionedFlowSnapshot versionedFlowSnapshot;
-        final String bucketName = context.getProperty(ExecuteStateless.BUCKET).getValue();
-        final String flowName = context.getProperty(ExecuteStateless.FLOW_NAME).getValue();
-        final Integer flowVersion = context.getProperty(ExecuteStateless.FLOW_VERSION).asInteger();
-        try {
-            final String bucketId = getBucketId(client, bucketName);
-            final String flowId = getFlowId(client, flowName, bucketId);
-
-            logger.debug("Attempting to fetch dataflow from Registry at URL {}, Bucket {}, Flow {}, flowVersion {}", url, bucketId, flowId, flowVersion == null ? "<Latest>" : flowVersion);
-            if (flowVersion == null) {
-                versionedFlowSnapshot = client.getFlowSnapshotClient().getLatest(bucketId, flowId);
-            } else {
-                versionedFlowSnapshot = client.getFlowSnapshotClient().get(bucketId, flowId, flowVersion);
-            }
-
-            logger.debug("Successfully fetched dataflow from Registry at URL {}, Bucket {}, Flow {}, flowVersion {}", url, bucketId, flowId, flowVersion == null ? "<Latest>" : flowVersion);
-        } catch (final NiFiRegistryException e) {
-            throw new IOException("Failed to retrieve Flow Snapshot from Registry", e);
-        }
-
-        return versionedFlowSnapshot;
-    }
-
-    private String getFlowId(final NiFiRegistryClient client, final String flowName, final String bucketId) throws IOException {
-        final List<VersionedFlow> versionedFlows;
-        try {
-            versionedFlows = client.getFlowClient().getByBucket(bucketId);
-        } catch (NiFiRegistryException e) {
-            throw new IOException("Could not retrieve list of Flows from NiFi Registry for Bucket ID " + bucketId);
-        }
-
-        for (final VersionedFlow versionedFlow : versionedFlows) {
-            if (flowName.equals(versionedFlow.getName())) {
-                return versionedFlow.getIdentifier();
-            }
-        }
-
-        throw new IOException("Could not find a flow with the name '" + flowName + "' within bucket with ID '" + bucketId + "' in the given Registry");
-    }
-
-    private String getBucketId(final NiFiRegistryClient client, final String bucketName) throws IOException {
-        try {
-            final List<Bucket> allBuckets = client.getBucketClient().getAll();
-            final Optional<Bucket> optionalBucket = allBuckets.stream().filter(bkt -> bkt.getName().equals(bucketName)).findAny();
-            if (!optionalBucket.isPresent()) {
-                throw new IOException("Could not find a bucket with the name '" + bucketName + "' in the given Registry");
-            }
-
-            return optionalBucket.get().getIdentifier();
-        } catch (NiFiRegistryException e) {
-            throw new IOException("Failed to fetch buckets from NiFi Registry", e);
-        }
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/META-INF/services/org.apache.nifi.processor.Processor b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/META-INF/services/org.apache.nifi.processor.Processor
deleted file mode 100644
index 6355dc77e8..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/META-INF/services/org.apache.nifi.processor.Processor
+++ /dev/null
@@ -1,16 +0,0 @@
-# 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.
-
-org.apache.nifi.processors.stateless.ExecuteStateless
\ No newline at end of file
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/docs/org.apache.nifi.processors.stateless.ExecuteStateless/additionalDetails.html b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/docs/org.apache.nifi.processors.stateless.ExecuteStateless/additionalDetails.html
deleted file mode 100644
index 879ec9bf7a..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/main/resources/docs/org.apache.nifi.processors.stateless.ExecuteStateless/additionalDetails.html
+++ /dev/null
@@ -1,353 +0,0 @@
-<!DOCTYPE html>
-<html lang="en">
-<!--
-  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.
--->
-<head>
-    <meta charset="utf-8"/>
-    <title>ExecuteStateless</title>
-    <link rel="stylesheet" href="../../../../../css/component-usage.css" type="text/css"/>
-</head>
-
-<body>
-
-<h1>Introduction</h1>
-<p>
-    With any sufficiently complex system, the designers and maintainers must make tradeoffs. Apache NiFi is no exception.
-</p>
-
-<p>
-    NiFi is geared toward being run in an environment in which it is free to consume virtually all system resources,
-    especially CPU, disk, and network bandwidth. It is designed in such a way that data is pulled from a source system, optionally filtered, routed,
-    and transformed, before ultimately being published to zero or more destinations. Moreover, the architecture lends itself best to situations in
-    which the source and destinations of a particular piece of data (FlowFile) are themselves loosely coupled.
-</p>
-
-<p>
-    As such, NiFi stores all FlowFile content on disk in order to be resilient across restarts. It provides backpressure so that data consumers
-    avoid overwhelming the system if the data publishers/producers are not able to keep up for some amount of time. It provides the ability to
-    assign more resources to individual parts of a dataflow (via the Concurrent Tasks configuration).
-</p>
-
-<p>
-    All of these design decisions have served NiFi well, making it a leading platform for data integration. However, there are some use cases
-    which lend themselves better to a slightly different architecture than what is provided by the standard NiFi engine.
-</p>
-
-<p>
-    For example, some use cases are better served by an architecture in which data is not persisted across restarts. Where, instead of storing the
-    data that has been received, the user knows that the data source is both persistent and replayable. In such a situation, it might make more sense
-    to avoid persisting the data and instead source the data anew after restart. This would provide an advantage in that data could potentially be stored
-    in memory instead of on disk, which can provide better performance. Additionally, it provides the ability to move the processing from one machine
-    to another machine without needing to worry about data loss.
-</p>
-
-<p>
-    Stateless NiFi provides a different Runtime Engine than standard NiFi deployments. It is a single-threaded runtime engine, in which data is not persisted across
-    restarts. Additionally, the data that is sourced can be processed through the entire chain of processors in the dataflow before it is ever even
-    acknowledged from the source. The README document for NiFi Stateless provides far more context as to the differences between the Standard NiFi engine
-    and Stateless NiFi, and you are encouraged to read through it in order to gain a better understanding of the different tradeoffs that were made for the
-    Stateless architecture.
-</p>
-
-<p>
-    Both the standard NiFi Runtime Engine and the Stateless NiFi Runtime Engine have their strengths and weaknesses. The ideal situation would be one
-    in which users had the ability to easily choose which parts of their dataflow run Stateless and which parts run in the standard NiFi Runtime Engine.
-</p>
-
-<p>
-    The ExecuteStateless Processor makes this possible.
-</p>
-
-
-
-
-<h1>Configuration</h1>
-
-<p>
-    In order to use the ExecuteStateless Processor, the most important configuration element is the flow definition. That is, where to find that dataflow
-    that is to be run using the Stateless Engine.
-</p>
-
-<h2>Flow Definition</h2>
-<p>
-    The Processor allows the dataflow to be stored in a local file (i.e., a file local to the NiFi server),
-    a URL that is accessible from the NiFi server, or in a NiFi Registry. Once the flow has been fetched, it is cached in the configured <code>Working Directory</code>
-    for resiliency purposes. If NiFi or the ExecuteStateless Processor is stopped and restarted, we do not want to add a single point of failure by relying
-    on some external service to be available. As a result, when the Processor is started, it will first attempt to fetch the flow from the configured location.
-    If unable to do so, it will load the dataflow from the cache, if it is available.
-</p>
-
-
-<h2>Ports</h2>
-<p>
-    Depending on the dataflow that is to be run, it may obtain its data from some external source, such as a JMS Broker via the ConsumeJMS processor.
-    Or, it may take in data from another point in the NiFi flow. In order to do this, the dataflow must be created with an Input Port
-    at the root level of the dataflow. The ExecuteStateless processor is then able to be configured with an incoming connection. When the processor is
-    triggered to run, it will take one FlowFile from the incoming connection and enqueue it into the stateless dataflow for the configured Port.
-    If the Processor is configured to have an incoming Connection, the Input Port property must also be configured, unless there is exactly one
-    Input Port in the dataflow.
-</p>
-
-<p>
-    Similarly, after completing its processing, the stateless flow may route data to one or more Output Ports. Data routed to these Output Ports
-    will then be transferred to the <code>output</code> relationship of the ExecuteStateless Processor. Any FlowFile routed to the <code>output</code>
-    relationship will also have an attribute added to it named "output.port.name" which can be used to route the data if necessary.
-</p>
-
-<p>
-    It is a common practice, however, to have ports that use a naming convention such as "success" and "failure." It may not make sense to have the
-    dataflow take in a FlowFile into its Input Port, perform some processing, and route 1 FlowFile to "success" and route another to "failure" and then
-    to have all of the FlowFile transferred to the <code>output</code> relationship together. We are likely to want to consider the processing of the
-    incoming FlowFile to be a failure if any FlowFile makes its way to the "failure" port. In such a case, we want nothing to go to the "output" relationship,
-    and we want the incoming FlowFile instead to be routed to the "failure" relationship of ExecuteStateless. We can accomplish this by simplify providing
-    a comma-separated list of the Output Ports in the dataflow that should be considered a "failure."
-</p>
-
-
-
-<h1>Success and Failure</h1>
-
-<p>
-    If the ExecuteStateless Processor is configured with an incoming connection, the data will be transferred to one of three relationships:
-    "original," "failure," or "timeout."
-</p>
-
-<p>
-    When the dataflow is triggered, it will have up to the configured amount of time to complete its processing. This time period is configured via
-    the "Dataflow Timeout" property. If the dataflow has not completed in the allotted amount of time, the dataflow is canceled, and the input FlowFile
-    is routed to the "timeout" relationship.
-</p>
-
-<p>
-    If any Processor within the dataflow throws an Exception that it does not handle, the dataflow is considered a failure, and the input FlowFile
-    will be routed to the "failure" relationship.
-</p>
-
-<p>
-    Additionally, if any FlowFile is routed to one of the Ports whose name is defined in the "Failure Ports" property of ExecuteStateless, the dataflow
-    is considered a failure. In this case, an attribute named "failure.port.name" is added to the FlowFile, as there may be multiple ports that are
-    considered failures, and this can be used in order to differentiate between them.
-</p>
-
-<p>
-    Otherwise, the incoming FlowFile will be routed to the "original" relationship, and any FlowFiles routed to any Output Port of the dataflow will be
-    transferred to the "output" relationship of the ExecuteStateless Processor. All FlowFiles transferred to the "output" relationship will also have an
-    attribute named "output.port.name."
-</p>
-
-
-<h1>Designing Flows for Stateless</h1>
-
-<p>
-    When designing a flow to use with Stateless, it is important to consider how the flow might want to receive its data and what it might want
-    to do with the data once it is processed. One option is for the flow to fully encapsulate the source of data and all destinations. For example,
-    it might have a ConsumeKafkaRecord processor, perform some processing, and then publish to another topic via PublishKafkaRecord.
-</p>
-
-<p>
-    Another option would be to build a flow that source data from some external source, possibly perform some processing, but not define where the destination
-    of the data. For example, the flow might consist of a ConsumeKafkaRecord_2_6 processor and perform some filtering and transformation, but stop short
-    of publishing the data anywhere. Instead, it can transfer the data to an Output Port, which could then be used by ExecuteStateless to bring that
-    data into the NiFi dataflow.
-</p>
-
-<p>
-    Similarly, a dataflow may not define where it receives its input from, and instead just use an Input Port, so that any dataflow can be built to source
-    data, and then deliver it to this dataflow, which is responsible for preparing and delivering the data.
-</p>
-
-<p>
-    Finally, the dataflow may define neither the source nor the destination of the data. Instead, the dataflow will be built to use an
-    Input Port, it will perform some filtering/routing/transformation, and finally provide its processing results to an Output Port.
-</p>
-
-
-<h2>Input Ports</h2>
-<p>
-    When designing a Stateless dataflow, it is recommended to use zero or one Input Port. It is possible, however, to define multiple Input Ports.
-    In this case, ExecuteStateless Processor needs to be configured by setting the Input Port property in order to dictate which of those Input Ports
-    the incoming data should be transferred to. Note that the property expects the NAME of the Port and not the identifier. It is also important to note
-    that the name is case sensitive.
-</p>
-
-
-<h2>Output Ports</h2>
-<p>
-    While it is recommended not to use more than one Input Port, it often makes sense to make use of multiple Output Ports. For example, consider a dataflow
-    that takes in CSV data representing information about book sales. The dataflow then partitions the data into "large sales" and "small sales," performs
-    some enrichment, and converts the results into JSON. This dataflow might have four different output ports: "Input CSV," "Large Sales," "Small Sales,"
-    and "Failure."
-</p>
-
-
-
-<h2>Parameters</h2>
-<p>
-    When we build a dataflow, it is often important that we not run the flow with the exact same configuration in every situation. For example, if we are
-    consuming from Kafka, we may want to parameterize the Kafka Brokers, and the name of the Topic. This is best done by making use of Parameters when
-    building the dataflow.
-</p>
-
-<p>
-    Once some value has been parameterized, though, we must have some way of conveying values for those parameters to the ExecuteStateless Processor.
-    To do this, we use user-defined properties. When configuring the ExecuteStateless Processor, in the Properties tab, we can click the '+' icon in the
-    top-right. This allows us to add a custom property to the Processor. Whatever is used for the name and value of that property will be used as the name
-    and value of a parameter in the flow.
-</p>
-
-<p>
-    For example, if our dataflow references a Parameter named "Kafka Topic" and we want to run our dataflow using a value of "book-sales," then we can add
-    a property to ExecuteStateless with the name "Kafka Topic" and the value "book-sales."
-</p>
-
-
-
-<h1>Exposing the Dataflow</h1>
-
-<p>
-    Now that we've discussed some considerations for building our dataflow, we must consider how we can expose the dataflow, or make the dataflow available
-    to the ExecuteStateless processor.
-</p>
-
-<p>
-    We have three options for this. Firstly, we can right-click on the Process Group that we want to expose, and choose to add the Process Group to Version Control
-    by adding it to the NiFi Registry. This is the recommended approach.
-</p>
-
-<p>
-    However, we can also right-click on the Process Group and instead choose to "Download flow definition." At this point, we can copy the flow definition
-    JSON file to every node in our cluster. Or, alternatively, we can upload the flow definition to some location that is accessible via a URL from every
-    node in the cluster. For example, we might choose to check the JSON file into a Git repository and provide the URL to that file to the processor.
-</p>
-
-<p>
-    It is worth noting that if we define the location of the dataflow to be some external URL or to live within the NiFi Registry, we don't want to add a
-    dependency on that external service to be available and accessible. As a result, when the dataflow is downloaded, it will be cached in the configured
-    <code>Working Directory</code> and if unable to access the flow at some later time, that cached version will be used.
-</p>
-
-<p>
-    It is also important to note that when using an external URL or NiFi Registry, if the Processor is stopped and started (or NiFi is restarted), it is possible that
-    the dataflow could be different than the last time that it ran. Additionally, it's possible that two nodes in a cluster could potentially be running
-    a different version of the flow if they downloaded the file at different times (or if a different file were copied to the nodes). When using NiFi Registry, this can be
-    avoided by explicitly specifying the version of the flow to run.
-</p>
-
-
-
-<h1>Surfacing NiFi Concepts</h1>
-
-<p>
-    Because this one processor is responsible for internally running an entire dataflow, there are several concepts that must be taken into consideration.
-</p>
-
-<h2>Data Provenance</h2>
-<p>
-    Throughout the course of a dataflow, many different intermediate FlowFiles may be created, destroyed, transformed, delivered, and fetched.
-    While the standard NiFi engine will emit Provenance events for each of these, it is not currently possible with the ExecuteStateless Processor.
-    Because those intermediate FlowFiles are not available, we cannot surface Provenance Events that are emitted by the dataflow, such as SEND
-    and RECEIVE events, because the FlowFiles that were sent and received are not available.
-</p>
-
-<p>
-    Any FlowFile that is transferred to the "output" relationship will be shown as a CREATE Provenance event if there is no input FlowFile.
-    If there is an input FlowFile, those FlowFiles will be shown as FORK events, the child having forked from the incoming FlowFile.
-</p>
-
-
-<h2>Counters</h2>
-
-<p>
-    If any component within the stateless dataflow adjusts a counter, the counters that are adjusted are surfaced as counters for the ExecuteStateless
-    Processor. Consider a dataflow that takes in a single FlowFile and partitions it into two FlowFiles, which are then sent to different Output Ports.
-    Also consider that the partitioning is performed by a PartitionRecord processor with name PartitionData and ID 167ed9c3-a954-3dba-b6fd-c2e1a4572287.
-    Then, we may see a counter for the ExecuteStateless processor with a name "Records Processed - PartitionData (167ed9c3-a954-3dba-b6fd-c2e1a4572287)."
-    This is because the PartitionRecord Processor updates a counter with the name "Records Processed." The additional name and ID of the Processor
-    are added in order to give context.
-</p>
-
-<p>
-    The above mentioned counter, though, will only be incremented for successful invocations of the dataflow. It may be helpful to understand how many
-    times the counter was updated for failed attempts, also. However, we don't want to combine the counters for successful and failed attempts, because
-    that can lead to confusion. Therefore, if the PartitionRecord processor is successful and updates the counter, but the dataflow fails (for example,
-    a FlowFile is then routed to a Failure Port), the ExecuteStateless processor will now have two counters:
-    "Records Processed - PartitionData (167ed9c3-a954-3dba-b6fd-c2e1a4572287)" and
-    "Records Processed - PartitionData (167ed9c3-a954-3dba-b6fd-c2e1a4572287) (Failed attempts)."
-</p>
-
-
-
-<h2>Bulletins</h2>
-<p>
-    We must also consider how bulletins from Processors within the stateless flow get surfaced to the ExecuteStateless processor. This can be helpful
-    for indicating that some concerning behavior is taking place. Any bulletin that is created while running the stateless flow that is at a level of
-    WARNING or ERROR will result in a bulletin being created by the ExecuteStateless Processor (assuming that the ExecuteStateless Processor's Bulletin
-    Level is set sufficiently high in its Settings tab).
-</p>
-
-
-<h2>Yielding</h2>
-<p>
-    Similarly, if any Processor in the Stateless flow chooses to yield, the ExecuteStateless processor will yield. This is important if there are source
-    or destination systems that the Stateless flow is unable to communicate with or that have no more data to offer, as this allows us to avoid constantly
-    interacting with that external service, which could add significant load to it.
-</p>
-
-
-
-
-<h1>Performance Considerations</h1>
-<p>
-    There are a few different performance-related considerations to take into effect when configuring the ExecuteStateless Processor.
-</p>
-
-
-<h2>Content Storage Strategy</h2>
-<p>
-    One of the most impactful configuration options for the Processor is the configuration of the "Content Storage Strategy" property. For performance
-    reasons, the processor can be configured to hold all FlowFiles in memory. This includes incoming FlowFiles, as well as intermediate and output FlowFiles.
-    This can be a significant performance improvement but comes with a significant risk. The content is stored on NiFi's heap. This is the same heap that is shared
-    by all other ExecuteStateless flows and by NiFi's processors and the NiFi process itself. If the data is very large, it can quickly exhaust the heap, resulting
-    in Out Of Memory Errors in NiFi. These, in turn, can result in poor performance, as well as instability of the NiFi process itself. For this reason, it is not
-    recommended to use the "Store Content on Heap" option unless it is known that all FlowFiles will be small (less than a few MB). And in order to help safeguard
-    against the case that the Processor receives an unexpectedly large FlowFile, the "Max Input FlowFile Size" property must be configured when storing data on the heap.
-</p>
-
-<p>
-    Alternatively, and by default, the "Content Storage Strategy" can be configured to store FlowFile content on disk. When this option is used, the content of all
-    FlowFiles is stored in the configured <code>Working Directory</code>. It is important to note, however, that this data is not meant to be persisted across restarts.
-    Instead, this simply provides the Stateless Engine with a way to avoid loading everything into memory. Upon restart, the data will be deleted instead of allowing
-    FlowFiles to resume from where they left off.
-</p>
-
-
-<h2>Concurrent Tasks</h2>
-<p>
-    As noted before, the Stateless Engine is single-threaded. However, the processor does allow the user to configure more than one concurrent task. In this situation,
-    each thread/concurrent task will run its own instance of the dataflow. This functions in much the same way as if a single thread were run on each of many different computers.
-    Any internal state that is stored by the processor, such as the creation of a client for interacting with another service, is not shared. Additionally, if any Processors are
-    configured to run on Primary Node only, they will run for each instance.
-</p>
-
-
-<h2>Run Duration</h2>
-<p>
-    This Processor supports the configuration of NiFi's Run Duration in the Scheduling tab. If the Processor is expected to process many small FlowFiles, it is recommended to configure
-    this option so that the Processor has a Run Duration of "25 ms." Typically, adjusting the value beyond that offers little benefit, but adjusting from "0 ms" to "25 ms" can
-    provide a very significant performance improvement for many dataflows, at the cost of potentially introducing up to 25 milliseconds worth of additional latency.
-</p>
-
-</body>
-</html>
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/test/java/org/apache/nifi/processors/stateless/retrieval/TestCachingDataflowProvider.java b/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/test/java/org/apache/nifi/processors/stateless/retrieval/TestCachingDataflowProvider.java
deleted file mode 100644
index 72a7326a9e..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/nifi-stateless-processor/src/test/java/org/apache/nifi/processors/stateless/retrieval/TestCachingDataflowProvider.java
+++ /dev/null
@@ -1,130 +0,0 @@
-/*
- * 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.processors.stateless.retrieval;
-
-import org.apache.nifi.components.PropertyValue;
-import org.apache.nifi.flow.VersionedProcessGroup;
-import org.apache.nifi.logging.ComponentLog;
-import org.apache.nifi.processor.ProcessContext;
-import org.apache.nifi.processors.stateless.ExecuteStateless;
-import org.apache.nifi.registry.flow.VersionedFlowSnapshot;
-import org.junit.jupiter.api.Test;
-import org.mockito.invocation.InvocationOnMock;
-import org.mockito.stubbing.Answer;
-
-import java.io.File;
-import java.io.IOException;
-
-import static org.junit.jupiter.api.Assertions.assertEquals;
-import static org.junit.jupiter.api.Assertions.assertFalse;
-import static org.junit.jupiter.api.Assertions.assertNotNull;
-import static org.junit.jupiter.api.Assertions.assertThrows;
-import static org.junit.jupiter.api.Assertions.assertTrue;
-import static org.mockito.ArgumentMatchers.any;
-import static org.mockito.Mockito.doAnswer;
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.times;
-import static org.mockito.Mockito.verify;
-import static org.mockito.Mockito.when;
-
-public class TestCachingDataflowProvider {
-
-    @Test
-    public void testDelegatesEvenAfterFetch() throws IOException {
-        final VersionedFlowSnapshot snapshot = new VersionedFlowSnapshot();
-
-        final DataflowProvider mockedRetrieval = mock(DataflowProvider.class);
-        when(mockedRetrieval.retrieveDataflowContents(any(ProcessContext.class))).thenReturn(snapshot);
-
-        final CachingDataflowProvider retrieval = new CachingDataflowProvider("1234", mock(ComponentLog.class), mockedRetrieval);
-
-        final ProcessContext context = mock(ProcessContext.class);
-        final PropertyValue propertyValue = mock(PropertyValue.class);
-        when(propertyValue.getValue()).thenReturn("target/testFetchFirst/cache");
-        when(context.getProperty(ExecuteStateless.WORKING_DIRECTORY)).thenReturn(propertyValue);
-
-        final File cacheFile = retrieval.getFlowCacheFile(context, "1234");
-
-        for (int i=0; i < 2; i++) {
-            retrieval.retrieveDataflowContents(context);
-            assertTrue(cacheFile.exists());
-        }
-
-        verify(mockedRetrieval, times(2)).retrieveDataflowContents(context);
-    }
-
-    @Test
-    public void testThrowsIfDelegateThrowsAndNoCache() throws IOException {
-        final DataflowProvider mockedRetrieval = mock(DataflowProvider.class);
-        when(mockedRetrieval.retrieveDataflowContents(any(ProcessContext.class))).thenThrow(new IOException("Intentional exception for testing purposes"));
-
-        final CachingDataflowProvider retrieval = new CachingDataflowProvider("1234", mock(ComponentLog.class), mockedRetrieval);
-
-        final ProcessContext context = mock(ProcessContext.class);
-        final PropertyValue propertyValue = mock(PropertyValue.class);
-        when(propertyValue.getValue()).thenReturn("target/testThrowsIfDelegateThrowsAndNoCache/cache");
-        when(context.getProperty(ExecuteStateless.WORKING_DIRECTORY)).thenReturn(propertyValue);
-
-        final File cacheFile = retrieval.getFlowCacheFile(context, "1234");
-
-        assertThrows(IOException.class, () -> retrieval.retrieveDataflowContents(context));
-        assertFalse(cacheFile.exists());
-    }
-
-    @Test
-    public void testFetchesCachedFlowOnException() throws IOException {
-        final VersionedProcessGroup group = new VersionedProcessGroup();
-        group.setName("Testable Group");
-        final VersionedFlowSnapshot snapshot = new VersionedFlowSnapshot();
-        snapshot.setFlowContents(group);
-
-        final DataflowProvider mockedRetrieval = mock(DataflowProvider.class);
-        doAnswer(new Answer<VersionedFlowSnapshot>() {
-            private int count;
-
-            @Override
-            public VersionedFlowSnapshot answer(final InvocationOnMock invocation) throws Throwable {
-                if (count++ == 0) {
-                    return snapshot;
-                }
-
-                throw new IOException("Intentional failure for testing purposes");
-            }
-        }).when(mockedRetrieval).retrieveDataflowContents(any(ProcessContext.class));
-
-        final CachingDataflowProvider retrieval = new CachingDataflowProvider("1234", mock(ComponentLog.class), mockedRetrieval);
-
-        final ProcessContext context = mock(ProcessContext.class);
-        final PropertyValue propertyValue = mock(PropertyValue.class);
-        when(propertyValue.getValue()).thenReturn("target/testFetchesCachedFlowOnException/cache");
-        when(context.getProperty(ExecuteStateless.WORKING_DIRECTORY)).thenReturn(propertyValue);
-
-        final File cacheFile = retrieval.getFlowCacheFile(context, "1234");
-
-        VersionedFlowSnapshot retrieved = null;
-        for (int i=0; i < 2; i++) {
-            retrieved = retrieval.retrieveDataflowContents(context);
-            assertNotNull(retrieved);
-
-            assertTrue(cacheFile.exists());
-        }
-
-        verify(mockedRetrieval, times(2)).retrieveDataflowContents(context);
-        assertEquals(group.getName(), retrieved.getFlowContents().getName());
-    }
-}
diff --git a/nifi-nar-bundles/nifi-stateless-processor-bundle/pom.xml b/nifi-nar-bundles/nifi-stateless-processor-bundle/pom.xml
deleted file mode 100644
index b41bd239b5..0000000000
--- a/nifi-nar-bundles/nifi-stateless-processor-bundle/pom.xml
+++ /dev/null
@@ -1,32 +0,0 @@
-<?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">
-    <parent>
-        <artifactId>nifi-standard-shared-bom</artifactId>
-        <groupId>org.apache.nifi</groupId>
-        <version>2.0.0-SNAPSHOT</version>
-        <relativePath>../nifi-standard-shared-bundle/nifi-standard-shared-bom</relativePath>
-    </parent>
-    <modelVersion>4.0.0</modelVersion>
-
-    <artifactId>nifi-stateless-processor-bundle</artifactId>
-    <packaging>pom</packaging>
-    <modules>
-        <module>nifi-stateless-processor</module>
-        <module>nifi-stateless-processor-nar</module>
-        <module>nifi-stateless-processor-tests</module>
-    </modules>
-</project>
\ No newline at end of file
diff --git a/nifi-nar-bundles/pom.xml b/nifi-nar-bundles/pom.xml
index 909c2349e3..c28bcd9859 100755
--- a/nifi-nar-bundles/pom.xml
+++ b/nifi-nar-bundles/pom.xml
@@ -91,7 +91,6 @@
         <module>nifi-asn1-bundle</module>
         <module>nifi-pgp-bundle</module>
         <module>nifi-hashicorp-vault-bundle</module>
-        <module>nifi-stateless-processor-bundle</module>
         <module>nifi-geohash-bundle</module>
         <module>nifi-snowflake-bundle</module>
         <module>nifi-salesforce-bundle</module>