fixes
This commit is contained in:
parent
487833c099
commit
37eaa4cdf5
|
@ -1,5 +1,6 @@
|
|||
package org.opencdmp.deposit.zenodorepository.service.storage;
|
||||
|
||||
import gr.cite.tools.logging.LoggerService;
|
||||
import org.slf4j.Logger;
|
||||
import org.slf4j.LoggerFactory;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
|
@ -16,7 +17,7 @@ import java.util.UUID;
|
|||
|
||||
@Service
|
||||
public class FileStorageServiceImpl implements FileStorageService {
|
||||
private final static Logger logger = LoggerFactory.getLogger(FileStorageServiceImpl.class);
|
||||
private static final LoggerService logger = new LoggerService(LoggerFactory.getLogger(FileStorageServiceImpl.class));
|
||||
|
||||
private final FileStorageServiceProperties properties;
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ public class DepositController implements org.opencdmp.depositbase.repository.De
|
|||
}
|
||||
|
||||
public String deposit(@RequestBody DmpModel dmpModel, @RequestParam("authToken")String authToken) throws Exception {
|
||||
logger.debug(new MapLogEntry("deposit" + DmpModel.class.getSimpleName()).And("dmpModel", dmpModel));
|
||||
logger.debug(new MapLogEntry("deposit " + DmpModel.class.getSimpleName()).And("dmpModel", dmpModel));
|
||||
|
||||
String doiId = depositClient.deposit(dmpModel, authToken);
|
||||
|
||||
|
@ -41,7 +41,7 @@ public class DepositController implements org.opencdmp.depositbase.repository.De
|
|||
}
|
||||
|
||||
public String authenticate(@RequestParam("authToken") String code) {
|
||||
logger.debug(new MapLogEntry("authenticate" + DmpModel.class.getSimpleName()));
|
||||
logger.debug(new MapLogEntry("authenticate " + DmpModel.class.getSimpleName()));
|
||||
|
||||
String token = depositClient.authenticate(code);
|
||||
|
||||
|
@ -51,7 +51,7 @@ public class DepositController implements org.opencdmp.depositbase.repository.De
|
|||
}
|
||||
|
||||
public DepositConfiguration getConfiguration() {
|
||||
logger.debug(new MapLogEntry("getConfiguration" + DmpModel.class.getSimpleName()));
|
||||
logger.debug(new MapLogEntry("getConfiguration " + DmpModel.class.getSimpleName()));
|
||||
|
||||
DepositConfiguration configuration = depositClient.getConfiguration();
|
||||
|
||||
|
@ -61,7 +61,7 @@ public class DepositController implements org.opencdmp.depositbase.repository.De
|
|||
}
|
||||
|
||||
public String getLogo() {
|
||||
logger.debug(new MapLogEntry("getLogo" + DmpModel.class.getSimpleName()));
|
||||
logger.debug(new MapLogEntry("getLogo " + DmpModel.class.getSimpleName()));
|
||||
|
||||
String logo = depositClient.getLogo();
|
||||
|
||||
|
|
Loading…
Reference in New Issue