Commends out DMP's not supported functionality.

This commit is contained in:
gkolokythas 2019-10-31 12:16:12 +02:00
parent 2a745ad334
commit 1693518bc8
1 changed files with 2 additions and 2 deletions

View File

@ -70,13 +70,13 @@ public class DMPs extends BaseController {
this.datasetManager = datasetManager;
}
@Transactional
/*@Transactional
@RequestMapping(method = RequestMethod.GET, value = {"{id}/unlock"}, produces = "application/json")
public @ResponseBody
ResponseEntity<ResponseItem<DMP>> unlock(@PathVariable(value = "id") UUID id, Principal principal) throws Exception {
this.dataManagementPlanManager.unlock(id);
return ResponseEntity.status(HttpStatus.OK).body(new ResponseItem<DMP>().status(ApiMessageCode.SUCCESS_MESSAGE).message("Unlocked"));
}
}*/
@RequestMapping(method = RequestMethod.POST, value = {"/paged"}, consumes = "application/json", produces = "application/json")
public @ResponseBody