Skip to content

Commit

Permalink
DDF-5854 Remove FTP Endpoint (#5864)
Browse files Browse the repository at this point in the history
* DDF-5854 Removed FTP Endpoint and tests

* DDF-5854 Removed FTP Endpoint and tests
  • Loading branch information
shaundmorris authored Apr 9, 2020
1 parent e25f56b commit a2e2c69
Show file tree
Hide file tree
Showing 23 changed files with 145 additions and 4,782 deletions.
666 changes: 145 additions & 521 deletions ThreatDragonModels/Catalog/Catalog.json

Large diffs are not rendered by default.

1,599 changes: 0 additions & 1,599 deletions ThreatDragonModels/FTPEndpoint/FTPEndpoint.json

This file was deleted.

5 changes: 0 additions & 5 deletions catalog/catalog-app/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -537,11 +537,6 @@
<artifactId>catalog-core-resourcestatusplugin</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ddf.catalog</groupId>
<artifactId>ftp</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ddf.catalog.core</groupId>
<artifactId>catalog-core-tagsfilterplugin</artifactId>
Expand Down
7 changes: 0 additions & 7 deletions catalog/catalog-app/src/main/resources/features.xml
Original file line number Diff line number Diff line change
Expand Up @@ -664,13 +664,6 @@
</bundle>
</feature>

<feature name="catalog-ftp" version="${project.version}"
description="FTP endpoint for ingesting files into the catalog. Supports PUT and MPUT operations only. Avoids the extra IO overhead of otherwise having to temporarily write the file to the file system.">
<feature>catalog-app</feature>
<bundle>mvn:ddf.catalog/ftp/${project.version}</bundle>
<bundle>mvn:org.apache.mina/mina-core/${mina.version}</bundle>
</feature>

<feature name="catalog-plugin-gazetteer" version="${project.version}"
description="Post-ingest plugin for updating the offline gazetteer's suggester index when
gazetteer metacards are created, updated, or deleted.">
Expand Down
189 changes: 0 additions & 189 deletions catalog/ftp/pom.xml
Original file line number Diff line number Diff line change
@@ -1,189 +0,0 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!--
/**
* Copyright (c) Codice Foundation
*
* This is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation, either
* version 3 of the License, or any later version.
*
* This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
* See the GNU Lesser General Public License for more details. A copy of the GNU Lesser General Public License is distributed along with this program and can be found at
* <http://www.gnu.org/licenses/lgpl.html>.
*
**/
-->
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<parent>
<groupId>ddf.catalog</groupId>
<artifactId>catalog</artifactId>
<version>2.24.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>

<artifactId>ftp</artifactId>
<name>DDF :: Catalog :: Ftp</name>
<packaging>bundle</packaging>

<dependencies>
<dependency>
<groupId>org.apache.mina</groupId>
<artifactId>mina-core</artifactId>
<version>${mina.version}</version>
</dependency>
<dependency>
<groupId>org.apache.ftpserver</groupId>
<artifactId>ftplet-api</artifactId>
<version>${ftpserver-version}</version>
</dependency>
<dependency>
<groupId>org.apache.ftpserver</groupId>
<artifactId>ftpserver-core</artifactId>
<version>${ftpserver-version}</version>
</dependency>
<dependency>
<groupId>org.slf4j</groupId>
<artifactId>slf4j-api</artifactId>
</dependency>
<dependency>
<groupId>commons-lang</groupId>
<artifactId>commons-lang</artifactId>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.4</version>
</dependency>
<dependency>
<groupId>ddf.catalog.core</groupId>
<artifactId>catalog-core-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>com.google.guava</groupId>
<artifactId>guava</artifactId>
<version>${guava.version}</version>
</dependency>
<dependency>
<groupId>ddf.security.handler</groupId>
<artifactId>security-handler-basic</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ddf.security.core</groupId>
<artifactId>security-core-api</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>org.apache.camel</groupId>
<artifactId>camel-core</artifactId>
<version>${camel.version}</version>
</dependency>
<dependency>
<groupId>ddf.catalog.core</groupId>
<artifactId>catalog-core-api-impl</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>ddf.platform.util</groupId>
<artifactId>platform-util</artifactId>
</dependency>
<dependency>
<groupId>org.apache.shiro</groupId>
<artifactId>shiro-core</artifactId>
</dependency>
<dependency>
<groupId>ddf.catalog.core</groupId>
<artifactId>catalog-core-camelcomponent</artifactId>
<version>${project.version}</version>
</dependency>
<dependency>
<groupId>commons-beanutils</groupId>
<artifactId>commons-beanutils</artifactId>
</dependency>
<dependency>
<groupId>ddf.platform.util</groupId>
<artifactId>util-uuidgenerator-api</artifactId>
<version>${project.version}</version>
</dependency>
</dependencies>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-enforcer-plugin</artifactId>
<executions>
<execution>
<id>check-artifact-size</id>
<phase>verify</phase>
<goals>
<goal>enforce</goal>
</goals>
<configuration>
<rules>
<ArtifactSizeEnforcerRule implementation="org.codice.maven.artifactsize.ArtifactSizeEnforcerRule">
<maxArtifactSize>2.2_MB</maxArtifactSize>
</ArtifactSizeEnforcerRule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.jacoco</groupId>
<artifactId>jacoco-maven-plugin</artifactId>
<executions>
<execution>
<id>default-check</id>
<goals>
<goal>check</goal>
</goals>
<configuration>
<haltOnFailure>true</haltOnFailure>
<rules>
<rule>
<element>BUNDLE</element>
<limits>
<limit implementation="org.codice.jacoco.LenientLimit">
<counter>INSTRUCTION</counter>
<value>COVEREDRATIO</value>
<minimum>0.67</minimum>
</limit>
<limit implementation="org.codice.jacoco.LenientLimit">
<counter>BRANCH</counter>
<value>COVEREDRATIO</value>
<minimum>0.52</minimum>
</limit>
<limit implementation="org.codice.jacoco.LenientLimit">
<counter>COMPLEXITY</counter>
<value>COVEREDRATIO</value>
<minimum>0.45</minimum>
</limit>
</limits>
</rule>
</rules>
</configuration>
</execution>
</executions>
</plugin>
<plugin>
<groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId>
<configuration>
<instructions>
<Bundle-SymbolicName>${project.artifactId}</Bundle-SymbolicName>
<Embed-Dependency>
ftplet-api,
ftpserver-core,
catalog-core-api-impl,
shiro-core,
commons-beanutils,
commons-lang3,
mina-core
</Embed-Dependency>
<Export-Package />
</instructions>
</configuration>
</plugin>
</plugins>
</build>
</project>
Loading

0 comments on commit a2e2c69

Please sign in to comment.