Project

General

Profile

« Previous | Next » 

Revision 50845

1. Fix new dev api
2. Fix bugs on validator / broker / piwik api.
3. JSON changes on convert file for dev api
4. Add new class RequestFilter on utils package for search queries.

View differences:

ValidatorApiImpl.java
126 126
    }
127 127

  
128 128
    @Override
129
    public List<String> getSetsOfRepository(@PathVariable("url") String url) {
129
    public List<String> getSetsOfRepository(@RequestParam(value = "url", required = true) String url) {
130 130
        LOGGER.debug("Getting sets of repository with url : " + url);
131 131
        try {
132 132
            return OaiTools.getSetsOfRepo(url);
......
137 137
    }
138 138

  
139 139
    @Override
140
    public boolean identifyRepo(@PathVariable("url") String url) {
140
    public boolean identifyRepo(@RequestParam(value = "url", required = true) String url) {
141 141
        LOGGER.debug("Identify repository with url : " + url);
142 142
        try {
143 143
            return OaiTools.identifyRepository(url);
......
185 185
    }
186 186

  
187 187
    @Override
188
    public InterfaceInformation getInterfaceInformation(@PathVariable("baseUrl") String baseUrl) throws ValidationServiceException {
188
    public InterfaceInformation getInterfaceInformation(@RequestParam(value = "baseUrl", required = true) String baseUrl) throws ValidationServiceException {
189 189
        try {
190 190
            LOGGER.debug("Getting interface information with url: " + baseUrl);
191 191
            InterfaceInformation interfaceInformation = new InterfaceInformation();

Also available in: Unified diff