Removed owner_org from the read item refs #20919
This commit is contained in:
parent
bbf1755f72
commit
dbefb6c6e2
|
@ -2,6 +2,10 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
|
||||
# Changelog for gCube Catalogue (gCat) Service
|
||||
|
||||
## [v1.4.5-SNAPSHOT]
|
||||
|
||||
- Removed 'owner_org' field from result when reading an item #20919
|
||||
|
||||
|
||||
## [v1.4.4]
|
||||
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -12,7 +12,7 @@
|
|||
<groupId>org.gcube.data-publishing</groupId>
|
||||
<artifactId>gcat</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>1.4.4</version>
|
||||
<version>1.4.5-SNAPSHOT</version>
|
||||
<name>gCube Catalogue (gCat) Service</name>
|
||||
<description>
|
||||
This service allows any client to publish on the gCube Catalogue.
|
||||
|
|
|
@ -569,6 +569,21 @@ public class CKANPackage extends CKAN {
|
|||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
public String read() {
|
||||
try {
|
||||
String ret = super.read();
|
||||
result = mapper.readTree(ret);
|
||||
result = cleanResult(result);
|
||||
return getAsString(result);
|
||||
} catch(WebApplicationException e) {
|
||||
throw e;
|
||||
} catch(Exception e) {
|
||||
throw new InternalServerErrorException(e);
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
// see http://docs.ckan.org/en/latest/api/#ckan.logic.action.create.package_create
|
||||
@Override
|
||||
public String create(String json) {
|
||||
|
|
Loading…
Reference in New Issue