diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherFisheryService.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherFisheryService.java index 5ca3ee3..764f429 100644 --- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherFisheryService.java +++ b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherFisheryService.java @@ -211,7 +211,7 @@ public class GrsfPublisherFisheryService { String description = Constants.SHORT_NAME_CUSTOM_KEY + ": " + record.getShortName() + "\n"; if(sourceInPath.equals(Sources.GRSF)) - description += ", " + Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getFisheryId() + "\n"; + description += Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getFisheryId() + "\n"; CommonServiceUtils.actionsPostCreateOrUpdate( id, futureName, record, apiKey, username, organization, @@ -529,7 +529,7 @@ public class GrsfPublisherFisheryService { String description = Constants.SHORT_NAME_CUSTOM_KEY + ": " + record.getShortName() + "\n"; if(sourceInPath.equals(Sources.GRSF)) - description += ", " + Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getFisheryId() + "\n"; + description += Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getFisheryId() + "\n"; CommonServiceUtils.actionsPostCreateOrUpdate( id, name, record, apiKey, username, organization, diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherStockService.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherStockService.java index 05a41ec..93e17af 100644 --- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherStockService.java +++ b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/services/GrsfPublisherStockService.java @@ -210,7 +210,7 @@ public class GrsfPublisherStockService { String description = Constants.SHORT_NAME_CUSTOM_KEY + ": " + record.getShortName() + "\n"; if(sourceInPath.equals(Sources.GRSF)) - description += ", " + Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getStockId() + "\n"; + description += Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getStockId() + "\n"; CommonServiceUtils.actionsPostCreateOrUpdate( id, futureName, record, apiKey, username, organization, null, @@ -526,7 +526,7 @@ public class GrsfPublisherStockService { String description = Constants.SHORT_NAME_CUSTOM_KEY + ": " + record.getShortName() + "\n"; if(sourceInPath.equals(Sources.GRSF)) - description += ", " + Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getStockId() + "\n"; + description += Constants.GRSF_SEMANTIC_IDENTIFIER_CUSTOM_KEY + ": " + record.getStockId() + "\n"; CommonServiceUtils.actionsPostCreateOrUpdate( recordPublished.getId(), name, record, apiKey, username, organization, itemUrl, responseBean, catalogue, namespaces, groups, context, token, diff --git a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java index 4312d63..2d41550 100644 --- a/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java +++ b/src/main/java/org/gcube/data_catalogue/grsf_publish_ws/utils/CommonServiceUtils.java @@ -534,7 +534,7 @@ public class CommonServiceUtils { } // update description anyway - description += ", Record URL: " + itemUrl; + description += "Record URL: " + itemUrl; JSONObject obj = new JSONObject(); obj.put("notes", description); catalogue.patchProductWithJSON(datasetId, obj, apiKey);