Revision 59343
Added by Claudio Atzori over 3 years ago
ResultEntry.java | ||
---|---|---|
1 | 1 |
package eu.dnetlib.openaire.directindex.objects; |
2 | 2 |
|
3 |
import java.text.SimpleDateFormat; |
|
4 |
import java.util.*; |
|
5 |
import java.util.concurrent.TimeUnit; |
|
6 |
import java.util.stream.Collector; |
|
7 |
import java.util.stream.Collectors; |
|
8 |
|
|
9 |
import org.apache.commons.lang.StringUtils; |
|
10 |
import org.apache.commons.logging.Log; |
|
11 |
import org.apache.commons.logging.LogFactory; |
|
12 |
import org.apache.velocity.app.VelocityEngine; |
|
13 |
import org.springframework.ui.velocity.VelocityEngineUtils; |
|
14 |
|
|
15 | 3 |
import com.google.gson.Gson; |
16 |
|
|
17 | 4 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpException; |
18 | 5 |
import eu.dnetlib.enabling.is.lookup.rmi.ISLookUpService; |
19 | 6 |
import eu.dnetlib.miscutils.datetime.DateUtils; |
... | ... | |
22 | 9 |
import eu.dnetlib.openaire.directindex.api.DirecIndexApiException; |
23 | 10 |
import eu.dnetlib.openaire.directindex.api.OpenAIRESubmitterUtils; |
24 | 11 |
import io.swagger.annotations.ApiModelProperty; |
25 |
import org.springframework.web.client.RestTemplate; |
|
12 |
import org.apache.commons.lang.StringUtils; |
|
13 |
import org.apache.commons.logging.Log; |
|
14 |
import org.apache.commons.logging.LogFactory; |
|
15 |
import org.apache.velocity.app.VelocityEngine; |
|
16 |
import org.springframework.ui.velocity.VelocityEngineUtils; |
|
26 | 17 |
|
18 |
import java.text.SimpleDateFormat; |
|
19 |
import java.util.*; |
|
20 |
import java.util.concurrent.TimeUnit; |
|
21 |
|
|
27 | 22 |
/** |
28 | 23 |
* Created by michele on 02/12/15. |
29 | 24 |
*/ |
Also available in: Unified diff
direct indexing api relies on a single solr client instance, which gets reconfigured on the expiration of the cached info retrieved from the IS, indicating the solr collection to be used