Compare commits
12
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
ef2784696c | ||
|
|
8f08c1d979 | ||
|
|
27c43862d7 | ||
|
|
d1797eccc9 | ||
|
|
37acf3f4c9 | ||
|
|
fd8c74037d | ||
|
|
c758a09926 | ||
|
|
cd237cc929 | ||
|
|
afbbb0f997 | ||
|
|
a59757ce02 | ||
|
|
2f1dda9644 | ||
|
|
8543001da2 |
@@ -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.3-jersey</version>
|
<version>2.0.5-jersey</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 Jersey-based REST API clients</description>
|
<description>An APS Client library for building Jersey-based REST API clients</description>
|
||||||
@@ -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.1-jersey</version>
|
<version>2.0.8-jersey</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.inteligr8.alfresco</groupId>
|
<groupId>com.inteligr8.alfresco</groupId>
|
||||||
@@ -89,13 +90,19 @@
|
|||||||
<groupId>org.glassfish.jersey.inject</groupId>
|
<groupId>org.glassfish.jersey.inject</groupId>
|
||||||
<artifactId>jersey-hk2</artifactId>
|
<artifactId>jersey-hk2</artifactId>
|
||||||
<version>${jersey.version}</version>
|
<version>${jersey.version}</version>
|
||||||
<scope>test</scope>
|
<optional>true</optional>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.glassfish.jersey.media</groupId>
|
<groupId>org.glassfish.jersey.media</groupId>
|
||||||
<artifactId>jersey-media-json-jackson</artifactId>
|
<artifactId>jersey-media-json-jackson</artifactId>
|
||||||
<version>${jersey.version}</version>
|
<version>${jersey.version}</version>
|
||||||
<scope>test</scope>
|
</dependency>
|
||||||
|
|
||||||
|
<!-- Jersey inclusion fallout -->
|
||||||
|
<dependency>
|
||||||
|
<groupId>com.fasterxml.jackson.core</groupId>
|
||||||
|
<artifactId>jackson-annotations</artifactId>
|
||||||
|
<version>${jackson.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
|
|
||||||
|
|||||||
@@ -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;
|
||||||
}
|
}
|
||||||
@@ -148,5 +154,23 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
|
|||||||
public void setOAuthPassword(String oAuthPassword) {
|
public void setOAuthPassword(String oAuthPassword) {
|
||||||
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