Project

General

Profile

« Previous | Next » 

Revision 51525

1. Add roles for aai
2. Changes on converter file for new interface object
3. Move emailUtils to avoid bug on bean definitions
4. Add openaire provider authorities mapper class
5. Bug fixes on controllers

View differences:

PiWikApi.java
2 2

  
3 3

  
4 4
import eu.dnetlib.domain.data.PiwikInfo;
5
import eu.dnetlib.domain.data.Repository;
6
import eu.dnetlib.domain.functionality.UserProfile;
7
import eu.dnetlib.repo.manager.shared.RepositoryServiceException;
5 8
import io.swagger.annotations.Api;
6 9
import org.springframework.http.MediaType;
7 10
import org.springframework.web.bind.annotation.*;
......
31 34
    @RequestMapping(value = "/getOpenaireId/{repositoryId}" , method = RequestMethod.GET,produces = MediaType.APPLICATION_JSON_VALUE)
32 35
    @ResponseBody
33 36
    String getOpenaireId(String repositoryid);
37

  
38

  
39
    @RequestMapping(value = "/markPiwikSiteAsValidated/{repositoryId}" , method = RequestMethod.POST,
40
            consumes = MediaType.APPLICATION_JSON_VALUE)
41
    @ResponseBody
42
    void markPiwikSiteAsValidated(String repositoryId) throws RepositoryServiceException;
43

  
44
    @RequestMapping(value = "/enableMetricsForRepository", method = RequestMethod.POST,
45
            consumes = MediaType.APPLICATION_JSON_VALUE)
46
    void enableMetricsForRepository(PiwikInfo piwikInfo) throws RepositoryServiceException;
34 47
}

Also available in: Unified diff