diff options
author | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-04-05 15:13:23 +0200 |
---|---|---|
committer | Bjørn Christian Seime <bjorncs@verizonmedia.com> | 2019-04-05 15:44:47 +0200 |
commit | c6c059fe29ccbd3d711b2b4b067e1f739302e6cb (patch) | |
tree | 7e6d0c0cdfc89cc55cb38bf1ede6ff633c88fe8f /http-utils/pom.xml | |
parent | 66075e902363e44e720a0a825af392f7fd6f444c (diff) |
Add 'http-utils' module with VespaHttpClientBuilder
- Move VespaHttpClientBuilder source code from 'security-utils' to 'http-utils'.
- Improve configuration of connection manager.
- Add static factory for client builder with BasicHttpClientConnectionManager.
- Simplify implementations of ConnectionManagerFactory by improving its interface.
Diffstat (limited to 'http-utils/pom.xml')
-rw-r--r-- | http-utils/pom.xml | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/http-utils/pom.xml b/http-utils/pom.xml new file mode 100644 index 00000000000..aea402aef87 --- /dev/null +++ b/http-utils/pom.xml @@ -0,0 +1,52 @@ +<?xml version="1.0"?> +<!-- Copyright 2019 Oath Inc. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. --> +<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>com.yahoo.vespa</groupId> + <artifactId>parent</artifactId> + <version>7-SNAPSHOT</version> + <relativePath>../parent/pom.xml</relativePath> + </parent> + <artifactId>http-utils</artifactId> + <packaging>jar</packaging> + <version>7-SNAPSHOT</version> + <dependencies> + <!-- provided --> + <dependency> + <groupId>com.yahoo.vespa</groupId> + <artifactId>security-utils</artifactId> + <version>${project.version}</version> + <scope>provided</scope> + </dependency> + + <!-- compile scope --> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpclient</artifactId> + <scope>compile</scope> + </dependency> + <dependency> + <groupId>org.apache.httpcomponents</groupId> + <artifactId>httpcore</artifactId> + <scope>compile</scope> + </dependency> + + <!-- test scope --> + <dependency> + <groupId>junit</groupId> + <artifactId>junit</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.assertj</groupId> + <artifactId>assertj-core</artifactId> + <scope>test</scope> + </dependency> + <dependency> + <groupId>org.mockito</groupId> + <artifactId>mockito-core</artifactId> + <scope>test</scope> + </dependency> + </dependencies> +</project> |