Adding support for moderation
This commit is contained in:
parent
f782a87604
commit
395220a652
|
@ -3,6 +3,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
# Changelog for gCube Catalogue (gCat) Client
|
||||
|
||||
|
||||
## [v2.1.0-SNAPSHOT]
|
||||
|
||||
-
|
||||
|
||||
## [v2.0.0]
|
||||
|
||||
- Changed service class
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -9,7 +9,7 @@
|
|||
</parent>
|
||||
<groupId>org.gcube.data-catalogue</groupId>
|
||||
<artifactId>gcat-client</artifactId>
|
||||
<version>2.0.0</version>
|
||||
<version>2.1.0-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>
|
||||
|
||||
|
|
|
@ -75,7 +75,7 @@ public class Item extends GCatClient implements org.gcube.gcat.api.interfaces.It
|
|||
public String create(String json, boolean socialPost) throws WebApplicationException {
|
||||
try {
|
||||
Map<String,String> queryParams = new HashMap<>();
|
||||
queryParams.put(GCatConstants.SOCIAL_POST_PARAMETER, String.valueOf(socialPost));
|
||||
queryParams.put(GCatConstants.SOCIAL_POST_QUERY_PARAMETER, String.valueOf(socialPost));
|
||||
return super.create(json, queryParams);
|
||||
}catch (WebApplicationException e) {
|
||||
throw e;
|
||||
|
|
Loading…
Reference in New Issue