Project

General

Profile

« Previous | Next » 

Revision 49534

added methods to drop the caches, changed project_tsv response, now providing all the organizations participating to a project

View differences:

MongoLoggerClient.java
23 23
import org.bson.Document;
24 24
import org.bson.conversions.Bson;
25 25
import org.springframework.beans.factory.annotation.Autowired;
26
import org.springframework.cache.annotation.CacheEvict;
26 27
import org.springframework.cache.annotation.Cacheable;
27 28
import org.springframework.stereotype.Component;
28 29

  
......
75 76
				.collect(Collectors.toList());
76 77
	}
77 78

  
79
	@CacheEvict(cacheNames = "datasources-mongo-cache", allEntries = true)
80
	public void dropCache() {
81
		log.info("dropped dsManager aggregation history cache");
82
	}
83

  
78 84
	private Function<Document, AggregationInfo> getMapper() {
79 85
		return new Function<Document, AggregationInfo>() {
80 86

  

Also available in: Unified diff