Remove various unnecessary info messages
This commit is contained in:
parent
9f88bdae69
commit
5a3f871c58
|
@ -44,7 +44,6 @@ public class ContactEmail {
|
|||
@RequestMapping(method = RequestMethod.POST, path = "public", consumes = "application/x-www-form-urlencoded", produces = "application/json")
|
||||
public @ResponseBody
|
||||
ResponseEntity sendContactEmailNoAuth(@ModelAttribute PublicContactEmailModel contactEmailModel) {
|
||||
logger.info(contactEmailModel.toString());
|
||||
try {
|
||||
this.contactEmailManager.sendContactEmailNoAuth(contactEmailModel);
|
||||
return ResponseEntity.status(HttpStatus.NO_CONTENT).body(new ResponseItem().status(ApiMessageCode.SUCCESS_MESSAGE));
|
||||
|
|
|
@ -894,9 +894,6 @@ public class DataManagementPlanManager {
|
|||
List<CompletableFuture<Dataset>> futures = new LinkedList<>();
|
||||
for (Dataset dataset : newDmp.getDataset()) {
|
||||
Dataset tempDataset = datasetDao.find(dataset.getId());
|
||||
if (tempDataset.getProfile() != null) {
|
||||
logger.info(tempDataset.getProfile().toString());
|
||||
}
|
||||
try {
|
||||
List<Tag> tags = new ArrayList<>();
|
||||
eu.eudat.elastic.entities.Dataset elastic = apiContext.getOperationsContext().getElasticRepository().getDatasetRepository().findDocument(dataset.getId().toString());
|
||||
|
@ -1721,8 +1718,6 @@ public class DataManagementPlanManager {
|
|||
this.datasetManager.createOrUpdate(datasetWizard, principal);
|
||||
// datasets.add(new DatasetListingModel().fromDataModel(dataset));
|
||||
}
|
||||
|
||||
//logger.info(dm.toString());
|
||||
}
|
||||
|
||||
return dataManagementPlans;
|
||||
|
@ -1845,9 +1840,7 @@ public class DataManagementPlanManager {
|
|||
List<DMP> dmps = databaseRepository.getDmpDao().getWithCriteria(criteria).toList();
|
||||
for (DMP dmp: dmps) {
|
||||
try {
|
||||
if (dmp.getUsers() != null) {
|
||||
logger.info(dmp.getUsers().toString());
|
||||
} else {
|
||||
if (dmp.getUsers() == null) {
|
||||
UUID dmpId = dmp.getId();
|
||||
dmp.setUsers(new HashSet<>(apiContext.getOperationsContext().getDatabaseRepository().getUserDmpDao().asQueryable().where((builder, root) -> builder.equal(root.get("dmp").get("id"), dmpId)).toList()));
|
||||
}
|
||||
|
|
|
@ -16,7 +16,6 @@ public class PageAdapter extends XmlAdapter<Object, HashMap<String, String>> {
|
|||
Element data = (Element)v;
|
||||
HashMap<String, String> result = new HashMap<>();
|
||||
generateMap(data, result, "field");
|
||||
logger.info(result.toString());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue