From 08512838feff5cc3156f96fd4d34bd9968c54e90 Mon Sep 17 00:00:00 2001 From: southeo Date: Wed, 11 Dec 2024 10:19:36 +0100 Subject: [PATCH] properties --- .../service/DataCitePublisherService.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src/main/java/eu/dissco/core/datacitepublisher/service/DataCitePublisherService.java b/src/main/java/eu/dissco/core/datacitepublisher/service/DataCitePublisherService.java index 6ed74a7..63da2e9 100644 --- a/src/main/java/eu/dissco/core/datacitepublisher/service/DataCitePublisherService.java +++ b/src/main/java/eu/dissco/core/datacitepublisher/service/DataCitePublisherService.java @@ -119,8 +119,6 @@ private DcRequest buildDcRequest(DigitalSpecimen digitalSpecimen) { digitalSpecimen.getPrimarySpecimenObjectId(), digitalSpecimen.getSpecimenHostName(), digitalSpecimen.getSpecimenHost(), - digitalSpecimen.getIssuedForAgentName(), - digitalSpecimen.getIssuedForAgent(), digitalSpecimen.getPidRecordIssueDate(), digitalSpecimen.getPid(), digitalSpecimen.getReferentName(), @@ -137,8 +135,6 @@ private DcRequest buildDcRequest(MediaObject mediaObject) { mediaObject.getPrimaryMediaId(), mediaObject.getMediaHostName(), mediaObject.getMediaHost(), - mediaObject.getIssuedForAgentName(), - mediaObject.getIssuedForAgent(), mediaObject.getPidRecordIssueDate(), mediaObject.getPid(), mediaObject.getReferentName(), @@ -149,7 +145,7 @@ private DcRequest buildDcRequest(MediaObject mediaObject) { private DcRequest buildDcRequest(String xmlLoc, String landingPage, String altIdType, String localId, String hostName, - String hostId, String issuedForAgentName, String issuedForAgentId, String pidRecordIssueDate, + String hostId, String pidRecordIssueDate, String pid, String referentName, String dcType, List descriptions, List subjects) { try { @@ -164,7 +160,7 @@ private DcRequest buildDcRequest(String xmlLoc, String landingPage, String altId .alternateIdentifiers( getAltIds(altIdType, localId)) .contributors(getContributors(hostName, hostId)) - .creators(getCreator(issuedForAgentName, issuedForAgentId)) + .creators(getCreator(hostName, hostId)) .dates(getDates(issueDate)) .descriptions(descriptions) .doi(getDoi(pid))