Merge branch 'develop-jersey' into stable-jersey
This commit is contained in:
@@ -45,13 +45,14 @@
|
|||||||
<junit.version>5.7.2</junit.version>
|
<junit.version>5.7.2</junit.version>
|
||||||
<spring.version>5.3.6</spring.version>
|
<spring.version>5.3.6</spring.version>
|
||||||
<jersey.version>2.39.1</jersey.version>
|
<jersey.version>2.39.1</jersey.version>
|
||||||
|
<jackson.version>2.15.1</jackson.version>
|
||||||
</properties>
|
</properties>
|
||||||
|
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>common-rest-client</artifactId>
|
<artifactId>common-rest-client</artifactId>
|
||||||
<version>2.0.2-jersey</version>
|
<version>2.0.8-jersey</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
@@ -96,6 +97,13 @@
|
|||||||
<artifactId>jersey-media-json-jackson</artifactId>
|
<artifactId>jersey-media-json-jackson</artifactId>
|
||||||
<version>${jersey.version}</version>
|
<version>${jersey.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Jersey inclusion fallout -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-annotations</artifactId>
|
||||||
|
<version>${jackson.version}</version>
|
||||||
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
<build>
|
<build>
|
||||||
|
|||||||
@@ -61,6 +61,12 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
|
|||||||
@Value("${process.service.security.oauth.grantPassword:#{null}}")
|
@Value("${process.service.security.oauth.grantPassword:#{null}}")
|
||||||
private String oAuthPassword;
|
private String oAuthPassword;
|
||||||
|
|
||||||
|
@Value("${process.service.http.connectTimeout:#{null}}")
|
||||||
|
private Integer connectTimeoutInMillis;
|
||||||
|
|
||||||
|
@Value("${process.service.http.responseTimeout:#{null}}")
|
||||||
|
private Integer responseTimeoutInMillis;
|
||||||
|
|
||||||
public String getBaseUrl() {
|
public String getBaseUrl() {
|
||||||
return this.baseUrl;
|
return this.baseUrl;
|
||||||
}
|
}
|
||||||
@@ -149,4 +155,22 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
|
|||||||
this.oAuthPassword = oAuthPassword;
|
this.oAuthPassword = oAuthPassword;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Integer getConnectTimeoutInMillis() {
|
||||||
|
return this.connectTimeoutInMillis;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setConnectTimeoutInMillis(Integer connectTimeoutInMillis) {
|
||||||
|
this.connectTimeoutInMillis = connectTimeoutInMillis;
|
||||||
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public Integer getResponseTimeoutInMillis() {
|
||||||
|
return this.responseTimeoutInMillis;
|
||||||
|
}
|
||||||
|
|
||||||
|
public void setResponseTimeoutInMillis(Integer responseTimeoutInMillis) {
|
||||||
|
this.responseTimeoutInMillis = responseTimeoutInMillis;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user