Skip to content

Commit

Permalink
chore(deps): prepare release 1.4.0 (#38)
Browse files Browse the repository at this point in the history
  • Loading branch information
arnaud-thorel-of authored Jul 24, 2024
1 parent 7baecde commit 3b030b5
Show file tree
Hide file tree
Showing 5 changed files with 23 additions and 13 deletions.
6 changes: 3 additions & 3 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

<groupId>fr.ouestfrance.querydsl</groupId>
<artifactId>querydsl-postgrest-bom</artifactId>
<version>1.3.5-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
<packaging>pom</packaging>
<name>querydsl-postgrest-bom</name>
<description>Implementation of unified queryDSL for postgRest API</description>
Expand Down Expand Up @@ -66,7 +66,7 @@
<dependency>
<groupId>org.junit.jupiter</groupId>
<artifactId>junit-jupiter</artifactId>
<version>5.10.1</version>
<version>5.10.3</version>
<scope>test</scope>
</dependency>
<dependency>
Expand All @@ -78,7 +78,7 @@
<dependency>
<groupId>org.mockito</groupId>
<artifactId>mockito-junit-jupiter</artifactId>
<version>5.7.0</version>
<version>5.12.0</version>
<scope>test</scope>
</dependency>
</dependencies>
Expand Down
8 changes: 4 additions & 4 deletions querydsl-postgrest-resttemplate-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>fr.ouestfrance.querydsl</groupId>
<artifactId>querydsl-postgrest-bom</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.3.5-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
</parent>

<artifactId>querydsl-postgrest-resttemplate-adapter</artifactId>
Expand All @@ -20,17 +20,17 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-web</artifactId>
<version>6.1.5</version>
<version>6.1.11</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
<version>3.15.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.0</version>
<version>2.17.2</version>
</dependency>
<dependency>
<groupId>org.apache.httpcomponents.client5</groupId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,13 @@ public class PostgrestRestTemplate implements PostgrestClient {

private final String baseUrl;

/**
* Default RestTemplate constructor
*
* @param restTemplate restTemplate
* @param baseUrl baseUrl of postgrest
* @return concrete client
*/
public static PostgrestRestTemplate of(RestTemplate restTemplate, String baseUrl) {
return new PostgrestRestTemplate(restTemplate, baseUrl);
}
Expand Down Expand Up @@ -91,6 +98,7 @@ public List<CountItem> count(String resource, Map<String, List<String>> map) {

/**
* Convert map to MultiValueMap
*
* @param params map
* @return MultiValueMap
*/
Expand All @@ -100,6 +108,7 @@ private static MultiValueMap<String, String> toMultiMap(Map<String, List<String>

/**
* Convert map to HttpHeaders
*
* @param headers map
* @return HttpHeaders
*/
Expand All @@ -109,8 +118,9 @@ private static HttpHeaders toHeaders(Map<String, List<String>> headers) {

/**
* Get URI from resource and params
*
* @param resource resource
* @param params params
* @param params params
* @return URI
*/
private URI getUri(String resource, Map<String, List<String>> params) {
Expand Down
8 changes: 4 additions & 4 deletions querydsl-postgrest-webclient-adapter/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>fr.ouestfrance.querydsl</groupId>
<artifactId>querydsl-postgrest-bom</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.3.5-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
</parent>

<artifactId>querydsl-postgrest-webclient-adapter</artifactId>
Expand All @@ -20,17 +20,17 @@
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-webflux</artifactId>
<version>6.1.5</version>
<version>6.1.11</version>
</dependency>
<dependency>
<groupId>org.apache.commons</groupId>
<artifactId>commons-lang3</artifactId>
<version>3.14.0</version>
<version>3.15.0</version>
</dependency>
<dependency>
<groupId>com.fasterxml.jackson.core</groupId>
<artifactId>jackson-databind</artifactId>
<version>2.17.0</version>
<version>2.17.2</version>
</dependency>
</dependencies>
</project>
2 changes: 1 addition & 1 deletion querydsl-postgrest/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
<groupId>fr.ouestfrance.querydsl</groupId>
<artifactId>querydsl-postgrest-bom</artifactId>
<relativePath>../pom.xml</relativePath>
<version>1.3.5-SNAPSHOT</version>
<version>1.4.0-SNAPSHOT</version>
</parent>

<artifactId>querydsl-postgrest</artifactId>
Expand Down

0 comments on commit 3b030b5

Please sign in to comment.