Search in sources :

Example 1 with ContentIndexCacheProducer

use of org.commonjava.indy.content.index.ContentIndexCacheProducer in project indy by Commonjava.

the class ContentIndexDirLvWithArtifactsTest method getIndexManager.

@Before
public void getIndexManager() {
    final ContentIndexCacheProducer cacheProducer = CDI.current().select(ContentIndexCacheProducer.class).get();
    contentIndex = cacheProducer.contentIndexCacheCfg();
}
Also used : ContentIndexCacheProducer(org.commonjava.indy.content.index.ContentIndexCacheProducer) Before(org.junit.Before)

Example 2 with ContentIndexCacheProducer

use of org.commonjava.indy.content.index.ContentIndexCacheProducer in project indy by Commonjava.

the class ContentIndexDirLvWithMetadataTest method getIndexManager.

@Before
public void getIndexManager() {
    final ContentIndexCacheProducer cacheProducer = CDI.current().select(ContentIndexCacheProducer.class).get();
    contentIndex = cacheProducer.contentIndexCacheCfg();
}
Also used : ContentIndexCacheProducer(org.commonjava.indy.content.index.ContentIndexCacheProducer) Before(org.junit.Before)

Aggregations

ContentIndexCacheProducer (org.commonjava.indy.content.index.ContentIndexCacheProducer)2 Before (org.junit.Before)2