Project

General

Profile

« Previous | Next » 

Revision 49988

1. Bug fix on broker api.
2. Add update method for platform field.
3. Add json to repositoryInterfaceList method on Converter class.

View differences:

RepositoryApi.java
59 59
    @RequestMapping(value = "/getRepositoryInterface/{id}", method = RequestMethod.GET,
60 60
            produces = MediaType.APPLICATION_JSON_VALUE)
61 61
    @ResponseBody
62
    RepositoryInterface getRepositoyInterface(String id) throws JSONException;
62
    List<RepositoryInterface> getRepositoryInterface(String id) throws JSONException;
63 63

  
64 64
    @RequestMapping(value = "/addRepository", method = RequestMethod.POST,
65 65
            consumes = MediaType.APPLICATION_JSON_VALUE)
......
130 130
    @ResponseBody
131 131
    String updateLogoUrl(String id, String logoUrl);
132 132

  
133
    @RequestMapping(value = "/updatePlatform", method = RequestMethod.POST,
134
            produces = MediaType.APPLICATION_JSON_VALUE)
135
    @ResponseBody
136
    String updatePlatform(String id, String platform);
133 137

  
138

  
134 139
    @RequestMapping(value = "/getUrlsOfUserRepos/{user_email}/{page}/{size}/",method = RequestMethod.GET,
135 140
            produces = MediaType.APPLICATION_JSON_VALUE)
136 141
    @ResponseBody

Also available in: Unified diff