Revision 45120
Added by Claudio Atzori over 7 years ago
ResultSetClientFactory.java | ||
---|---|---|
5 | 5 |
import eu.dnetlib.enabling.resultset.client.utils.EPRUtils; |
6 | 6 |
import eu.dnetlib.enabling.resultset.rmi.ResultSetService; |
7 | 7 |
import eu.dnetlib.enabling.tools.ServiceResolver; |
8 |
|
|
8 | 9 |
import org.apache.commons.logging.Log; |
9 | 10 |
import org.apache.commons.logging.LogFactory; |
11 |
|
|
10 | 12 |
import org.apache.cxf.endpoint.Client; |
11 | 13 |
import org.apache.cxf.frontend.ClientProxy; |
14 |
|
|
12 | 15 |
import org.apache.cxf.transport.http.HTTPConduit; |
13 | 16 |
import org.apache.cxf.transports.http.configuration.HTTPClientPolicy; |
14 | 17 |
import org.springframework.beans.factory.annotation.Required; |
15 | 18 |
|
19 |
|
|
16 | 20 |
/** |
17 | 21 |
* |
18 | 22 |
* @author claudio |
... | ... | |
137 | 141 |
|
138 | 142 |
http.setClient(httpClientPolicy); |
139 | 143 |
} |
144 |
|
|
140 | 145 |
return service; |
141 | 146 |
} |
142 | 147 |
|
Also available in: Unified diff
migrated to dnet45, using updated mockito version in tests