minor fixes

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@135192 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-12-01 18:27:40 +00:00
parent 40413be914
commit 1a0f61e437
2 changed files with 5 additions and 1 deletions

View File

@ -228,6 +228,8 @@ public class GrsfPublisherFisheryService {
long version = record.getVersion() == null ? 1 : record.getVersion();
logger.info("Invoking creation method..");
// create the product
id = catalogue.createCKanDatasetMultipleCustomFields(
catalogue.getApiKeyFromUsername(username),
@ -277,7 +279,7 @@ public class GrsfPublisherFisheryService {
}
// }
}catch(Exception e){
logger.error("Failed to create fishery record", e);
logger.error("Failed to create fishery record" + e);
responseBean.setError(e.getMessage());
}

View File

@ -218,6 +218,8 @@ public class GrsfPublisherStockService {
else throw new Exception("Please check the license id!");
long version = record.getVersion() == null ? 1 : record.getVersion();
logger.info("Invoking creation method..");
// create the product
String id = catalogue.createCKanDatasetMultipleCustomFields(