Fixed changelog and version

master
Luca Frosini 3 years ago
parent df79f6fcee
commit 93d0d72670

@ -3,9 +3,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for gCube Catalogue (gCat) Client
## [v2.0.0-SNAPSHOT] [r5.0.0] -
## [v1.2.2-SNAPSHOT]
- Switched JSON management to gcube-jackson [#19735]
- Added count method for Item collection [#20627]
- Added count method for Organization, Group and Profile collection [#20629]
## [v1.2.1] [r4.18.0] - 2019-12-20

@ -9,7 +9,7 @@
</parent>
<groupId>org.gcube.data-catalogue</groupId>
<artifactId>gcat-client</artifactId>
<version>2.0.0-SNAPSHOT</version>
<version>1.2.2-SNAPSHOT</version>
<name>gCube Catalogue (gCat) Client</name>
<description>gCube Catalogue (gCat) Client is a library designed to interact with gCat Service exposed REST API</description>
@ -41,7 +41,7 @@
<dependency>
<groupId>org.gcube.data-catalogue</groupId>
<artifactId>gcat-api</artifactId>
<version>[2.0.0-SNAPSHOT,3.0.0-SNAPSHOT)</version>
<version>[1.2.2-SNAPSHOT,2.0.0-SNAPSHOT)</version>
</dependency>
<dependency>
<groupId>org.gcube.resources.discovery</groupId>

@ -28,7 +28,7 @@ public class Group extends GCatClient implements org.gcube.gcat.api.interfaces.G
@Override
public int count() throws WebServiceException {
Map<String, String> queryParams = new HashMap<>();
queryParams.put(GCatConstants.COUNT_ONLY_PARAMETER, String.valueOf(true));
queryParams.put(GCatConstants.COUNT_PARAMETER, String.valueOf(true));
String ret = this.list(queryParams);
ObjectMapper objectMapper = new ObjectMapper();
try {

@ -28,7 +28,7 @@ public class Item extends GCatClient implements org.gcube.gcat.api.interfaces.It
@Override
public int count() throws WebServiceException {
Map<String, String> queryParams = new HashMap<>();
queryParams.put(GCatConstants.COUNT_ONLY_PARAMETER, String.valueOf(true));
queryParams.put(GCatConstants.COUNT_PARAMETER, String.valueOf(true));
String ret = this.list(queryParams);
ObjectMapper objectMapper = new ObjectMapper();
try {

@ -28,7 +28,7 @@ public class Organization extends GCatClient implements org.gcube.gcat.api.inter
@Override
public int count() throws WebServiceException {
Map<String, String> queryParams = new HashMap<>();
queryParams.put(GCatConstants.COUNT_ONLY_PARAMETER, String.valueOf(true));
queryParams.put(GCatConstants.COUNT_PARAMETER, String.valueOf(true));
String ret = this.list(queryParams);
ObjectMapper objectMapper = new ObjectMapper();
try {

@ -31,7 +31,7 @@ public class Profile extends GCatClient implements org.gcube.gcat.api.interfaces
@Override
public int count() throws WebServiceException {
Map<String, String> queryParams = new HashMap<>();
queryParams.put(GCatConstants.COUNT_ONLY_PARAMETER, String.valueOf(true));
queryParams.put(GCatConstants.COUNT_PARAMETER, String.valueOf(true));
String ret = this.list(queryParams);
ObjectMapper objectMapper = new ObjectMapper();
try {

Loading…
Cancel
Save