minor fix for description
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@152413 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
359f2fbddd
commit
131a78e989
|
@ -179,7 +179,11 @@ public class GrsfPublisherFisheryService {
|
||||||
if(id != null){
|
if(id != null){
|
||||||
|
|
||||||
logger.info("Created record with identifier " + id);
|
logger.info("Created record with identifier " + id);
|
||||||
String description = "Short Name: " + record.getShortName() + ", GRSF Semantic Identifier: " + record.getFisheryId();
|
String description = "Short Name: " + record.getShortName();
|
||||||
|
|
||||||
|
if(sourceInPath.equals(Sources.GRSF))
|
||||||
|
description += ", GRSF Semantic Identifier: " + record.getFisheryId();
|
||||||
|
|
||||||
CommonServiceUtils.actionsPostCreateOrUpdate(
|
CommonServiceUtils.actionsPostCreateOrUpdate(
|
||||||
id, futureName, record, apiKey, username, organization,
|
id, futureName, record, apiKey, username, organization,
|
||||||
null, responseBean, catalogue, namespaces, groups, context, token, futureTitle, authorFullname,
|
null, responseBean, catalogue, namespaces, groups, context, token, futureTitle, authorFullname,
|
||||||
|
|
|
@ -193,7 +193,11 @@ public class GrsfPublisherStockService {
|
||||||
if(id != null){
|
if(id != null){
|
||||||
|
|
||||||
logger.info("Product created! Id is " + id);
|
logger.info("Product created! Id is " + id);
|
||||||
String description = "Short Name: " + record.getShortName() + ", GRSF Semantic Identifier: " + record.getStockId();
|
String description = "Short Name: " + record.getShortName();
|
||||||
|
|
||||||
|
if(sourceInPath.equals(Sources.GRSF))
|
||||||
|
description += ", GRSF Semantic Identifier: " + record.getStockId();
|
||||||
|
|
||||||
CommonServiceUtils.actionsPostCreateOrUpdate(
|
CommonServiceUtils.actionsPostCreateOrUpdate(
|
||||||
id, futureName, record, apiKey, username, organization, null,
|
id, futureName, record, apiKey, username, organization, null,
|
||||||
responseBean, catalogue, namespaces, groups, context, token,
|
responseBean, catalogue, namespaces, groups, context, token,
|
||||||
|
|
Loading…
Reference in New Issue