Skip to content

Commit

Permalink
NIFI-4806 updated tika and a ton of other deps as found by dependency…
Browse files Browse the repository at this point in the history
… versions plugin

This closes #3028
  • Loading branch information
joewitt authored and mcgilman committed Oct 4, 2018
1 parent de685a7 commit 8e233ca
Show file tree
Hide file tree
Showing 100 changed files with 237 additions and 226 deletions.
Empty file modified nifi-bootstrap/src/test/resources/localhost-ks.jks
100755 → 100644
Empty file.
Empty file modified nifi-bootstrap/src/test/resources/localhost-ts.jks
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion nifi-commons/nifi-data-provenance-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.59</version>
<version>1.60</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
6 changes: 3 additions & 3 deletions nifi-commons/nifi-expression-language/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -81,12 +81,12 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
<version>2.9.7</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<artifactId>commons-text</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@

import java.util.Map;

import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.lang3.text.translate.CharSequenceTranslator;
import org.apache.commons.text.StringEscapeUtils;
import org.apache.commons.text.translate.CharSequenceTranslator;
import org.apache.nifi.attribute.expression.language.evaluation.Evaluator;
import org.apache.nifi.attribute.expression.language.evaluation.QueryResult;
import org.apache.nifi.attribute.expression.language.evaluation.StringEvaluator;
Expand Down
9 changes: 7 additions & 2 deletions nifi-commons/nifi-flowfile-packager/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,17 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-compress</artifactId>
<version>1.16.1</version>
<version>1.18</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

import org.apache.commons.compress.archivers.tar.TarArchiveEntry;
import org.apache.commons.compress.archivers.tar.TarArchiveOutputStream;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.text.StringEscapeUtils;

public class FlowFilePackagerV1 implements FlowFilePackager {

Expand Down
18 changes: 9 additions & 9 deletions nifi-commons/nifi-hl7-query-language/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -65,47 +65,47 @@
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-base</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v21</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v22</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v23</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v231</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v24</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v25</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v251</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
<dependency>
<groupId>ca.uhn.hapi</groupId>
<artifactId>hapi-structures-v26</artifactId>
<version>2.2</version>
<version>2.3</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@
import ca.uhn.hl7v2.model.ExtraComponents;
import ca.uhn.hl7v2.model.Primitive;
import ca.uhn.hl7v2.model.Type;
import ca.uhn.hl7v2.model.Varies;
import ca.uhn.hl7v2.parser.EncodingCharacters;
import ca.uhn.hl7v2.parser.PipeParser;

Expand Down Expand Up @@ -59,8 +58,7 @@ public HapiField(final Type type) {
componentList.add(new SingleValueField(singleFieldValue));

for (int i = 0; i < extra.numComponents(); i++) {
final Varies varies = extra.getComponent(i);
componentList.add(new HapiField(varies));
componentList.add(new HapiField(extra.getComponent(i)));
}
}

Expand Down
2 changes: 1 addition & 1 deletion nifi-commons/nifi-json-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
<version>2.9.7</version>
<scope>compile</scope>
</dependency>
</dependencies>
Expand Down
2 changes: 1 addition & 1 deletion nifi-commons/nifi-schema-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
6 changes: 3 additions & 3 deletions nifi-commons/nifi-security-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Expand All @@ -54,12 +54,12 @@
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcprov-jdk15on</artifactId>
<version>1.59</version>
<version>1.60</version>
</dependency>
<dependency>
<groupId>org.bouncycastle</groupId>
<artifactId>bcpkix-jdk15on</artifactId>
<version>1.59</version>
<version>1.60</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
4 changes: 2 additions & 2 deletions nifi-commons/nifi-site-to-site-client/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -48,12 +48,12 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
<version>2.9.7</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
2 changes: 1 addition & 1 deletion nifi-commons/nifi-socket-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>commons-io</groupId>
Expand Down
10 changes: 2 additions & 8 deletions nifi-commons/nifi-web-utils/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<artifactId>nifi-web-utils</artifactId>
<properties>
<jersey.version>2.26</jersey.version>
<jackson.version>2.9.5</jackson.version>
<jackson.version>2.9.7</jackson.version>
</properties>
<dependencies>
<dependency>
Expand All @@ -39,7 +39,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.core</groupId>
Expand Down Expand Up @@ -91,12 +91,6 @@
<version>4.5.6</version>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.6</version>
<scope>compile</scope>
</dependency>
</dependencies>
<build>
<plugins>
Expand Down
2 changes: 1 addition & 1 deletion nifi-external/nifi-spark-receiver/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
<version>2.9.7</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion nifi-external/nifi-storm-spout/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ language governing permissions and limitations under the License. -->
<packaging>jar</packaging>

<properties>
<amqp-client.version>5.2.0</amqp-client.version>
<amqp-client.version>5.4.1</amqp-client.version>
</properties>

<dependencies>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,7 @@ private void updateEntityByNotification(AtlasEntity entity) {
final Object r;
switch (k) {
case "inputs":
case "outputs":
{
case "outputs": {
// If a reference doesn't have guid, then find it.
r = resolveIOReference(v);
}
Expand Down Expand Up @@ -211,7 +210,7 @@ private void createServer() throws Exception {
httpConnector = new ServerConnector(server);
httpConnector.setPort(21000);

server.setConnectors(new Connector[] {httpConnector});
server.setConnectors(new Connector[]{httpConnector});

servletHandler.addServletWithMapping(TypeDefsServlet.class, "/types/typedefs/");
servletHandler.addServletWithMapping(EntityBulkServlet.class, "/entity/bulk/");
Expand Down Expand Up @@ -334,6 +333,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
public static class EntityGuidServlet extends HttpServlet {

private static Pattern URL_PATTERN = Pattern.compile(".+/guid/([^/]+)");

@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
final Matcher matcher = URL_PATTERN.matcher(req.getRequestURI());
Expand All @@ -358,6 +358,7 @@ private static AtlasEntity.AtlasEntityWithExtInfo createSearchResult(AtlasEntity
public static class SearchByUniqueAttributeServlet extends HttpServlet {

private static Pattern URL_PATTERN = Pattern.compile(".+/uniqueAttribute/type/([^/]+)");

@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
// http://localhost:21000/api/atlas/v2/entity/uniqueAttribute/type/nifi_flow_path?attr:qualifiedName=2e9a2852-228f-379b-0000-000000000000@example
Expand Down Expand Up @@ -479,7 +480,6 @@ private void traverse(Set<AtlasEntity> seen, AtlasEntity s, List<Link> links, Ma
}
}


// Traverse entities those consume this entity as their input.
final List<AtlasEntity> outGoings = Stream.of(outgoingEntities.getOrDefault(toTypedQname(s), Collections.emptyList()),
outgoingEntities.getOrDefault(s.getGuid(), Collections.emptyList())).flatMap(List::stream).collect(Collectors.toList());
Expand Down Expand Up @@ -567,7 +567,6 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
traverse(seen, s, links, nodeIndices, outgoingEntities);
});


}
}

Expand Down Expand Up @@ -596,7 +595,7 @@ protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se
// Group links by its target, and configure each weight value.
// E.g. 1 -> 3 and 2 -> 3, then 1 (0.5) -> 3 and 2 (0.5) -> 3.
ls.stream().collect(Collectors.groupingBy(Link::getTarget))
.forEach((t, ls2SameTgt) -> ls2SameTgt.forEach(l -> l.setValue(1.0 / (double) ls2SameTgt.size())));
.forEach((t, ls2SameTgt) -> ls2SameTgt.forEach(l -> l.setValue(1.0 / (double) ls2SameTgt.size())));
}
});

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ language governing permissions and limitations under the License. -->
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.avro</groupId>
Expand All @@ -44,7 +44,7 @@ language governing permissions and limitations under the License. -->
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.9.5</version>
<version>2.9.7</version>
</dependency>
<dependency>
<groupId>commons-codec</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.7</version>
<version>3.8.1</version>
</dependency>
<dependency>
<groupId>org.apache.nifi</groupId>
Expand Down
2 changes: 1 addition & 1 deletion nifi-nar-bundles/nifi-aws-bundle/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<packaging>pom</packaging>

<properties>
<aws-java-sdk-version>1.11.319</aws-java-sdk-version>
<aws-java-sdk-version>1.11.412</aws-java-sdk-version>
</properties>

<dependencyManagement>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,5 +79,10 @@
<artifactId>nifi-mock-record-utils</artifactId>
<version>1.8.0-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-text</artifactId>
<version>1.4</version>
</dependency>
</dependencies>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
import org.apache.avro.generic.GenericDatumWriter;
import org.apache.avro.generic.GenericRecord;
import org.apache.avro.io.DatumWriter;
import org.apache.commons.lang3.StringEscapeUtils;
import org.apache.commons.text.StringEscapeUtils;
import org.apache.commons.lang3.StringUtils;
import org.apache.nifi.annotation.behavior.EventDriven;
import org.apache.nifi.annotation.behavior.InputRequirement;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-jexl3</artifactId>
<version>3.0</version>
<version>3.1</version>
</dependency>
<dependency>
<groupId>org.openehealth.ipf.oht.mdht</groupId>
Expand Down
Loading

0 comments on commit 8e233ca

Please sign in to comment.