minor fixes before branching

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/grsf-publisher-ws@139848 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
Costantino Perciante 2016-12-09 13:54:48 +00:00
parent a81d440671
commit dc9aedd214
2 changed files with 3 additions and 4 deletions

View File

@ -173,9 +173,8 @@ public class GrsfPublisherFisheryService {
record.setProductType(Product_Type.FISHERY.getOrigName()); record.setProductType(Product_Type.FISHERY.getOrigName());
// product system type is a list of values for sources records, so remove it (so that no group is generated) // product system type is a list of values for sources records, so remove it (so that no group is generated)
if(!sourceInPath.equals(Sources.GRSF)){ if(!sourceInPath.equals(Sources.GRSF))
record.setProductionSystemType(null); record.setProductionSystemType(null);
}
// evaluate the custom fields/tags, resources and groups // evaluate the custom fields/tags, resources and groups
Map<String, List<String>> customFields = record.getExtrasFields(); Map<String, List<String>> customFields = record.getExtrasFields();
@ -224,7 +223,7 @@ public class GrsfPublisherFisheryService {
apiKey, apiKey,
futureTitle, futureTitle,
futureName, futureName,
"grsf", //TO DELETE TODO organization,
authorFullname, authorFullname,
authorMail, authorMail,
record.getMaintainer(), record.getMaintainer(),

View File

@ -215,7 +215,7 @@ public class GrsfPublisherStockService {
apiKey, apiKey,
futureTitle, futureTitle,
futureName, futureName,
"grsf", //TO DELETE TODO organization,
authorFullname, authorFullname,
authorMail, authorMail,
record.getMaintainer(), record.getMaintainer(),