Revision 54553
Added by Miriam Baglioni almost 6 years ago
modules/dnet-openaire-exporter/trunk/src/main/java/eu/dnetlib/openaire/dsm/DsmCore.java | ||
---|---|---|
37 | 37 |
import org.springframework.data.domain.Page; |
38 | 38 |
import org.springframework.stereotype.Component; |
39 | 39 |
|
40 |
import eu.dnetlib.openaire.community.CommunityClient; |
|
41 |
|
|
40 | 42 |
import static eu.dnetlib.openaire.dsm.dao.utils.DsmMappingUtils.*; |
41 | 43 |
import static eu.dnetlib.openaire.common.ExporterConstants.*; |
42 | 44 |
|
... | ... | |
67 | 69 |
@Autowired |
68 | 70 |
private OpenaireExporterConfig config; |
69 | 71 |
|
72 |
@Autowired |
|
73 |
private CommunityClient communityClient; |
|
74 |
|
|
70 | 75 |
private ListeningExecutorService executor; |
71 | 76 |
|
72 | 77 |
@PostConstruct |
... | ... | |
294 | 299 |
mongoLoggerClient.dropCache(); |
295 | 300 |
isClient.dropCache(); |
296 | 301 |
vocabularyClient.dropCache(); |
302 |
communityClient.dropCache(); |
|
297 | 303 |
} |
298 | 304 |
|
299 | 305 |
// HELPERS ////////////// |
Also available in: Unified diff
added drop cache for the added community cache