2014-12-08 15:22:14 -05:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!--
|
|
|
|
Licensed to the Apache Software Foundation (ASF) under one or more
|
|
|
|
contributor license agreements. See the NOTICE file distributed with
|
|
|
|
this work for additional information regarding copyright ownership.
|
|
|
|
The ASF licenses this file to You under the Apache License, Version 2.0
|
|
|
|
(the "License"); you may not use this file except in compliance with
|
|
|
|
the License. You may obtain a copy of the License at
|
|
|
|
http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
Unless required by applicable law or agreed to in writing, software
|
|
|
|
distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
See the License for the specific language governing permissions and
|
|
|
|
limitations under the License.
|
|
|
|
-->
|
|
|
|
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
|
|
|
|
<modelVersion>4.0.0</modelVersion>
|
|
|
|
<parent>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-web</artifactId>
|
2016-04-04 11:36:19 -04:00
|
|
|
<version>1.0.0-SNAPSHOT</version>
|
2014-12-08 15:22:14 -05:00
|
|
|
</parent>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-web-api</artifactId>
|
|
|
|
<packaging>war</packaging>
|
2016-02-17 23:25:11 -05:00
|
|
|
<properties>
|
|
|
|
<maven.javadoc.skip>true</maven.javadoc.skip>
|
|
|
|
<source.skip>true</source.skip>
|
|
|
|
</properties>
|
2014-12-08 15:22:14 -05:00
|
|
|
<build>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
<plugins>
|
2016-04-09 15:24:54 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
|
|
|
<artifactId>maven-jar-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>create-jar</id>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>jar</goal>
|
|
|
|
</goals>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-12-08 15:22:14 -05:00
|
|
|
<plugin>
|
|
|
|
<groupId>org.apache.maven.plugins</groupId>
|
2016-06-23 15:55:18 -04:00
|
|
|
<artifactId>maven-failsafe-plugin</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<configuration>
|
|
|
|
<argLine>-Xms512m -Xmx512m</argLine>
|
2015-01-09 08:10:04 -05:00
|
|
|
<forkCount>1</forkCount>
|
|
|
|
<reuseForks>false</reuseForks>
|
2014-12-08 15:22:14 -05:00
|
|
|
</configuration>
|
|
|
|
</plugin>
|
2015-05-01 16:42:44 -04:00
|
|
|
<plugin>
|
|
|
|
<groupId>com.github.kongchen</groupId>
|
|
|
|
<artifactId>swagger-maven-plugin</artifactId>
|
|
|
|
<version>3.0-M1</version>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<phase>compile</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>generate</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<apiSources>
|
|
|
|
<apiSource>
|
|
|
|
<locations>org.apache.nifi.web.api</locations>
|
|
|
|
<schemes>http,https</schemes>
|
|
|
|
<basePath>/nifi-api</basePath>
|
|
|
|
<info>
|
|
|
|
<title>NiFi Rest Api</title>
|
|
|
|
<version>${project.version}</version>
|
|
|
|
<description>
|
|
|
|
The Rest Api provides programmatic access to command and control a NiFi instance in real time. Start and
|
|
|
|
stop processors, monitor queues, query provenance data, and more. Each endpoint below includes a description,
|
2016-08-04 10:37:42 -04:00
|
|
|
definitions of the expected input and output, potential response codes, and the authorizations required
|
2015-05-01 16:42:44 -04:00
|
|
|
to invoke each service.
|
|
|
|
</description>
|
|
|
|
<contact>
|
2015-07-16 12:35:37 -04:00
|
|
|
<email>dev@nifi.apache.org</email>
|
|
|
|
<url>https://nifi.apache.org</url>
|
2015-05-01 16:42:44 -04:00
|
|
|
</contact>
|
|
|
|
<license>
|
|
|
|
<url>http://www.apache.org/licenses/LICENSE-2.0.html</url>
|
|
|
|
<name>Apache 2.0</name>
|
|
|
|
</license>
|
|
|
|
</info>
|
|
|
|
<templatePath>classpath:/templates/index.html.hbs</templatePath>
|
|
|
|
<outputPath>${project.build.directory}/${project.artifactId}-${project.version}/docs/rest-api/index.html</outputPath>
|
|
|
|
<swaggerDirectory>${project.build.directory}/swagger-ui</swaggerDirectory>
|
|
|
|
</apiSource>
|
|
|
|
</apiSources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
|
|
|
<plugin>
|
|
|
|
<artifactId>maven-resources-plugin</artifactId>
|
|
|
|
<executions>
|
|
|
|
<execution>
|
|
|
|
<id>copy-resources</id>
|
|
|
|
<phase>validate</phase>
|
|
|
|
<goals>
|
|
|
|
<goal>copy-resources</goal>
|
|
|
|
</goals>
|
|
|
|
<configuration>
|
|
|
|
<outputDirectory>${project.build.directory}/${project.artifactId}-${project.version}/docs/rest-api/images</outputDirectory>
|
|
|
|
<resources>
|
|
|
|
<resource>
|
|
|
|
<directory>src/main/resources/images</directory>
|
|
|
|
</resource>
|
|
|
|
</resources>
|
|
|
|
</configuration>
|
|
|
|
</execution>
|
|
|
|
</executions>
|
|
|
|
</plugin>
|
2014-12-08 15:22:14 -05:00
|
|
|
</plugins>
|
|
|
|
</build>
|
|
|
|
<dependencies>
|
|
|
|
<!--
|
|
|
|
Artifacts that will be on the jetty classpath at runtime either through
|
|
|
|
the application classpath or the maven jetty plugin classpath defined
|
|
|
|
in the WebUI pom.
|
|
|
|
-->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-web-utils</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-03-22 23:13:07 -04:00
|
|
|
<artifactId>nifi-web-content-access</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-client-dto</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-data-provenance-utils</artifactId>
|
2015-05-01 16:42:44 -04:00
|
|
|
<scope>provided</scope>
|
2014-12-08 15:22:14 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-framework-cluster</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-api</artifactId>
|
2014-12-15 05:14:32 -05:00
|
|
|
</dependency>
|
2016-07-13 09:28:19 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-framework-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-15 05:14:32 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-nar-utils</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-web-security</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-web-optimistic-locking</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-03-31 16:45:05 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-ui-extension</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-08 15:22:14 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-administration</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-user-actions</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-framework-core</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-properties</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-security-utils</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-utils</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-04-21 17:19:21 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-framework-authorization</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-06-13 15:39:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
|
|
|
<artifactId>nifi-authorizer</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-08 15:22:14 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>javax.servlet</groupId>
|
|
|
|
<artifactId>javax.servlet-api</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-05-01 16:42:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>com.wordnik</groupId>
|
|
|
|
<artifactId>swagger-annotations</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-08 15:22:14 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.quartz-scheduler</groupId>
|
|
|
|
<artifactId>quartz</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-collections4</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2015-05-01 16:42:44 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.commons</groupId>
|
|
|
|
<artifactId>commons-lang3</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2014-12-08 15:22:14 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-beans</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-context</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-web</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring-aop</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.aspectj</groupId>
|
|
|
|
<artifactId>aspectjweaver</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-server</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-client</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey</groupId>
|
|
|
|
<artifactId>jersey-json</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey.contribs</groupId>
|
|
|
|
<artifactId>jersey-spring</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
<exclusions>
|
|
|
|
<exclusion>
|
|
|
|
<groupId>org.springframework</groupId>
|
|
|
|
<artifactId>spring</artifactId>
|
|
|
|
</exclusion>
|
|
|
|
</exclusions>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>com.sun.jersey.contribs</groupId>
|
|
|
|
<artifactId>jersey-multipart</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-core</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-acl</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security</groupId>
|
|
|
|
<artifactId>spring-security-web</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>cglib</groupId>
|
|
|
|
<artifactId>cglib-nodep</artifactId>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
|
|
|
|
<!-- testing dependencies -->
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-server</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-webapp</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.eclipse.jetty</groupId>
|
|
|
|
<artifactId>jetty-servlets</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.apache.nifi</groupId>
|
2015-01-21 01:47:48 -05:00
|
|
|
<artifactId>nifi-volatile-provenance-repository</artifactId>
|
2014-12-08 15:22:14 -05:00
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2016-03-11 18:11:19 -05:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security.kerberos</groupId>
|
|
|
|
<artifactId>spring-security-kerberos-core</artifactId>
|
|
|
|
<version>1.0.1.RELEASE</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
|
|
|
<dependency>
|
|
|
|
<groupId>org.springframework.security.kerberos</groupId>
|
|
|
|
<artifactId>spring-security-kerberos-web</artifactId>
|
|
|
|
<version>1.0.1.RELEASE</version>
|
|
|
|
<scope>provided</scope>
|
|
|
|
</dependency>
|
2016-05-20 16:32:33 -04:00
|
|
|
<dependency>
|
|
|
|
<groupId>org.spockframework</groupId>
|
|
|
|
<artifactId>spock-core</artifactId>
|
|
|
|
<scope>test</scope>
|
|
|
|
</dependency>
|
2014-12-08 15:22:14 -05:00
|
|
|
</dependencies>
|
|
|
|
</project>
|