goci-interfaces/goci-curation/src/main/java/uk/ac/ebi/spot/goci/curation/controller/StudyController.java
// Option 2: move this functionality as JAVA migration.
Option 2: move this functionality as JAVA migration.
Option 2 : move this functionality as JAVA migration .
@RequestMapping(value = "/new/migratePublications", produces = MediaType.TEXT_HTML_VALUE, method = {RequestMethod.GET,RequestMethod.POST})
    public synchronized String importAllStudy(@ModelAttribute PubmedIdForImport pubmedIdForImport,
                                           HttpServletRequest request,
                                           Model model)
            throws PubmedImportException, NoStudyDirectoryException {
        publicationOperationsService.importPublicationsWithoutFirstAuthor();
        return "redirect:/studies/";
    }
@ RequestMapping ( value = "/new/migratePublications" , produces = MediaType . TEXT_HTML_VALUE , method = { RequestMethod . GET , RequestMethod . POST } ) public synchronized String importAllStudy ( @ ModelAttribute PubmedIdForImport pubmedIdForImport , HttpServletRequest request , Model model ) throws PubmedImportException , NoStudyDirectoryException { publicationOperationsService . importPublicationsWithoutFirstAuthor ( ) ; return "redirect:/studies/" ; }
Option 2: move this functionality as JAVA migration.
Option 2 : move this functionality as JAVA migration .