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:
parent
40413be914
commit
1a0f61e437
|
@ -228,6 +228,8 @@ public class GrsfPublisherFisheryService {
|
||||||
|
|
||||||
long version = record.getVersion() == null ? 1 : record.getVersion();
|
long version = record.getVersion() == null ? 1 : record.getVersion();
|
||||||
|
|
||||||
|
logger.info("Invoking creation method..");
|
||||||
|
|
||||||
// create the product
|
// create the product
|
||||||
id = catalogue.createCKanDatasetMultipleCustomFields(
|
id = catalogue.createCKanDatasetMultipleCustomFields(
|
||||||
catalogue.getApiKeyFromUsername(username),
|
catalogue.getApiKeyFromUsername(username),
|
||||||
|
@ -277,7 +279,7 @@ public class GrsfPublisherFisheryService {
|
||||||
}
|
}
|
||||||
// }
|
// }
|
||||||
}catch(Exception e){
|
}catch(Exception e){
|
||||||
logger.error("Failed to create fishery record", e);
|
logger.error("Failed to create fishery record" + e);
|
||||||
responseBean.setError(e.getMessage());
|
responseBean.setError(e.getMessage());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -218,6 +218,8 @@ public class GrsfPublisherStockService {
|
||||||
else throw new Exception("Please check the license id!");
|
else throw new Exception("Please check the license id!");
|
||||||
|
|
||||||
long version = record.getVersion() == null ? 1 : record.getVersion();
|
long version = record.getVersion() == null ? 1 : record.getVersion();
|
||||||
|
|
||||||
|
logger.info("Invoking creation method..");
|
||||||
|
|
||||||
// create the product
|
// create the product
|
||||||
String id = catalogue.createCKanDatasetMultipleCustomFields(
|
String id = catalogue.createCKanDatasetMultipleCustomFields(
|
||||||
|
|
Loading…
Reference in New Issue