@RequestMapping(value = "project-sync/{projectId}", method = RequestMethod.POST)
    public Ack projectGitSync(@PathVariable ID projectId, @RequestBody GitSynchronisationRequest request) {
        Project project = structureService.getProject(projectId);
        return gitService.projectSync(project, request);
    }
@ RequestMapping ( value = "project-sync/{projectId}" , method = RequestMethod . POST ) public Ack projectGitSync ( @ PathVariable ID projectId , @ RequestBody GitSynchronisationRequest request ) { Project project = structureService . getProject ( projectId ) ; return gitService . projectSync ( project , request ) ; }
Launching the synchronisation