Compare commits

...
Author SHA1 Message Date
brian.long ef2784696c v2.0.5-jersey pom 2023-06-29 11:52:12 -04:00
brian.long 8f08c1d979 Merge branch 'develop-jersey' into stable-jersey 2023-06-29 11:51:57 -04:00
brian.long 27c43862d7 Merge branch 'develop' into develop-jersey 2023-06-29 11:47:11 -04:00
brian.long d1797eccc9 added connect/read timeout to APS spring config 2023-06-29 11:46:02 -04:00
brian.long 37acf3f4c9 updated common-rest-client to latest version 2023-06-29 11:03:23 -04:00
brian.long fd8c74037d addressing library version conflict 2023-05-30 18:43:42 -04:00
brian.long c758a09926 updated common-rest-client version 2023-05-30 18:26:45 -04:00
brian.long cd237cc929 v2.0.4-jersey pom 2023-05-30 11:19:40 -04:00
brian.long afbbb0f997 Merge branch 'develop-jersey' into stable-jersey 2023-05-30 11:18:44 -04:00
brian.long a59757ce02 Merge branch 'develop' into develop-jersey 2023-05-30 11:07:00 -04:00
brian.long 2f1dda9644 upgraded common-rest-client 2023-05-30 11:04:10 -04:00
brian.long 8543001da2 upgraded common-rest-client; requiring jersey media; optional jersey hk2 2023-05-30 11:03:32 -04:00
brian.long f2f12e1b1f Merge branch 'develop-jersey' into stable-jersey 2023-05-28 13:21:38 -04:00
brian.long b8381ed006 fixed jersey test compile 2023-05-28 13:21:26 -04:00
brian.long be02e86d7d v2.0.3-jersey pom 2023-05-28 13:17:21 -04:00
brian.long 537d9c773d Merge branch 'develop-jersey' into stable-jersey 2023-05-28 13:16:27 -04:00
brian.long 712058d328 upgraded jersey version 2023-05-28 12:56:05 -04:00
brian.long e9dacca5f7 Merge branch 'develop' into develop-jersey 2023-05-28 12:55:30 -04:00
brian.long 28ef4ea714 upgraded dependency/plugin versions 2023-05-28 12:46:26 -04:00
brian.long cae201d3ef point to 2.0-SNAPSHOT of API lib 2023-01-19 21:58:40 +00:00
3 changed files with 43 additions and 14 deletions
+18 -13
View File
@@ -5,7 +5,7 @@
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>aps-public-rest-client</artifactId>
<version>2.0.2-jersey</version>
<version>2.0.5-jersey</version>
<name>Alfresco Process Services ReST API Client for Java</name>
<description>An APS Client library for building Jersey-based REST API clients</description>
@@ -42,23 +42,22 @@
<maven.compiler.target>8</maven.compiler.target>
<maven.compiler.debuglevel>lines,vars,source</maven.compiler.debuglevel>
<aps.app.tag>aps1</aps.app.tag>
<junit.version>5.7.2</junit.version>
<spring.version>5.2.14.RELEASE</spring.version>
<jersey.version>2.35</jersey.version>
<spring.version>5.3.6</spring.version>
<jersey.version>2.39.1</jersey.version>
<jackson.version>2.15.1</jackson.version>
</properties>
<dependencies>
<dependency>
<groupId>com.inteligr8</groupId>
<artifactId>common-rest-client</artifactId>
<version>2.0.1-jersey</version>
<version>2.0.8-jersey</version>
</dependency>
<dependency>
<groupId>com.inteligr8.alfresco</groupId>
<artifactId>aps-public-rest-api</artifactId>
<version>2.0.3-${aps.app.tag}</version>
<version>2.0.8</version>
<scope>provided</scope> <!-- explicitly, bring your own version -->
</dependency>
<dependency>
@@ -76,13 +75,13 @@
<dependency>
<groupId>org.apache.httpcomponents</groupId>
<artifactId>httpclient</artifactId>
<version>4.5.9</version>
<version>4.5.14</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.apache.logging.log4j</groupId>
<artifactId>log4j-slf4j-impl</artifactId>
<version>2.17.2</version>
<version>2.19.0</version>
<scope>test</scope>
</dependency>
@@ -91,13 +90,19 @@
<groupId>org.glassfish.jersey.inject</groupId>
<artifactId>jersey-hk2</artifactId>
<version>${jersey.version}</version>
<scope>test</scope>
<optional>true</optional>
</dependency>
<dependency>
<groupId>org.glassfish.jersey.media</groupId>
<artifactId>jersey-media-json-jackson</artifactId>
<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>
</dependencies>
@@ -130,7 +135,7 @@
</plugin>
<plugin>
<artifactId>maven-surefire-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.1.0</version>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
@@ -141,7 +146,7 @@
</plugin>
<plugin>
<artifactId>maven-failsafe-plugin</artifactId>
<version>3.0.0-M5</version>
<version>3.1.0</version>
<dependencies>
<dependency>
<groupId>org.junit.jupiter</groupId>
@@ -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;
}
@@ -148,5 +154,23 @@ public abstract class ApsClientConfiguration implements ClientConfiguration {
public void setOAuthPassword(String 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;
}
}
@@ -25,7 +25,7 @@ import org.springframework.test.context.TestPropertySource;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
import com.inteligr8.alfresco.activiti.model.GroupLight;
import com.inteligr8.alfresco.activiti.model.ResultList;
import com.inteligr8.activiti.model.ResultList;
import com.inteligr8.alfresco.activiti.model.UserLight;
import com.inteligr8.rs.ClientConfiguration;