Revision 53991
Added by Alessia Bardi almost 6 years ago
modules/dnet-directindex-api/branches/solr75/src/main/java/eu/dnetlib/openaire/directindex/api/OpenaireResultSubmitter.java | ||
---|---|---|
3 | 3 |
import java.io.IOException; |
4 | 4 |
import java.util.Arrays; |
5 | 5 |
import java.util.List; |
6 |
|
|
7 | 6 |
import javax.annotation.Resource; |
8 | 7 |
|
9 |
import org.apache.commons.io.IOUtils; |
|
10 |
import org.apache.commons.lang.exception.ExceptionUtils; |
|
11 |
import org.apache.commons.logging.Log; |
|
12 |
import org.apache.commons.logging.LogFactory; |
|
13 |
import org.apache.velocity.app.VelocityEngine; |
|
14 |
import org.springframework.beans.factory.annotation.Value; |
|
15 |
import org.springframework.context.annotation.Profile; |
|
16 |
import org.springframework.core.io.ClassPathResource; |
|
17 |
import org.springframework.http.HttpStatus; |
|
18 |
import org.springframework.stereotype.Controller; |
|
19 |
import org.springframework.web.bind.annotation.ExceptionHandler; |
|
20 |
import org.springframework.web.bind.annotation.PathVariable; |
|
21 |
import org.springframework.web.bind.annotation.RequestBody; |
|
22 |
import org.springframework.web.bind.annotation.RequestMapping; |
|
23 |
import org.springframework.web.bind.annotation.RequestMethod; |
|
24 |
import org.springframework.web.bind.annotation.RequestParam; |
|
25 |
import org.springframework.web.bind.annotation.ResponseBody; |
|
26 |
import org.springframework.web.bind.annotation.ResponseStatus; |
|
27 |
|
|
28 | 8 |
import com.google.common.collect.Lists; |
29 | 9 |
import com.google.gson.Gson; |
30 |
|
|
31 | 10 |
import eu.dnetlib.common.rmi.DNetRestDocumentation; |
32 | 11 |
import eu.dnetlib.data.index.CloudIndexClient; |
33 | 12 |
import eu.dnetlib.data.index.CloudIndexClientFactory; |
... | ... | |
36 | 15 |
import eu.dnetlib.enabling.locators.UniqueServiceLocator; |
37 | 16 |
import eu.dnetlib.openaire.directindex.objects.ResultEntry; |
38 | 17 |
import eu.dnetlib.openaire.directindex.utils.OafToIndexRecordFactory; |
18 |
import org.apache.commons.io.IOUtils; |
|
19 |
import org.apache.commons.lang3.exception.ExceptionUtils; |
|
20 |
import org.apache.commons.logging.Log; |
|
21 |
import org.apache.commons.logging.LogFactory; |
|
22 |
import org.apache.velocity.app.VelocityEngine; |
|
23 |
import org.springframework.beans.factory.annotation.Value; |
|
24 |
import org.springframework.context.annotation.Profile; |
|
25 |
import org.springframework.core.io.ClassPathResource; |
|
26 |
import org.springframework.http.HttpStatus; |
|
27 |
import org.springframework.stereotype.Controller; |
|
28 |
import org.springframework.web.bind.annotation.*; |
|
39 | 29 |
|
40 | 30 |
/** |
41 | 31 |
* Created by michele on 11/11/15. |
Also available in: Unified diff
re-organised imports