Fixed changelog and version
This commit is contained in:
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
|
# 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
|
## [v1.2.1] [r4.18.0] - 2019-12-20
|
||||||
|
|
4
pom.xml
4
pom.xml
|
@ -9,7 +9,7 @@
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>org.gcube.data-catalogue</groupId>
|
<groupId>org.gcube.data-catalogue</groupId>
|
||||||
<artifactId>gcat-client</artifactId>
|
<artifactId>gcat-client</artifactId>
|
||||||
<version>2.0.0-SNAPSHOT</version>
|
<version>1.2.2-SNAPSHOT</version>
|
||||||
<name>gCube Catalogue (gCat) Client</name>
|
<name>gCube Catalogue (gCat) Client</name>
|
||||||
<description>gCube Catalogue (gCat) Client is a library designed to interact with gCat Service exposed REST API</description>
|
<description>gCube Catalogue (gCat) Client is a library designed to interact with gCat Service exposed REST API</description>
|
||||||
|
|
||||||
|
@ -41,7 +41,7 @@
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.data-catalogue</groupId>
|
<groupId>org.gcube.data-catalogue</groupId>
|
||||||
<artifactId>gcat-api</artifactId>
|
<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>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.gcube.resources.discovery</groupId>
|
<groupId>org.gcube.resources.discovery</groupId>
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Group extends GCatClient implements org.gcube.gcat.api.interfaces.G
|
||||||
@Override
|
@Override
|
||||||
public int count() throws WebServiceException {
|
public int count() throws WebServiceException {
|
||||||
Map<String, String> queryParams = new HashMap<>();
|
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);
|
String ret = this.list(queryParams);
|
||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Item extends GCatClient implements org.gcube.gcat.api.interfaces.It
|
||||||
@Override
|
@Override
|
||||||
public int count() throws WebServiceException {
|
public int count() throws WebServiceException {
|
||||||
Map<String, String> queryParams = new HashMap<>();
|
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);
|
String ret = this.list(queryParams);
|
||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -28,7 +28,7 @@ public class Organization extends GCatClient implements org.gcube.gcat.api.inter
|
||||||
@Override
|
@Override
|
||||||
public int count() throws WebServiceException {
|
public int count() throws WebServiceException {
|
||||||
Map<String, String> queryParams = new HashMap<>();
|
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);
|
String ret = this.list(queryParams);
|
||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
try {
|
try {
|
||||||
|
|
|
@ -31,7 +31,7 @@ public class Profile extends GCatClient implements org.gcube.gcat.api.interfaces
|
||||||
@Override
|
@Override
|
||||||
public int count() throws WebServiceException {
|
public int count() throws WebServiceException {
|
||||||
Map<String, String> queryParams = new HashMap<>();
|
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);
|
String ret = this.list(queryParams);
|
||||||
ObjectMapper objectMapper = new ObjectMapper();
|
ObjectMapper objectMapper = new ObjectMapper();
|
||||||
try {
|
try {
|
||||||
|
|
Loading…
Reference in New Issue