Revision 49534
Added by Claudio Atzori over 6 years ago
VocabularyClient.java | ||
---|---|---|
5 | 5 |
import org.apache.commons.logging.Log; |
6 | 6 |
import org.apache.commons.logging.LogFactory; |
7 | 7 |
import org.springframework.beans.factory.annotation.Autowired; |
8 |
import org.springframework.cache.annotation.CacheEvict; |
|
8 | 9 |
import org.springframework.cache.annotation.Cacheable; |
9 | 10 |
import org.springframework.http.ResponseEntity; |
10 | 11 |
import org.springframework.stereotype.Component; |
... | ... | |
32 | 33 |
return rsp.getBody(); |
33 | 34 |
} |
34 | 35 |
|
36 |
@CacheEvict(cacheNames = "vocabularies-cache", allEntries = true) |
|
37 |
public void dropCache() { |
|
38 |
log.info("dropped dsManager vocabulary cache"); |
|
39 |
} |
|
40 |
|
|
35 | 41 |
} |
Also available in: Unified diff
added methods to drop the caches, changed project_tsv response, now providing all the organizations participating to a project