Compare commits
13 Commits
v2.0.4-jer
...
v2.0.5
Author | SHA1 | Date | |
---|---|---|---|
5cce720728 | |||
097bb909be | |||
d1797eccc9 | |||
37acf3f4c9 | |||
c758a09926 | |||
9b565aa0db | |||
d4cd9ec777 | |||
7cdbfcb62b | |||
a13e2c7125 | |||
e3c26240c9 | |||
7f0b0562bd | |||
eb8e751ca6 | |||
e59a6fabb0 |
6
pom.xml
6
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
<artifactId>aps-public-rest-client</artifactId>
|
<artifactId>aps-public-rest-client</artifactId>
|
||||||
<version>2.0-SNAPSHOT</version>
|
<version>2.0.5</version>
|
||||||
|
|
||||||
<name>Alfresco Process Services ReST API Client for Java</name>
|
<name>Alfresco Process Services ReST API Client for Java</name>
|
||||||
<description>An APS Client library for building REST API clients that support either the CXF and Jersey frameworks</description>
|
<description>An APS Client library for building REST API clients that support either the CXF and Jersey frameworks</description>
|
||||||
@@ -50,12 +50,12 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8</groupId>
|
<groupId>com.inteligr8</groupId>
|
||||||
<artifactId>common-rest-client</artifactId>
|
<artifactId>common-rest-client</artifactId>
|
||||||
<version>2.0.2</version>
|
<version>2.0.8</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
<artifactId>aps-public-rest-api</artifactId>
|
<artifactId>aps-public-rest-api</artifactId>
|
||||||
<version>2.0-SNAPSHOT</version>
|
<version>2.0.8</version>
|
||||||
<scope>provided</scope> <!-- explicitly, bring your own version -->
|
<scope>provided</scope> <!-- explicitly, bring your own version -->
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
|
@@ -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