Compare commits
13 Commits
v2.0.3-cxf
...
v3.0.0.cxf
Author | SHA1 | Date | |
---|---|---|---|
eacbcaae30 | |||
5a509eeb82 | |||
085da3e180 | |||
cf7f30328d | |||
af43f12d72 | |||
49a3255e4d | |||
d1797eccc9 | |||
37acf3f4c9 | |||
c758a09926 | |||
d8a365eb37 | |||
d8aa8253c4 | |||
5ab46e19ac | |||
2f1dda9644 |
19
pom.xml
19
pom.xml
@@ -5,7 +5,7 @@
|
||||
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>aps-public-rest-client</artifactId>
|
||||
<version>2.0.3-cxf</version>
|
||||
<version>3.0.0-cxf</version>
|
||||
|
||||
<name>Alfresco Process Services ReST API Client for Java</name>
|
||||
<description>An APS Client library for building CXF-based REST API clients</description>
|
||||
@@ -38,25 +38,26 @@
|
||||
|
||||
<properties>
|
||||
<project.build.sourceEncoding>utf-8</project.build.sourceEncoding>
|
||||
<maven.compiler.source>8</maven.compiler.source>
|
||||
<maven.compiler.target>8</maven.compiler.target>
|
||||
<maven.compiler.source>11</maven.compiler.source>
|
||||
<maven.compiler.target>11</maven.compiler.target>
|
||||
<maven.compiler.release>11</maven.compiler.release>
|
||||
<maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
|
||||
|
||||
<junit.version>5.7.2</junit.version>
|
||||
<spring.version>5.3.6</spring.version>
|
||||
<cxf.version>3.5.6</cxf.version>
|
||||
<junit.version>5.10.0</junit.version>
|
||||
<spring.version>6.0.19</spring.version>
|
||||
<cxf.version>4.0.2</cxf.version>
|
||||
</properties>
|
||||
|
||||
<dependencies>
|
||||
<dependency>
|
||||
<groupId>com.inteligr8</groupId>
|
||||
<artifactId>common-rest-client</artifactId>
|
||||
<version>2.0.1-cxf</version>
|
||||
<version>3.0.0-cxf</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.inteligr8.alfresco</groupId>
|
||||
<artifactId>aps-public-rest-api</artifactId>
|
||||
<version>2.0.8</version>
|
||||
<version>3.0.0</version>
|
||||
<scope>provided</scope> <!-- explicitly, bring your own version -->
|
||||
</dependency>
|
||||
<dependency>
|
||||
@@ -80,7 +81,7 @@
|
||||
<dependency>
|
||||
<groupId>org.apache.logging.log4j</groupId>
|
||||
<artifactId>log4j-slf4j-impl</artifactId>
|
||||
<version>2.19.0</version>
|
||||
<version>2.20.0</version>
|
||||
<scope>test</scope>
|
||||
</dependency>
|
||||
|
||||
|
@@ -61,6 +61,12 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
|
||||
@Value("${process.service.security.oauth.grantPassword:#{null}}")
|
||||
private String oAuthPassword;
|
||||
|
||||
@Value("${process.service.http.connectTimeout:#{null}}")
|
||||
private Integer connectTimeoutInMillis;
|
||||
|
||||
@Value("${process.service.http.responseTimeout:#{null}}")
|
||||
private Integer responseTimeoutInMillis;
|
||||
|
||||
public String getBaseUrl() {
|
||||
return this.baseUrl;
|
||||
}
|
||||
@@ -149,4 +155,22 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
|
||||
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