Project

General

Profile

« Previous | Next » 

Revision 51084

1. Enable aai.
2. Create security.xml file
3. Reorganize imports.

View differences:

BrokerServiceImpl.java
1 1
package eu.dnetlib.repo.manager.server.services;
2 2

  
3
import com.fasterxml.jackson.core.JsonProcessingException;
4 3
import com.fasterxml.jackson.databind.ObjectMapper;
5 4
import eu.dnetlib.domain.data.Repository;
6 5
import eu.dnetlib.gwt.server.service.SpringGwtRemoteServiceServlet;
......
8 7
import eu.dnetlib.repo.manager.service.controllers.BrokerApi;
9 8
import eu.dnetlib.repo.manager.service.controllers.RepositoryApi;
10 9
import eu.dnetlib.repo.manager.shared.BrokerException;
11
import eu.dnetlib.repo.manager.shared.RepositoryServiceException;
12 10
import eu.dnetlib.repo.manager.shared.Term;
13 11
import eu.dnetlib.repo.manager.shared.Tuple;
14 12
import eu.dnetlib.repo.manager.shared.broker.*;
15 13
import eu.dnetlib.repos.RepoApi;
16 14
import org.apache.log4j.Logger;
17
import org.json.JSONArray;
18 15
import org.json.JSONException;
19 16
import org.json.JSONObject;
20 17
import org.springframework.beans.factory.annotation.Autowired;
21 18
import org.springframework.beans.factory.annotation.Value;
22
import org.springframework.core.ParameterizedTypeReference;
23
import org.springframework.http.HttpEntity;
24
import org.springframework.http.HttpMethod;
25
import org.springframework.http.ResponseEntity;
26
import org.springframework.http.converter.json.MappingJackson2HttpMessageConverter;
27 19
import org.springframework.stereotype.Service;
28
import org.springframework.util.LinkedMultiValueMap;
29
import org.springframework.util.MultiValueMap;
30
import org.springframework.web.client.RestClientException;
31
import org.springframework.web.client.RestTemplate;
32
import org.springframework.web.util.UriComponentsBuilder;
33 20

  
34 21
import javax.servlet.ServletConfig;
35 22
import javax.servlet.ServletException;
36
import java.io.IOException;
37 23
import java.util.*;
38 24

  
39 25
/**

Also available in: Unified diff