Browse Source

Fixed changelog and version

feature/20627
Luca Frosini 2 years ago
parent
commit
93d0d72670
  1. 5
      CHANGELOG.md
  2. 4
      pom.xml
  3. 2
      src/main/java/org/gcube/gcat/client/Group.java
  4. 2
      src/main/java/org/gcube/gcat/client/Item.java
  5. 2
      src/main/java/org/gcube/gcat/client/Organization.java
  6. 2
      src/main/java/org/gcube/gcat/client/Profile.java

5
CHANGELOG.md

@ -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

4
pom.xml

@ -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>

2
src/main/java/org/gcube/gcat/client/Group.java

@ -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 {

2
src/main/java/org/gcube/gcat/client/Item.java

@ -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 {

2
src/main/java/org/gcube/gcat/client/Organization.java

@ -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 {

2
src/main/java/org/gcube/gcat/client/Profile.java

@ -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