mirror of
https://github.com/apache/nifi.git
synced 2025-02-28 22:49:10 +00:00
NIFI-6703: Add Stateless NiFi to CLI
NIFI-6703: Fixed extracted nar directory and marked api as experimental NIFI-6703: Moving nifi-stateless into nifi-framework NIFI-6703: Refactored to fix jetty/spring issues NIFI-6703: checkstyle fix NIFI-6703: updated to mirror traditional NiFi's bootstrap process and java11 dependency management NIFI-6703: minor changes NIFI-6703: Documentation fixes This closes #3795. Signed-off-by: Bryan Bende <bbende@apache.org>
This commit is contained in:
parent
b004f1f94c
commit
ea1becac4f
@ -0,0 +1,71 @@
|
|||||||
|
/*
|
||||||
|
* 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.bootstrap;
|
||||||
|
|
||||||
|
import java.io.File;
|
||||||
|
import java.lang.reflect.Method;
|
||||||
|
import java.net.URL;
|
||||||
|
import java.net.URLClassLoader;
|
||||||
|
import java.util.ArrayList;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.Objects;
|
||||||
|
|
||||||
|
public class RunStatelessNiFi {
|
||||||
|
|
||||||
|
public static void main(final String[] args) throws Exception {
|
||||||
|
|
||||||
|
String nifi_home = System.getenv("NIFI_HOME");
|
||||||
|
if (nifi_home == null || nifi_home.equals("")) {
|
||||||
|
nifi_home = ".";
|
||||||
|
}
|
||||||
|
|
||||||
|
final List<URL> cpURLs = new ArrayList<>();
|
||||||
|
final File libDir = new File(nifi_home + "/lib");
|
||||||
|
if (libDir.exists()) {
|
||||||
|
for (final File file : Objects.requireNonNull(libDir.listFiles((dir, filename) -> filename.toLowerCase().endsWith(".jar")))) {
|
||||||
|
cpURLs.add(file.toURI().toURL());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if (cpURLs.isEmpty()) {
|
||||||
|
throw new RuntimeException("Could not find lib directory at " + libDir.getAbsolutePath());
|
||||||
|
}
|
||||||
|
|
||||||
|
String runtimeJavaVersion = System.getProperty("java.version");
|
||||||
|
if (Integer.parseInt(runtimeJavaVersion.substring(0, runtimeJavaVersion.indexOf('.'))) >= 11) {
|
||||||
|
/* If running on Java 11 or greater, add the JAXB/activation/annotation libs to the classpath.
|
||||||
|
*
|
||||||
|
* TODO: Once the minimum Java version requirement of NiFi is 11, this processing should be removed.
|
||||||
|
* JAXB/activation/annotation will be added as an actual dependency via pom.xml.
|
||||||
|
*/
|
||||||
|
final File libJava11Dir = new File(nifi_home + "/lib/java11");
|
||||||
|
if (libJava11Dir.exists()) {
|
||||||
|
for (final File file : Objects.requireNonNull(libJava11Dir.listFiles((dir, filename) -> filename.toLowerCase().endsWith(".jar")))) {
|
||||||
|
cpURLs.add(file.toURI().toURL());
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
final URLClassLoader rootClassLoader = new URLClassLoader(cpURLs.toArray(new URL[0]));
|
||||||
|
Thread.currentThread().setContextClassLoader(rootClassLoader);
|
||||||
|
|
||||||
|
final Class<?> programClass = Class.forName("org.apache.nifi.StatelessNiFi", true, rootClassLoader);
|
||||||
|
final Method launchMethod = programClass.getMethod("main", String[].class);
|
||||||
|
launchMethod.setAccessible(true);
|
||||||
|
launchMethod.invoke(null, (Object) args);
|
||||||
|
}
|
||||||
|
}
|
@ -23,36 +23,20 @@ LABEL maintainer="Apache NiFi <dev@nifi.apache.org>"
|
|||||||
ARG UID=1000
|
ARG UID=1000
|
||||||
ARG GID=1000
|
ARG GID=1000
|
||||||
ARG NIFI_VERSION
|
ARG NIFI_VERSION
|
||||||
ARG STATELESS_LIB_DIR
|
ARG LIB_DIR
|
||||||
ARG WORKING_DIR
|
ARG WORKING_DIR
|
||||||
|
|
||||||
ENV NIFI_BASE_DIR /opt/nifi
|
ENV NIFI_BASE_DIR /opt/nifi
|
||||||
ENV NIFI_HOME ${NIFI_BASE_DIR}/nifi-current
|
ENV NIFI_HOME ${NIFI_BASE_DIR}/nifi-current
|
||||||
|
|
||||||
|
|
||||||
#Use Maven-Ant until Docker squash is stable
|
|
||||||
#COPY $NIFI_BINARY $NIFI_BASE_DIR
|
|
||||||
#RUN unzip ${NIFI_BASE_DIR}/nifi-${NIFI_VERSION}-bin.zip -d ${NIFI_BASE_DIR} \
|
|
||||||
# && rm ${NIFI_BASE_DIR}/nifi-${NIFI_VERSION}-bin.zip \
|
|
||||||
# && mv ${NIFI_BASE_DIR}/nifi-${NIFI_VERSION} ${NIFI_HOME}
|
|
||||||
#
|
|
||||||
#COPY $NIFI_STATELESS_BINARY $NIFI_BASE_DIR
|
|
||||||
#RUN unzip ${NIFI_BASE_DIR}/nifi-stateless-${NIFI_VERSION}-bin.zip -d ${NIFI_BASE_DIR} \
|
|
||||||
# && rm ${NIFI_BASE_DIR}/nifi-stateless-${NIFI_VERSION}-bin.zip \
|
|
||||||
# && mv ${NIFI_BASE_DIR}/nifi-stateless-${NIFI_VERSION}/lib ${NIFI_HOME}/stateless-lib \
|
|
||||||
# && rm -r ${NIFI_BASE_DIR}/nifi-stateless-${NIFI_VERSION}
|
|
||||||
#
|
|
||||||
#RUN java -cp "${NIFI_HOME}/stateless-lib/*" org.apache.nifi.stateless.NiFiStateless ExtractNars
|
|
||||||
#RUN rm -r ${NIFI_HOME}/lib
|
|
||||||
|
|
||||||
# Setup NiFi user
|
# Setup NiFi user
|
||||||
RUN addgroup -g ${GID} nifi && adduser -s /bin/sh -u ${UID} -G nifi -D nifi
|
RUN addgroup -g ${GID} nifi && adduser -s /bin/sh -u ${UID} -G nifi -D nifi
|
||||||
|
|
||||||
RUN mkdir -p $NIFI_HOME && chown nifi:nifi $NIFI_HOME
|
RUN mkdir -p $NIFI_HOME && chown nifi:nifi $NIFI_HOME
|
||||||
RUN mkdir -p ${NIFI_HOME}/work/ && chown nifi:nifi ${NIFI_HOME}/work/ && chmod 777 ${NIFI_HOME}/work/
|
RUN mkdir -p ${NIFI_HOME}/work/stateless-nars && chown nifi:nifi ${NIFI_HOME}/work/stateless-nars && chmod 777 ${NIFI_HOME}/work/stateless-nars
|
||||||
|
|
||||||
COPY --chown=nifi:nifi $WORKING_DIR ${NIFI_HOME}/work/
|
COPY --chown=nifi:nifi $WORKING_DIR ${NIFI_HOME}/work
|
||||||
COPY --chown=nifi:nifi $STATELESS_LIB_DIR ${NIFI_HOME}/stateless-lib/
|
COPY --chown=nifi:nifi $LIB_DIR ${NIFI_HOME}/lib/
|
||||||
|
|
||||||
|
|
||||||
#NiFi's HDFS processors require core-site.xml or hdfs-site.xml to exist on disk before they can be started...
|
#NiFi's HDFS processors require core-site.xml or hdfs-site.xml to exist on disk before they can be started...
|
||||||
@ -75,5 +59,5 @@ EXPOSE 8080
|
|||||||
|
|
||||||
WORKDIR ${NIFI_HOME}
|
WORKDIR ${NIFI_HOME}
|
||||||
|
|
||||||
ENTRYPOINT ["/usr/bin/java", "-cp", "stateless-lib/*", "org.apache.nifi.stateless.NiFiStateless"]
|
ENTRYPOINT ["/usr/bin/java", "-cp", "lib/bootstrap/*", "org.apache.nifi.bootstrap.RunStatelessNiFi"]
|
||||||
CMD ["RunOpenwhiskActionServer", "8080"]
|
CMD ["RunOpenwhiskActionServer", "8080"]
|
@ -1,46 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
# 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.
|
|
||||||
|
|
||||||
set -exuo pipefail
|
|
||||||
|
|
||||||
TAG=$1
|
|
||||||
VERSION=$2
|
|
||||||
|
|
||||||
trap "{ docker ps -qaf Name=nifi-${TAG}-integration-test | xargs docker rm -f; }" EXIT
|
|
||||||
|
|
||||||
echo "Checking that all files are owned by NiFi"
|
|
||||||
test -z $(docker run --rm --entrypoint /bin/bash apache/nifi-stateless:${TAG} -c "find /opt/nifi ! -user nifi")
|
|
||||||
|
|
||||||
echo "Checking environment variables"
|
|
||||||
test "/opt/nifi/nifi-current" = "$(docker run --rm --entrypoint /bin/bash apache/nifi-stateless:${TAG} -c 'echo -n $NIFI_HOME')"
|
|
||||||
test "/opt/nifi/nifi-current" = "$(docker run --rm --entrypoint /bin/bash apache/nifi-stateless:${TAG} -c "readlink \${NIFI_BASE_DIR}/nifi-${VERSION}")"
|
|
||||||
test "/opt/nifi" = "$(docker run --rm --entrypoint /bin/bash apache/nifi-stateless:${TAG} -c 'echo -n $NIFI_BASE_DIR')"
|
|
||||||
|
|
||||||
echo "Starting NiFi container..."
|
|
||||||
docker run -d --name nifi-${TAG}-integration-test apache/nifi-stateless:${TAG}
|
|
||||||
|
|
||||||
IP=$(docker inspect -f '{{range .NetworkSettings.Networks}}{{.IPAddress}}{{end}}' nifi-${TAG}-integration-test)
|
|
||||||
|
|
||||||
for i in $(seq 1 10) :; do
|
|
||||||
if docker exec nifi-${TAG}-integration-test bash -c "ss -ntl | grep 8080"; then
|
|
||||||
break
|
|
||||||
fi
|
|
||||||
sleep 10
|
|
||||||
done
|
|
||||||
|
|
||||||
echo "Stopping NiFi container"
|
|
||||||
time docker stop nifi-${TAG}-integration-test
|
|
@ -36,13 +36,9 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<unzip src="${project.basedir}/../../nifi-assembly/target/nifi-${nifi.version}-bin.zip" dest="${project.basedir}/target/"/>
|
<unzip src="${project.basedir}/../../nifi-assembly/target/nifi-${nifi.version}-bin.zip" dest="${project.basedir}/target/"/>
|
||||||
<unzip src="${project.basedir}/../../nifi-stateless/nifi-stateless-assembly/target/nifi-stateless-${nifi.version}-bin.zip" dest="${project.basedir}/target/"/>
|
|
||||||
<move todir="${project.basedir}/target/lib">
|
<move todir="${project.basedir}/target/lib">
|
||||||
<fileset dir="${project.basedir}/target/nifi-${nifi.version}/lib"/>
|
<fileset dir="${project.basedir}/target/nifi-${nifi.version}/lib"/>
|
||||||
</move>
|
</move>
|
||||||
<move todir="${project.basedir}/target/stateless-lib">
|
|
||||||
<fileset dir="${project.basedir}/target/nifi-stateless-${nifi.version}/lib"/>
|
|
||||||
</move>
|
|
||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
@ -56,8 +52,8 @@
|
|||||||
<target>
|
<target>
|
||||||
<exec dir="${project.basedir}/target" executable="java">
|
<exec dir="${project.basedir}/target" executable="java">
|
||||||
<arg value="-cp" />
|
<arg value="-cp" />
|
||||||
<arg value="stateless-lib/*" />
|
<arg value="lib/bootstrap/*" />
|
||||||
<arg value="org.apache.nifi.stateless.NiFiStateless" />
|
<arg value="org.apache.nifi.bootstrap.RunStatelessNiFi" />
|
||||||
<arg value="ExtractNars" />
|
<arg value="ExtractNars" />
|
||||||
</exec>
|
</exec>
|
||||||
</target>
|
</target>
|
||||||
@ -72,10 +68,7 @@
|
|||||||
<configuration>
|
<configuration>
|
||||||
<tasks>
|
<tasks>
|
||||||
<!--Not needed in docker image-->
|
<!--Not needed in docker image-->
|
||||||
<delete dir="${project.basedir}/target/lib" />
|
<delete dir="${project.basedir}/target/lib" includes="*.nar" />
|
||||||
|
|
||||||
<!--Remove conflicting JAR. TODO: create custom assembly instead of using ..nifi-assembly/target/nifi-${nifi.version}-bin.zip-->
|
|
||||||
<delete dir="${project.basedir}/target/work/nifi-framework-nar-1.10.0-SNAPSHOT.nar-unpacked" />
|
|
||||||
</tasks>
|
</tasks>
|
||||||
</configuration>
|
</configuration>
|
||||||
<goals>
|
<goals>
|
||||||
@ -99,7 +92,7 @@
|
|||||||
<UID>1000</UID>
|
<UID>1000</UID>
|
||||||
<GID>1000</GID>
|
<GID>1000</GID>
|
||||||
<NIFI_VERSION>${project.version}</NIFI_VERSION>
|
<NIFI_VERSION>${project.version}</NIFI_VERSION>
|
||||||
<STATELESS_LIB_DIR>target/stateless-lib</STATELESS_LIB_DIR>
|
<LIB_DIR>target/lib</LIB_DIR>
|
||||||
<WORKING_DIR>target/work</WORKING_DIR>
|
<WORKING_DIR>target/work</WORKING_DIR>
|
||||||
</buildArgs>
|
</buildArgs>
|
||||||
<repository>apache/nifi-stateless</repository>
|
<repository>apache/nifi-stateless</repository>
|
||||||
@ -108,26 +101,6 @@
|
|||||||
</execution>
|
</execution>
|
||||||
</executions>
|
</executions>
|
||||||
</plugin>
|
</plugin>
|
||||||
<plugin>
|
|
||||||
<artifactId>exec-maven-plugin</artifactId>
|
|
||||||
<groupId>org.codehaus.mojo</groupId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>Docker integration tests</id>
|
|
||||||
<phase>integration-test</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>exec</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<arguments>
|
|
||||||
<argument>${project.version}-dockermaven</argument>
|
|
||||||
<argument>${project.version}</argument>
|
|
||||||
</arguments>
|
|
||||||
<executable>${project.basedir}/integration-test.sh</executable>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
</plugins>
|
||||||
</build>
|
</build>
|
||||||
</profile>
|
</profile>
|
||||||
|
@ -48,6 +48,11 @@
|
|||||||
<artifactId>nifi-standard-prioritizers</artifactId>
|
<artifactId>nifi-standard-prioritizers</artifactId>
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.nifi</groupId>
|
||||||
|
<artifactId>nifi-stateless</artifactId>
|
||||||
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
<!-- mark these nifi artifacts as provided since it is included in the lib -->
|
<!-- mark these nifi artifacts as provided since it is included in the lib -->
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -334,6 +334,22 @@ run() {
|
|||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
|
|
||||||
|
stateless(){
|
||||||
|
STATELESS_JAVA_OPTS="${STATELESS_JAVA_OPTS:=-Xms1024m -Xmx1024m}"
|
||||||
|
|
||||||
|
init
|
||||||
|
shift
|
||||||
|
|
||||||
|
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
|
||||||
|
"${JAVA}" -cp "${NIFI_HOME}/lib/bootstrap/*" ${STATELESS_JAVA_OPTS} "org.apache.nifi.bootstrap.RunStatelessNiFi" ExtractNars
|
||||||
|
"${JAVA}" -cp "${NIFI_HOME}/lib/bootstrap/*" ${STATELESS_JAVA_OPTS} "org.apache.nifi.bootstrap.RunStatelessNiFi" "$@"
|
||||||
|
}
|
||||||
main() {
|
main() {
|
||||||
init "$1"
|
init "$1"
|
||||||
run "$@"
|
run "$@"
|
||||||
@ -347,12 +363,17 @@ case "$1" in
|
|||||||
start|stop|run|status|dump|diagnostics|env)
|
start|stop|run|status|dump|diagnostics|env)
|
||||||
main "$@"
|
main "$@"
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
#Note: Use of this command is considered experimental. The commands and approach used may change from time to time.
|
||||||
|
stateless)
|
||||||
|
stateless "$@"
|
||||||
|
;;
|
||||||
restart)
|
restart)
|
||||||
init
|
init
|
||||||
run "stop"
|
run "stop"
|
||||||
run "start"
|
run "start"
|
||||||
;;
|
;;
|
||||||
*)
|
*)
|
||||||
echo "Usage nifi {start|stop|run|restart|status|dump|diagnostics|install}"
|
echo "Usage nifi {start|stop|run|restart|status|dump|diagnostics|install|stateless}"
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
* See the License for the specific language governing permissions and
|
* See the License for the specific language governing permissions and
|
||||||
* limitations under the License.
|
* limitations under the License.
|
||||||
*/
|
*/
|
||||||
package org.apache.nifi.stateless;
|
package org.apache.nifi;
|
||||||
|
|
||||||
import org.apache.nifi.nar.NarUnpacker;
|
import org.apache.nifi.nar.NarUnpacker;
|
||||||
import org.slf4j.Logger;
|
import org.slf4j.Logger;
|
||||||
@ -33,8 +33,8 @@ import java.util.List;
|
|||||||
import java.util.Objects;
|
import java.util.Objects;
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
public class NiFiStateless {
|
public class StatelessNiFi {
|
||||||
private static final Logger logger = LoggerFactory.getLogger(NiFiStateless.class);
|
private static final Logger logger = LoggerFactory.getLogger(StatelessNiFi.class);
|
||||||
|
|
||||||
public static final String PROGRAM_CLASS_NAME = "org.apache.nifi.stateless.runtimes.Program";
|
public static final String PROGRAM_CLASS_NAME = "org.apache.nifi.stateless.runtimes.Program";
|
||||||
|
|
||||||
@ -43,15 +43,14 @@ public class NiFiStateless {
|
|||||||
public static void main(final String[] args) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException {
|
public static void main(final String[] args) throws IOException, ClassNotFoundException, NoSuchMethodException, InvocationTargetException, IllegalAccessException {
|
||||||
|
|
||||||
String nifi_home = System.getenv("NIFI_HOME");
|
String nifi_home = System.getenv("NIFI_HOME");
|
||||||
if(nifi_home == null || nifi_home.equals("")) {
|
if (nifi_home == null || nifi_home.equals("")) {
|
||||||
nifi_home = ".";
|
nifi_home = ".";
|
||||||
}
|
}
|
||||||
|
|
||||||
final File libDir = new File(nifi_home+"/lib");
|
final File libDir = new File(nifi_home + "/lib");
|
||||||
final File statelesslibDir = new File(nifi_home+"/stateless-lib");
|
final File narWorkingDirectory = new File(nifi_home + "/work/stateless-nars");
|
||||||
final File narWorkingDirectory = new File(nifi_home+"/work");
|
|
||||||
|
|
||||||
if(args.length >= 1 && args[0].equals(EXTRACT_NARS)){
|
if (args.length >= 1 && args[0].equals(EXTRACT_NARS)) {
|
||||||
if (!libDir.exists()) {
|
if (!libDir.exists()) {
|
||||||
System.out.println("Specified lib directory <" + libDir + "> does not exist");
|
System.out.println("Specified lib directory <" + libDir + "> does not exist");
|
||||||
return;
|
return;
|
||||||
@ -72,14 +71,6 @@ public class NiFiStateless {
|
|||||||
for (final File narFile : narFiles) {
|
for (final File narFile : narFiles) {
|
||||||
NarUnpacker.unpackNar(narFile, narWorkingDirectory);
|
NarUnpacker.unpackNar(narFile, narWorkingDirectory);
|
||||||
}
|
}
|
||||||
final File[] statelessNar = statelesslibDir.listFiles(file -> file.getName().endsWith(".nar"));
|
|
||||||
if (statelessNar == null) {
|
|
||||||
System.out.println("Could not find stateless nar in stateless-lib dir <" + statelesslibDir + ">");
|
|
||||||
return;
|
|
||||||
}
|
|
||||||
for (final File narFile : statelessNar) {
|
|
||||||
NarUnpacker.unpackNar(narFile, narWorkingDirectory);
|
|
||||||
}
|
|
||||||
|
|
||||||
final long millis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startUnpack);
|
final long millis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startUnpack);
|
||||||
logger.info("Finished unpacking {} NARs in {} millis", narFiles.length, millis);
|
logger.info("Finished unpacking {} NARs in {} millis", narFiles.length, millis);
|
||||||
@ -87,34 +78,26 @@ public class NiFiStateless {
|
|||||||
System.exit(0);
|
System.exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
File statelessCoreWorkingDirectory;
|
File frameworkWorkingDirectory;
|
||||||
try {
|
try {
|
||||||
statelessCoreWorkingDirectory = Objects.requireNonNull(narWorkingDirectory.listFiles(file -> file.getName().startsWith("nifi-stateless")))[0];
|
frameworkWorkingDirectory = Objects.requireNonNull(narWorkingDirectory.listFiles(file -> file.getName().startsWith("nifi-framework")))[0];
|
||||||
}catch(Exception ex){
|
} catch (Exception ex) {
|
||||||
throw new FileNotFoundException("Could not find core stateless dependencies in the working directory <" + narWorkingDirectory + ">");
|
throw new FileNotFoundException("Could not find core stateless dependencies in the working directory <" + narWorkingDirectory + ">");
|
||||||
}
|
}
|
||||||
|
|
||||||
final File bundledDependenciesDir = new File(statelessCoreWorkingDirectory, NarUnpacker.BUNDLED_DEPENDENCIES_DIRECTORY);
|
final File bundledDependenciesDir = new File(frameworkWorkingDirectory, NarUnpacker.BUNDLED_DEPENDENCIES_DIRECTORY);
|
||||||
final File[] statelessCoreFiles = bundledDependenciesDir.listFiles();
|
final File[] jarFiles = bundledDependenciesDir.listFiles();
|
||||||
if (statelessCoreFiles == null) {
|
|
||||||
throw new IOException("Could not obtain listing of NiFi-Stateless NAR's bundled dependencies in working directory <" + bundledDependenciesDir + ">");
|
|
||||||
}
|
|
||||||
final URL[] statelessCoreUrls = toURLs(statelessCoreFiles);
|
|
||||||
|
|
||||||
|
|
||||||
final File[] jarFiles = statelesslibDir.listFiles(file -> file.getName().endsWith(".jar"));
|
|
||||||
if (jarFiles == null) {
|
if (jarFiles == null) {
|
||||||
System.out.println("Could not obtain listing of NiFi-Stateless Lib directory <" + libDir + ">");
|
throw new IOException("Could not obtain listing of NiFi-Framework NAR's bundled dependencies in working directory <" + bundledDependenciesDir + ">");
|
||||||
return;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
final URL[] jarUrls = toURLs(jarFiles);
|
final URL[] jarUrls = toURLs(jarFiles);
|
||||||
|
|
||||||
final URLClassLoader rootClassLoader = new URLClassLoader(jarUrls);
|
|
||||||
final URLClassLoader statelessCoreClassLoader = new URLClassLoader(statelessCoreUrls, rootClassLoader);
|
|
||||||
Thread.currentThread().setContextClassLoader(statelessCoreClassLoader);
|
|
||||||
|
|
||||||
final Class<?> programClass = Class.forName(PROGRAM_CLASS_NAME, true, statelessCoreClassLoader);
|
final ClassLoader rootClassLoader = Thread.currentThread().getContextClassLoader();
|
||||||
|
final URLClassLoader frameworkClassLoader = new URLClassLoader(jarUrls, rootClassLoader);
|
||||||
|
Thread.currentThread().setContextClassLoader(frameworkClassLoader);
|
||||||
|
|
||||||
|
final Class<?> programClass = Class.forName(PROGRAM_CLASS_NAME, true, frameworkClassLoader);
|
||||||
final Method launchMethod = programClass.getMethod("launch", String[].class, ClassLoader.class, File.class);
|
final Method launchMethod = programClass.getMethod("launch", String[].class, ClassLoader.class, File.class);
|
||||||
launchMethod.setAccessible(true);
|
launchMethod.setAccessible(true);
|
||||||
launchMethod.invoke(null, args, rootClassLoader, narWorkingDirectory);
|
launchMethod.invoke(null, args, rootClassLoader, narWorkingDirectory);
|
@ -22,10 +22,13 @@ Note: Provenance, metrics, logs are not extracted at this time. Docker and other
|
|||||||
Docker image will be tagged apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven
|
Docker image will be tagged apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven
|
||||||
|
|
||||||
### Usage:
|
### Usage:
|
||||||
After building, the image can be used as follows
|
After building, the image can be used as follows:
|
||||||
`docker run <options> apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven <arguments>`
|
`docker run <options> apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven <arguments>`
|
||||||
|
|
||||||
Where the arguments dictate the runtime to use:
|
Stateless NiFi flows can also be run using nifi.sh
|
||||||
|
`./bin/nifi.sh stateless <arguments>`
|
||||||
|
|
||||||
|
The <arguments> dictate the runtime to use:
|
||||||
```
|
```
|
||||||
1) RunFromRegistry [Once|Continuous] --json <JSON>
|
1) RunFromRegistry [Once|Continuous] --json <JSON>
|
||||||
RunFromRegistry [Once|Continuous] --file <File Name> # Filename of JSON file that matches the examples below.
|
RunFromRegistry [Once|Continuous] --file <File Name> # Filename of JSON file that matches the examples below.
|
||||||
@ -38,19 +41,20 @@ Where the arguments dictate the runtime to use:
|
|||||||
|
|
||||||
### Examples:
|
### Examples:
|
||||||
```
|
```
|
||||||
1) docker run --rm -it nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
1) ${NIFI_HOME}/bin/nifi.sh stateless RunFromRegistry Once --file /Users/nifi/nifi-stateless-configs/flow-abc.json
|
||||||
RunFromRegistry Once --file /Users/nifi/nifi-stateless-configs/flow-abc.json
|
2) docker run --rm -it apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
||||||
2) docker run --rm -it nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
RunFromRegistry Once --json "`cat /Users/nifi/nifi-stateless-configs/flow-abc.json`"
|
||||||
RunYARNServiceFromRegistry http://127.0.0.1:8088 nifi-stateless:latest kafka-to-solr 3 --file kafka-to-solr.json
|
3) docker run --rm -it -v /Users/nifi/nifi-stateless-configs/kafka-to-solr.json:/home/nifi/flow.json apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
||||||
3) docker run -d nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
RunYARNServiceFromRegistry http://127.0.0.1:8088 apache/nifi-stateless:latest kafka-to-solr 3 --file /home/nifi/flow.json
|
||||||
|
4) docker run -d apache/nifi-stateless:1.10.0-SNAPSHOT-dockermaven \
|
||||||
RunOpenwhiskActionServer 8080
|
RunOpenwhiskActionServer 8080
|
||||||
```
|
```
|
||||||
|
|
||||||
###Notes:
|
### Notes:
|
||||||
```
|
```
|
||||||
1) The configuration file must be in JSON format.
|
1) The configuration file must be in JSON format.
|
||||||
2) When providing configurations via JSON, the following attributes must be provided: nifi_registry, nifi_bucket, nifi_flow.
|
2) When providing configurations via JSON, the following attributes must be provided: nifi_registry, nifi_bucket, nifi_flow.
|
||||||
All other attributes will be passed to the flow using the variable registry interface
|
3) When running in docker, the configuration can either be provided as a string or by localizing the file into the docker container such as through the "-v" option.
|
||||||
```
|
```
|
||||||
|
|
||||||
### JSON Format
|
### JSON Format
|
||||||
@ -69,7 +73,7 @@ input FlowFile will be read as a stream of data and not buffered into heap. Howe
|
|||||||
Groups.
|
Groups.
|
||||||
- `flowFiles`: _Optional_ - An array of FlowFiles that should be provided to the flow's Input Port. Each element in the array is a JSON object. That JSON object can have multiple keys. If any of those
|
- `flowFiles`: _Optional_ - An array of FlowFiles that should be provided to the flow's Input Port. Each element in the array is a JSON object. That JSON object can have multiple keys. If any of those
|
||||||
keys is `nifi_content` then the String value of that element will be the FlowFile's content. Otherwise, the key/value pair is considered an attribute of the FlowFile.
|
keys is `nifi_content` then the String value of that element will be the FlowFile's content. Otherwise, the key/value pair is considered an attribute of the FlowFile.
|
||||||
- `variables`: _Optional_ - Key/value pairs that will be passed to the NiFi Flow as variables of the root Process Group.
|
- `parameters`: _Optional_ - Key-value pairs (or objects if sensitive) that will be passed to the NiFi Flow as parameters.
|
||||||
|
|
||||||
|
|
||||||
### Minimal JSON Sample:
|
### Minimal JSON Sample:
|
||||||
@ -123,6 +127,6 @@ keys is `nifi_content` then the String value of that element will be the FlowFil
|
|||||||
-StatelessProvenanceReporter.send force option is not appreciated
|
-StatelessProvenanceReporter.send force option is not appreciated
|
||||||
-StatelessProcessSession.adjustCounter immediate is not appreciated
|
-StatelessProcessSession.adjustCounter immediate is not appreciated
|
||||||
* Send logs, metrics, and provenance to kafka/solr (configure a flow ID for each?)
|
* Send logs, metrics, and provenance to kafka/solr (configure a flow ID for each?)
|
||||||
* counters
|
* Counters
|
||||||
* tests
|
* Tests
|
||||||
* Processor and port IDs from the UI do not match IDs in templates or the registry
|
* Processor and port IDs from the UI do not match IDs in templates or the registry
|
@ -20,37 +20,11 @@
|
|||||||
|
|
||||||
<parent>
|
<parent>
|
||||||
<groupId>org.apache.nifi</groupId>
|
<groupId>org.apache.nifi</groupId>
|
||||||
<artifactId>nifi-stateless</artifactId>
|
<artifactId>nifi-framework</artifactId>
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
</parent>
|
</parent>
|
||||||
|
|
||||||
<artifactId>nifi-stateless-core</artifactId>
|
<artifactId>nifi-stateless</artifactId>
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<groupId>org.apache.maven.plugins</groupId>
|
|
||||||
<artifactId>maven-dependency-plugin</artifactId>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>copy-dependencies</id>
|
|
||||||
<phase>prepare-package</phase>
|
|
||||||
<goals>
|
|
||||||
<goal>copy-dependencies</goal>
|
|
||||||
</goals>
|
|
||||||
<configuration>
|
|
||||||
<outputDirectory>${project.build.directory}/nifi-stateless-lib</outputDirectory>
|
|
||||||
<overWriteReleases>false</overWriteReleases>
|
|
||||||
<overWriteSnapshots>true</overWriteSnapshots>
|
|
||||||
<overWriteIfNewer>true</overWriteIfNewer>
|
|
||||||
<includeScope>compile</includeScope>
|
|
||||||
<excludeTypes>nar</excludeTypes>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
@ -68,7 +42,6 @@
|
|||||||
<artifactId>nifi-framework-core-api</artifactId>
|
<artifactId>nifi-framework-core-api</artifactId>
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.nifi</groupId>
|
<groupId>org.apache.nifi</groupId>
|
||||||
<artifactId>nifi-framework-nar-loading-utils</artifactId>
|
<artifactId>nifi-framework-nar-loading-utils</artifactId>
|
||||||
@ -89,6 +62,11 @@
|
|||||||
<artifactId>nifi-data-provenance-utils</artifactId>
|
<artifactId>nifi-data-provenance-utils</artifactId>
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>org.apache.nifi</groupId>
|
||||||
|
<artifactId>nifi-parameter</artifactId>
|
||||||
|
<version>1.10.0-SNAPSHOT</version>
|
||||||
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.google.code.gson</groupId>
|
<groupId>com.google.code.gson</groupId>
|
||||||
<artifactId>gson</artifactId>
|
<artifactId>gson</artifactId>
|
||||||
@ -100,6 +78,23 @@
|
|||||||
<version>1.7.25</version>
|
<version>1.7.25</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- jackson dependencies -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-databind</artifactId>
|
||||||
|
<version>${jackson.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-annotations</artifactId>
|
||||||
|
<version>${jackson.version}</version>
|
||||||
|
</dependency>
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.module</groupId>
|
||||||
|
<artifactId>jackson-module-jaxb-annotations</artifactId>
|
||||||
|
<version>${jackson.version}</version>
|
||||||
|
</dependency>
|
||||||
|
|
||||||
|
|
||||||
<!-- Test Dependencies -->
|
<!-- Test Dependencies -->
|
||||||
<dependency>
|
<dependency>
|
@ -39,7 +39,6 @@ public class Program {
|
|||||||
public static final String RUN_YARN_SERVICE_FROM_REGISTRY = "RunYARNServiceFromRegistry";
|
public static final String RUN_YARN_SERVICE_FROM_REGISTRY = "RunYARNServiceFromRegistry";
|
||||||
public static final String RUN_OPENWHISK_ACTION_SERVER = "RunOpenwhiskActionServer";
|
public static final String RUN_OPENWHISK_ACTION_SERVER = "RunOpenwhiskActionServer";
|
||||||
|
|
||||||
|
|
||||||
public static void launch(final String[] args, final ClassLoader systemClassLoader, final File narWorkingDirectory) throws Exception {
|
public static void launch(final String[] args, final ClassLoader systemClassLoader, final File narWorkingDirectory) throws Exception {
|
||||||
|
|
||||||
//Workaround for YARN
|
//Workaround for YARN
|
||||||
@ -60,6 +59,7 @@ public class Program {
|
|||||||
System.out.println("Created empty hadoop token file: " + System.getenv("HADOOP_TOKEN_FILE_LOCATION"));
|
System.out.println("Created empty hadoop token file: " + System.getenv("HADOOP_TOKEN_FILE_LOCATION"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
if (args.length == 0) {
|
if (args.length == 0) {
|
||||||
printUsage();
|
printUsage();
|
||||||
System.exit(1);
|
System.exit(1);
|
@ -48,6 +48,7 @@
|
|||||||
<module>nifi-standard-prioritizers</module>
|
<module>nifi-standard-prioritizers</module>
|
||||||
<module>nifi-mock-authorizer</module>
|
<module>nifi-mock-authorizer</module>
|
||||||
<module>nifi-shell-authorizer</module>
|
<module>nifi-shell-authorizer</module>
|
||||||
|
<module>nifi-stateless</module>
|
||||||
</modules>
|
</modules>
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@ -1,313 +0,0 @@
|
|||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed 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.
|
|
||||||
|
|
||||||
APACHE NIFI SUBCOMPONENTS:
|
|
||||||
|
|
||||||
The Apache NiFi project contains subcomponents with separate copyright
|
|
||||||
notices and license terms. Your use of the source code for the these
|
|
||||||
subcomponents is subject to the terms and conditions of the following
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Hamcrest' which is available
|
|
||||||
under a BSD license. More details found here: http://hamcrest.org.
|
|
||||||
|
|
||||||
Copyright (c) 2000-2006, www.hamcrest.org
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
conditions and the following disclaimer. Redistributions in binary form must reproduce
|
|
||||||
the above copyright notice, this list of conditions and the following disclaimer in
|
|
||||||
the documentation and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
Neither the name of Hamcrest nor the names of its contributors may be used to endorse
|
|
||||||
or promote products derived from this software without specific prior written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
|
||||||
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
||||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
||||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
|
|
||||||
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
|
||||||
DAMAGE.
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Antlr 3' which is available
|
|
||||||
under a "3-clause BSD" license. For details see http://www.antlr3.org/license.html
|
|
||||||
|
|
||||||
Copyright (c) 2010 Terence Parr
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
Neither the name of the author nor the names of its contributors may be used
|
|
||||||
to endorse or promote products derived from this software without specific
|
|
||||||
prior written permission.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Bouncy Castle JDK 1.5'
|
|
||||||
under an MIT style license.
|
|
||||||
|
|
||||||
Copyright (c) 2000 - 2015 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
This product bundles 'jBCrypt' which is available under an MIT license.
|
|
||||||
For details see https://github.com/svenkubiak/jBCrypt/blob/0.4.1/LICENSE
|
|
||||||
|
|
||||||
Copyright (c) 2006 Damien Miller <djm@mindrot.org>
|
|
||||||
|
|
||||||
Permission to use, copy, modify, and distribute this software for any
|
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
|
||||||
copyright notice and this permission notice appear in all copies.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,144 +0,0 @@
|
|||||||
Apache NiFi Stateless
|
|
||||||
Copyright 2015-2019 The Apache Software Foundation
|
|
||||||
|
|
||||||
This product includes software developed at
|
|
||||||
The Apache Software Foundation (http://www.apache.org/).
|
|
||||||
|
|
||||||
******************
|
|
||||||
Apache Software License v2
|
|
||||||
******************
|
|
||||||
|
|
||||||
The following binary components are provided under the Apache Software License v2
|
|
||||||
|
|
||||||
(ASLv2) Jetty
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Jetty Web Container
|
|
||||||
Copyright 1995-2017 Mort Bay Consulting Pty Ltd.
|
|
||||||
|
|
||||||
(ASLv2) Google GSON
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright 2008 Google Inc.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Text
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Text
|
|
||||||
Copyright 2001-2018 The Apache Software Foundation
|
|
||||||
|
|
||||||
(ASLv2) Jackson JSON processor
|
|
||||||
The following NOTICE information applies:
|
|
||||||
# Jackson JSON processor
|
|
||||||
|
|
||||||
Jackson is a high-performance, Free/Open Source JSON processing library.
|
|
||||||
It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has
|
|
||||||
been in development since 2007.
|
|
||||||
It is currently developed by a community of developers, as well as supported
|
|
||||||
commercially by FasterXML.com.
|
|
||||||
|
|
||||||
## Licensing
|
|
||||||
|
|
||||||
Jackson core and extension components may licensed under different licenses.
|
|
||||||
To find the details that apply to this artifact see the accompanying LICENSE file.
|
|
||||||
For more information, including possible other licensing options, contact
|
|
||||||
FasterXML.com (http://fasterxml.com).
|
|
||||||
|
|
||||||
## Credits
|
|
||||||
|
|
||||||
A list of contributors may be found from CREDITS file, which is included
|
|
||||||
in some artifacts (usually source distributions); but is always available
|
|
||||||
from the source code management (SCM) system project uses.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Codec
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Codec
|
|
||||||
Copyright 2002-2014 The Apache Software Foundation
|
|
||||||
|
|
||||||
src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
|
|
||||||
contains test data from http://aspell.net/test/orig/batch0.tab.
|
|
||||||
Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org)
|
|
||||||
|
|
||||||
===============================================================================
|
|
||||||
|
|
||||||
The content of package org.apache.commons.codec.language.bm has been translated
|
|
||||||
from the original php source code available at http://stevemorse.org/phoneticinfo.htm
|
|
||||||
with permission from the original authors.
|
|
||||||
Original source copyright:
|
|
||||||
Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Lang
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Lang
|
|
||||||
Copyright 2001-2017 The Apache Software Foundation
|
|
||||||
|
|
||||||
This product includes software from the Spring Framework,
|
|
||||||
under the Apache License 2.0 (see: StringUtils.containsWhitespace())
|
|
||||||
|
|
||||||
(ASLv2) Quartz
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright Declaration:
|
|
||||||
Copyright © 2003-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
|
|
||||||
|
|
||||||
Trademark and Patent declaration
|
|
||||||
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or Software AG USA Inc. and/or its subsidiaries and/or its affiliates
|
|
||||||
and/or their licensors. Other company and product names mentioned herein may be trademarks of their respective owners.
|
|
||||||
|
|
||||||
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at http://softwareag.com/licenses.
|
|
||||||
|
|
||||||
Third Party declaration
|
|
||||||
This software may include portions of third-party products. For third-party copyright notices, license terms, additional rights or restrictions, please refer to "License Texts, Copyright
|
|
||||||
Notices and Disclaimers of Third Party Products". For certain specific third-party license restrictions, please refer to section E of the Legal Notices available under "License Terms and
|
|
||||||
Conditions for Use of Software AG Products / Copyright and Trademark Notices of Software AG Products". These documents are part of the product documentation, located at
|
|
||||||
http://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
|
|
||||||
|
|
||||||
Confidentiality Disclaimer:
|
|
||||||
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.
|
|
||||||
Contact GitHub API Training Shop Blog About
|
|
||||||
|
|
||||||
(ASLv2) Spring Framework
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Spring Framework 4.x,5.x.RELEASE
|
|
||||||
Copyright (c) 2002-2015 Pivotal, Inc.
|
|
||||||
|
|
||||||
(ASLv2) Spring Security
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Spring Framework 4.0.3.RELEASE
|
|
||||||
Copyright (c) 2002-2015 Pivotal, Inc.
|
|
||||||
|
|
||||||
(ASLv2) Ehcache 2.x
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright 2003-2010 Terracotta, Inc.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
************************
|
|
||||||
Common Development and Distribution License 1.1
|
|
||||||
************************
|
|
||||||
|
|
||||||
The following binary components are provided under the Common Development and Distribution License 1.1. See project link for details.
|
|
||||||
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) Java Servlet API (javax.servlet:javax.servlet-api:jar:3.1.0 - http://servlet-spec.java.net)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) javax.ws.rs-api (javax.ws.rs:javax.ws.rs-api:jar:2.1 - http://jax-rs-spec.java.net)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-client (org.glassfish.jersey.core:jersey-client:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-common (org.glassfish.jersey.core:jersey-common:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-hk2 (org.glassfish.jersey.inject:jersey-hk2:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-media-json-jackson (org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.26 - https://jersey.github.io/)
|
|
||||||
|
|
||||||
|
|
||||||
************************
|
|
||||||
Eclipse Public License 1.0
|
|
||||||
************************
|
|
||||||
|
|
||||||
The following binary components are provided under the Eclipse Public License 1.0. See project link for details.
|
|
||||||
|
|
||||||
(EPL 1.0)(LGPL 2.1) Logback Classic (ch.qos.logback:logback-classic:jar:1.2.3 - http://logback.qos.ch/)
|
|
||||||
(EPL 1.0) AspectJ Weaver (org.aspectj:aspectjweaver:jar:1.8.5 - http://www.eclipse.org/aspectj/)
|
|
||||||
(EPL 1.0) AspectJ Runtime (org.aspectj:aspectjrt:jar:1.8.0 - http://www.eclipse.org/aspectj/)
|
|
||||||
|
|
||||||
*****************
|
|
||||||
Public Domain
|
|
||||||
*****************
|
|
||||||
|
|
||||||
The following binary components are provided to the 'Public Domain'. See project link for details.
|
|
||||||
|
|
||||||
(Public Domain) AOP Alliance 1.0 (http://aopalliance.sourceforge.net/)
|
|
@ -1,144 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<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">
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-stateless</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>nifi-stateless-assembly</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<build>
|
|
||||||
<plugins>
|
|
||||||
<plugin>
|
|
||||||
<artifactId>maven-assembly-plugin</artifactId>
|
|
||||||
<configuration>
|
|
||||||
<finalName>nifi-stateless-${project.version}</finalName>
|
|
||||||
<attach>false</attach>
|
|
||||||
</configuration>
|
|
||||||
<executions>
|
|
||||||
<execution>
|
|
||||||
<id>make shared resource</id>
|
|
||||||
<goals>
|
|
||||||
<goal>single</goal>
|
|
||||||
</goals>
|
|
||||||
<phase>package</phase>
|
|
||||||
<configuration>
|
|
||||||
<archiverConfig>
|
|
||||||
<defaultDirectoryMode>0775</defaultDirectoryMode>
|
|
||||||
<directoryMode>0775</directoryMode>
|
|
||||||
<fileMode>0664</fileMode>
|
|
||||||
</archiverConfig>
|
|
||||||
<descriptors>
|
|
||||||
<descriptor>src/main/assembly/dependencies.xml</descriptor>
|
|
||||||
</descriptors>
|
|
||||||
<tarLongFileMode>posix</tarLongFileMode>
|
|
||||||
<formats>
|
|
||||||
<format>dir</format>
|
|
||||||
<format>zip</format>
|
|
||||||
</formats>
|
|
||||||
</configuration>
|
|
||||||
</execution>
|
|
||||||
</executions>
|
|
||||||
</plugin>
|
|
||||||
</plugins>
|
|
||||||
</build>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<!-- JARs for root lib/ directory -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-stateless-bootstrap</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-api</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-utils</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-framework-api</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-properties</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>javax.servlet</groupId>
|
|
||||||
<artifactId>javax.servlet-api</artifactId>
|
|
||||||
<version>3.1.0</version>
|
|
||||||
<scope>runtime</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
<version>1.7.25</version>
|
|
||||||
<scope>runtime</scope>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>ch.qos.logback</groupId>
|
|
||||||
<artifactId>logback-classic</artifactId>
|
|
||||||
<scope>compile</scope>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<!-- NARs to bring in -->
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-stateless-nar</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
<type>nar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-standard-services-api-nar</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
<type>nar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-standard-nar</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
<type>nar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-update-attribute-nar</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
<type>nar</type>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-jetty-bundle</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
<type>nar</type>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,32 +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>bin</id>
|
|
||||||
<includeBaseDirectory>true</includeBaseDirectory>
|
|
||||||
<baseDirectory>nifi-stateless-${project.version}</baseDirectory>
|
|
||||||
|
|
||||||
<dependencySets>
|
|
||||||
<!-- Dependencies for nifi-stateless-core -->
|
|
||||||
<dependencySet>
|
|
||||||
<useProjectArtifact>false</useProjectArtifact>
|
|
||||||
<outputDirectory>lib</outputDirectory>
|
|
||||||
<directoryMode>0770</directoryMode>
|
|
||||||
<fileMode>0664</fileMode>
|
|
||||||
<useTransitiveFiltering>false</useTransitiveFiltering>
|
|
||||||
</dependencySet>
|
|
||||||
</dependencySets>
|
|
||||||
|
|
||||||
</assembly>
|
|
@ -1,40 +0,0 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
|
||||||
<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">
|
|
||||||
<!--
|
|
||||||
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.
|
|
||||||
-->
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-stateless</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>nifi-stateless-bootstrap</artifactId>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-nar-utils</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.slf4j</groupId>
|
|
||||||
<artifactId>slf4j-api</artifactId>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
</project>
|
|
@ -1,38 +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</artifactId>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<artifactId>nifi-stateless-nar</artifactId>
|
|
||||||
<packaging>nar</packaging>
|
|
||||||
|
|
||||||
<dependencies>
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi-stateless-core</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</dependency>
|
|
||||||
</dependencies>
|
|
||||||
|
|
||||||
</project>
|
|
@ -1,313 +0,0 @@
|
|||||||
|
|
||||||
Apache License
|
|
||||||
Version 2.0, January 2004
|
|
||||||
http://www.apache.org/licenses/
|
|
||||||
|
|
||||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
|
||||||
|
|
||||||
1. Definitions.
|
|
||||||
|
|
||||||
"License" shall mean the terms and conditions for use, reproduction,
|
|
||||||
and distribution as defined by Sections 1 through 9 of this document.
|
|
||||||
|
|
||||||
"Licensor" shall mean the copyright owner or entity authorized by
|
|
||||||
the copyright owner that is granting the License.
|
|
||||||
|
|
||||||
"Legal Entity" shall mean the union of the acting entity and all
|
|
||||||
other entities that control, are controlled by, or are under common
|
|
||||||
control with that entity. For the purposes of this definition,
|
|
||||||
"control" means (i) the power, direct or indirect, to cause the
|
|
||||||
direction or management of such entity, whether by contract or
|
|
||||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
|
||||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
|
||||||
|
|
||||||
"You" (or "Your") shall mean an individual or Legal Entity
|
|
||||||
exercising permissions granted by this License.
|
|
||||||
|
|
||||||
"Source" form shall mean the preferred form for making modifications,
|
|
||||||
including but not limited to software source code, documentation
|
|
||||||
source, and configuration files.
|
|
||||||
|
|
||||||
"Object" form shall mean any form resulting from mechanical
|
|
||||||
transformation or translation of a Source form, including but
|
|
||||||
not limited to compiled object code, generated documentation,
|
|
||||||
and conversions to other media types.
|
|
||||||
|
|
||||||
"Work" shall mean the work of authorship, whether in Source or
|
|
||||||
Object form, made available under the License, as indicated by a
|
|
||||||
copyright notice that is included in or attached to the work
|
|
||||||
(an example is provided in the Appendix below).
|
|
||||||
|
|
||||||
"Derivative Works" shall mean any work, whether in Source or Object
|
|
||||||
form, that is based on (or derived from) the Work and for which the
|
|
||||||
editorial revisions, annotations, elaborations, or other modifications
|
|
||||||
represent, as a whole, an original work of authorship. For the purposes
|
|
||||||
of this License, Derivative Works shall not include works that remain
|
|
||||||
separable from, or merely link (or bind by name) to the interfaces of,
|
|
||||||
the Work and Derivative Works thereof.
|
|
||||||
|
|
||||||
"Contribution" shall mean any work of authorship, including
|
|
||||||
the original version of the Work and any modifications or additions
|
|
||||||
to that Work or Derivative Works thereof, that is intentionally
|
|
||||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
|
||||||
or by an individual or Legal Entity authorized to submit on behalf of
|
|
||||||
the copyright owner. For the purposes of this definition, "submitted"
|
|
||||||
means any form of electronic, verbal, or written communication sent
|
|
||||||
to the Licensor or its representatives, including but not limited to
|
|
||||||
communication on electronic mailing lists, source code control systems,
|
|
||||||
and issue tracking systems that are managed by, or on behalf of, the
|
|
||||||
Licensor for the purpose of discussing and improving the Work, but
|
|
||||||
excluding communication that is conspicuously marked or otherwise
|
|
||||||
designated in writing by the copyright owner as "Not a Contribution."
|
|
||||||
|
|
||||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
|
||||||
on behalf of whom a Contribution has been received by Licensor and
|
|
||||||
subsequently incorporated within the Work.
|
|
||||||
|
|
||||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
copyright license to reproduce, prepare Derivative Works of,
|
|
||||||
publicly display, publicly perform, sublicense, and distribute the
|
|
||||||
Work and such Derivative Works in Source or Object form.
|
|
||||||
|
|
||||||
3. Grant of Patent License. Subject to the terms and conditions of
|
|
||||||
this License, each Contributor hereby grants to You a perpetual,
|
|
||||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
|
||||||
(except as stated in this section) patent license to make, have made,
|
|
||||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
|
||||||
where such license applies only to those patent claims licensable
|
|
||||||
by such Contributor that are necessarily infringed by their
|
|
||||||
Contribution(s) alone or by combination of their Contribution(s)
|
|
||||||
with the Work to which such Contribution(s) was submitted. If You
|
|
||||||
institute patent litigation against any entity (including a
|
|
||||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
|
||||||
or a Contribution incorporated within the Work constitutes direct
|
|
||||||
or contributory patent infringement, then any patent licenses
|
|
||||||
granted to You under this License for that Work shall terminate
|
|
||||||
as of the date such litigation is filed.
|
|
||||||
|
|
||||||
4. Redistribution. You may reproduce and distribute copies of the
|
|
||||||
Work or Derivative Works thereof in any medium, with or without
|
|
||||||
modifications, and in Source or Object form, provided that You
|
|
||||||
meet the following conditions:
|
|
||||||
|
|
||||||
(a) You must give any other recipients of the Work or
|
|
||||||
Derivative Works a copy of this License; and
|
|
||||||
|
|
||||||
(b) You must cause any modified files to carry prominent notices
|
|
||||||
stating that You changed the files; and
|
|
||||||
|
|
||||||
(c) You must retain, in the Source form of any Derivative Works
|
|
||||||
that You distribute, all copyright, patent, trademark, and
|
|
||||||
attribution notices from the Source form of the Work,
|
|
||||||
excluding those notices that do not pertain to any part of
|
|
||||||
the Derivative Works; and
|
|
||||||
|
|
||||||
(d) If the Work includes a "NOTICE" text file as part of its
|
|
||||||
distribution, then any Derivative Works that You distribute must
|
|
||||||
include a readable copy of the attribution notices contained
|
|
||||||
within such NOTICE file, excluding those notices that do not
|
|
||||||
pertain to any part of the Derivative Works, in at least one
|
|
||||||
of the following places: within a NOTICE text file distributed
|
|
||||||
as part of the Derivative Works; within the Source form or
|
|
||||||
documentation, if provided along with the Derivative Works; or,
|
|
||||||
within a display generated by the Derivative Works, if and
|
|
||||||
wherever such third-party notices normally appear. The contents
|
|
||||||
of the NOTICE file are for informational purposes only and
|
|
||||||
do not modify the License. You may add Your own attribution
|
|
||||||
notices within Derivative Works that You distribute, alongside
|
|
||||||
or as an addendum to the NOTICE text from the Work, provided
|
|
||||||
that such additional attribution notices cannot be construed
|
|
||||||
as modifying the License.
|
|
||||||
|
|
||||||
You may add Your own copyright statement to Your modifications and
|
|
||||||
may provide additional or different license terms and conditions
|
|
||||||
for use, reproduction, or distribution of Your modifications, or
|
|
||||||
for any such Derivative Works as a whole, provided Your use,
|
|
||||||
reproduction, and distribution of the Work otherwise complies with
|
|
||||||
the conditions stated in this License.
|
|
||||||
|
|
||||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
|
||||||
any Contribution intentionally submitted for inclusion in the Work
|
|
||||||
by You to the Licensor shall be under the terms and conditions of
|
|
||||||
this License, without any additional terms or conditions.
|
|
||||||
Notwithstanding the above, nothing herein shall supersede or modify
|
|
||||||
the terms of any separate license agreement you may have executed
|
|
||||||
with Licensor regarding such Contributions.
|
|
||||||
|
|
||||||
6. Trademarks. This License does not grant permission to use the trade
|
|
||||||
names, trademarks, service marks, or product names of the Licensor,
|
|
||||||
except as required for reasonable and customary use in describing the
|
|
||||||
origin of the Work and reproducing the content of the NOTICE file.
|
|
||||||
|
|
||||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
|
||||||
agreed to in writing, Licensor provides the Work (and each
|
|
||||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
|
||||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
|
||||||
implied, including, without limitation, any warranties or conditions
|
|
||||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
|
||||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
|
||||||
appropriateness of using or redistributing the Work and assume any
|
|
||||||
risks associated with Your exercise of permissions under this License.
|
|
||||||
|
|
||||||
8. Limitation of Liability. In no event and under no legal theory,
|
|
||||||
whether in tort (including negligence), contract, or otherwise,
|
|
||||||
unless required by applicable law (such as deliberate and grossly
|
|
||||||
negligent acts) or agreed to in writing, shall any Contributor be
|
|
||||||
liable to You for damages, including any direct, indirect, special,
|
|
||||||
incidental, or consequential damages of any character arising as a
|
|
||||||
result of this License or out of the use or inability to use the
|
|
||||||
Work (including but not limited to damages for loss of goodwill,
|
|
||||||
work stoppage, computer failure or malfunction, or any and all
|
|
||||||
other commercial damages or losses), even if such Contributor
|
|
||||||
has been advised of the possibility of such damages.
|
|
||||||
|
|
||||||
9. Accepting Warranty or Additional Liability. While redistributing
|
|
||||||
the Work or Derivative Works thereof, You may choose to offer,
|
|
||||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
|
||||||
or other liability obligations and/or rights consistent with this
|
|
||||||
License. However, in accepting such obligations, You may act only
|
|
||||||
on Your own behalf and on Your sole responsibility, not on behalf
|
|
||||||
of any other Contributor, and only if You agree to indemnify,
|
|
||||||
defend, and hold each Contributor harmless for any liability
|
|
||||||
incurred by, or claims asserted against, such Contributor by reason
|
|
||||||
of your accepting any such warranty or additional liability.
|
|
||||||
|
|
||||||
END OF TERMS AND CONDITIONS
|
|
||||||
|
|
||||||
APPENDIX: How to apply the Apache License to your work.
|
|
||||||
|
|
||||||
To apply the Apache License to your work, attach the following
|
|
||||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
|
||||||
replaced with your own identifying information. (Don't include
|
|
||||||
the brackets!) The text should be enclosed in the appropriate
|
|
||||||
comment syntax for the file format. We also recommend that a
|
|
||||||
file or class name and description of purpose be included on the
|
|
||||||
same "printed page" as the copyright notice for easier
|
|
||||||
identification within third-party archives.
|
|
||||||
|
|
||||||
Copyright [yyyy] [name of copyright owner]
|
|
||||||
|
|
||||||
Licensed 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.
|
|
||||||
|
|
||||||
APACHE NIFI SUBCOMPONENTS:
|
|
||||||
|
|
||||||
The Apache NiFi project contains subcomponents with separate copyright
|
|
||||||
notices and license terms. Your use of the source code for the these
|
|
||||||
subcomponents is subject to the terms and conditions of the following
|
|
||||||
licenses.
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Hamcrest' which is available
|
|
||||||
under a BSD license. More details found here: http://hamcrest.org.
|
|
||||||
|
|
||||||
Copyright (c) 2000-2006, www.hamcrest.org
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
Redistributions of source code must retain the above copyright notice, this list of
|
|
||||||
conditions and the following disclaimer. Redistributions in binary form must reproduce
|
|
||||||
the above copyright notice, this list of conditions and the following disclaimer in
|
|
||||||
the documentation and/or other materials provided with the distribution.
|
|
||||||
|
|
||||||
Neither the name of Hamcrest nor the names of its contributors may be used to endorse
|
|
||||||
or promote products derived from this software without specific prior written
|
|
||||||
permission.
|
|
||||||
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY
|
|
||||||
EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
|
|
||||||
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT
|
|
||||||
SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT,
|
|
||||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED
|
|
||||||
TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR
|
|
||||||
BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY
|
|
||||||
WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
|
|
||||||
DAMAGE.
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Antlr 3' which is available
|
|
||||||
under a "3-clause BSD" license. For details see http://www.antlr3.org/license.html
|
|
||||||
|
|
||||||
Copyright (c) 2010 Terence Parr
|
|
||||||
All rights reserved.
|
|
||||||
|
|
||||||
Redistribution and use in source and binary forms, with or without
|
|
||||||
modification, are permitted provided that the following conditions are met:
|
|
||||||
|
|
||||||
Redistributions of source code must retain the above copyright notice, this
|
|
||||||
list of conditions and the following disclaimer.
|
|
||||||
Redistributions in binary form must reproduce the above copyright notice,
|
|
||||||
this list of conditions and the following disclaimer in the documentation
|
|
||||||
and/or other materials provided with the distribution.
|
|
||||||
Neither the name of the author nor the names of its contributors may be used
|
|
||||||
to endorse or promote products derived from this software without specific
|
|
||||||
prior written permission.
|
|
||||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
|
||||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
|
||||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
|
|
||||||
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
|
|
||||||
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
|
||||||
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
|
||||||
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
|
||||||
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
|
||||||
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
|
||||||
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
|
|
||||||
THE POSSIBILITY OF SUCH DAMAGE.
|
|
||||||
|
|
||||||
|
|
||||||
The binary distribution of this product bundles 'Bouncy Castle JDK 1.5'
|
|
||||||
under an MIT style license.
|
|
||||||
|
|
||||||
Copyright (c) 2000 - 2015 The Legion of the Bouncy Castle Inc. (http://www.bouncycastle.org)
|
|
||||||
|
|
||||||
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
||||||
of this software and associated documentation files (the "Software"), to deal
|
|
||||||
in the Software without restriction, including without limitation the rights
|
|
||||||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
||||||
copies of the Software, and to permit persons to whom the Software is
|
|
||||||
furnished to do so, subject to the following conditions:
|
|
||||||
|
|
||||||
The above copyright notice and this permission notice shall be included in
|
|
||||||
all copies or substantial portions of the Software.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
||||||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
||||||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
||||||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
||||||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
||||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
||||||
THE SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
This product bundles 'jBCrypt' which is available under an MIT license.
|
|
||||||
For details see https://github.com/svenkubiak/jBCrypt/blob/0.4.1/LICENSE
|
|
||||||
|
|
||||||
Copyright (c) 2006 Damien Miller <djm@mindrot.org>
|
|
||||||
|
|
||||||
Permission to use, copy, modify, and distribute this software for any
|
|
||||||
purpose with or without fee is hereby granted, provided that the above
|
|
||||||
copyright notice and this permission notice appear in all copies.
|
|
||||||
|
|
||||||
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
|
|
||||||
WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
|
|
||||||
MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
|
|
||||||
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
|
|
||||||
WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
|
|
||||||
ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
|
|
||||||
OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
@ -1,144 +0,0 @@
|
|||||||
nifi-stateless-nar
|
|
||||||
Copyright 2015-2019 The Apache Software Foundation
|
|
||||||
|
|
||||||
This product includes software developed at
|
|
||||||
The Apache Software Foundation (http://www.apache.org/).
|
|
||||||
|
|
||||||
******************
|
|
||||||
Apache Software License v2
|
|
||||||
******************
|
|
||||||
|
|
||||||
The following binary components are provided under the Apache Software License v2
|
|
||||||
|
|
||||||
(ASLv2) Jetty
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Jetty Web Container
|
|
||||||
Copyright 1995-2017 Mort Bay Consulting Pty Ltd.
|
|
||||||
|
|
||||||
(ASLv2) Google GSON
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright 2008 Google Inc.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Text
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Text
|
|
||||||
Copyright 2001-2018 The Apache Software Foundation
|
|
||||||
|
|
||||||
(ASLv2) Jackson JSON processor
|
|
||||||
The following NOTICE information applies:
|
|
||||||
# Jackson JSON processor
|
|
||||||
|
|
||||||
Jackson is a high-performance, Free/Open Source JSON processing library.
|
|
||||||
It was originally written by Tatu Saloranta (tatu.saloranta@iki.fi), and has
|
|
||||||
been in development since 2007.
|
|
||||||
It is currently developed by a community of developers, as well as supported
|
|
||||||
commercially by FasterXML.com.
|
|
||||||
|
|
||||||
## Licensing
|
|
||||||
|
|
||||||
Jackson core and extension components may licensed under different licenses.
|
|
||||||
To find the details that apply to this artifact see the accompanying LICENSE file.
|
|
||||||
For more information, including possible other licensing options, contact
|
|
||||||
FasterXML.com (http://fasterxml.com).
|
|
||||||
|
|
||||||
## Credits
|
|
||||||
|
|
||||||
A list of contributors may be found from CREDITS file, which is included
|
|
||||||
in some artifacts (usually source distributions); but is always available
|
|
||||||
from the source code management (SCM) system project uses.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Codec
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Codec
|
|
||||||
Copyright 2002-2014 The Apache Software Foundation
|
|
||||||
|
|
||||||
src/test/org/apache/commons/codec/language/DoubleMetaphoneTest.java
|
|
||||||
contains test data from http://aspell.net/test/orig/batch0.tab.
|
|
||||||
Copyright (C) 2002 Kevin Atkinson (kevina@gnu.org)
|
|
||||||
|
|
||||||
===============================================================================
|
|
||||||
|
|
||||||
The content of package org.apache.commons.codec.language.bm has been translated
|
|
||||||
from the original php source code available at http://stevemorse.org/phoneticinfo.htm
|
|
||||||
with permission from the original authors.
|
|
||||||
Original source copyright:
|
|
||||||
Copyright (c) 2008 Alexander Beider & Stephen P. Morse.
|
|
||||||
|
|
||||||
(ASLv2) Apache Commons Lang
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Apache Commons Lang
|
|
||||||
Copyright 2001-2017 The Apache Software Foundation
|
|
||||||
|
|
||||||
This product includes software from the Spring Framework,
|
|
||||||
under the Apache License 2.0 (see: StringUtils.containsWhitespace())
|
|
||||||
|
|
||||||
(ASLv2) Quartz
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright Declaration:
|
|
||||||
Copyright © 2003-2016 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or its subsidiaries and/or its affiliates and/or their licensors.
|
|
||||||
|
|
||||||
Trademark and Patent declaration
|
|
||||||
The name Software AG and all Software AG product names are either trademarks or registered trademarks of Software AG and/or Software AG USA Inc. and/or its subsidiaries and/or its affiliates
|
|
||||||
and/or their licensors. Other company and product names mentioned herein may be trademarks of their respective owners.
|
|
||||||
|
|
||||||
Detailed information on trademarks and patents owned by Software AG and/or its subsidiaries is located at http://softwareag.com/licenses.
|
|
||||||
|
|
||||||
Third Party declaration
|
|
||||||
This software may include portions of third-party products. For third-party copyright notices, license terms, additional rights or restrictions, please refer to "License Texts, Copyright
|
|
||||||
Notices and Disclaimers of Third Party Products". For certain specific third-party license restrictions, please refer to section E of the Legal Notices available under "License Terms and
|
|
||||||
Conditions for Use of Software AG Products / Copyright and Trademark Notices of Software AG Products". These documents are part of the product documentation, located at
|
|
||||||
http://softwareag.com/licenses and/or in the root installation directory of the licensed product(s).
|
|
||||||
|
|
||||||
Confidentiality Disclaimer:
|
|
||||||
Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG.
|
|
||||||
Contact GitHub API Training Shop Blog About
|
|
||||||
|
|
||||||
(ASLv2) Spring Framework
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Spring Framework 4.x,5.x.RELEASE
|
|
||||||
Copyright (c) 2002-2015 Pivotal, Inc.
|
|
||||||
|
|
||||||
(ASLv2) Spring Security
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Spring Framework 4.0.3.RELEASE
|
|
||||||
Copyright (c) 2002-2015 Pivotal, Inc.
|
|
||||||
|
|
||||||
(ASLv2) Ehcache 2.x
|
|
||||||
The following NOTICE information applies:
|
|
||||||
Copyright 2003-2010 Terracotta, Inc.
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
************************
|
|
||||||
Common Development and Distribution License 1.1
|
|
||||||
************************
|
|
||||||
|
|
||||||
The following binary components are provided under the Common Development and Distribution License 1.1. See project link for details.
|
|
||||||
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) Java Servlet API (javax.servlet:javax.servlet-api:jar:3.1.0 - http://servlet-spec.java.net)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) javax.ws.rs-api (javax.ws.rs:javax.ws.rs-api:jar:2.1 - http://jax-rs-spec.java.net)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-client (org.glassfish.jersey.core:jersey-client:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-common (org.glassfish.jersey.core:jersey-common:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-hk2 (org.glassfish.jersey.inject:jersey-hk2:jar:2.26 - https://jersey.github.io/)
|
|
||||||
(CDDL 1.1) (GPL2 w/ CPE) jersey-media-json-jackson (org.glassfish.jersey.media:jersey-media-json-jackson:jar:2.26 - https://jersey.github.io/)
|
|
||||||
|
|
||||||
|
|
||||||
************************
|
|
||||||
Eclipse Public License 1.0
|
|
||||||
************************
|
|
||||||
|
|
||||||
The following binary components are provided under the Eclipse Public License 1.0. See project link for details.
|
|
||||||
|
|
||||||
(EPL 1.0)(LGPL 2.1) Logback Classic (ch.qos.logback:logback-classic:jar:1.2.3 - http://logback.qos.ch/)
|
|
||||||
(EPL 1.0) AspectJ Weaver (org.aspectj:aspectjweaver:jar:1.8.5 - http://www.eclipse.org/aspectj/)
|
|
||||||
(EPL 1.0) AspectJ Runtime (org.aspectj:aspectjrt:jar:1.8.0 - http://www.eclipse.org/aspectj/)
|
|
||||||
|
|
||||||
*****************
|
|
||||||
Public Domain
|
|
||||||
*****************
|
|
||||||
|
|
||||||
The following binary components are provided to the 'Public Domain'. See project link for details.
|
|
||||||
|
|
||||||
(Public Domain) AOP Alliance 1.0 (http://aopalliance.sourceforge.net/)
|
|
@ -1,37 +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">
|
|
||||||
<modelVersion>4.0.0</modelVersion>
|
|
||||||
|
|
||||||
<parent>
|
|
||||||
<groupId>org.apache.nifi</groupId>
|
|
||||||
<artifactId>nifi</artifactId>
|
|
||||||
<version>1.10.0-SNAPSHOT</version>
|
|
||||||
</parent>
|
|
||||||
|
|
||||||
<artifactId>nifi-stateless</artifactId>
|
|
||||||
<packaging>pom</packaging>
|
|
||||||
|
|
||||||
<modules>
|
|
||||||
<module>nifi-stateless-core</module>
|
|
||||||
<module>nifi-stateless-bootstrap</module>
|
|
||||||
<module>nifi-stateless-assembly</module>
|
|
||||||
<module>nifi-stateless-nar</module>
|
|
||||||
</modules>
|
|
||||||
|
|
||||||
</project>
|
|
1
pom.xml
1
pom.xml
@ -34,7 +34,6 @@
|
|||||||
<module>nifi-maven-archetypes</module>
|
<module>nifi-maven-archetypes</module>
|
||||||
<module>nifi-external</module>
|
<module>nifi-external</module>
|
||||||
<module>nifi-toolkit</module>
|
<module>nifi-toolkit</module>
|
||||||
<module>nifi-stateless</module>
|
|
||||||
<module>nifi-docker</module>
|
<module>nifi-docker</module>
|
||||||
</modules>
|
</modules>
|
||||||
<url>https://nifi.apache.org</url>
|
<url>https://nifi.apache.org</url>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user