Skip to content

Commit

Permalink
Update galley to 1.18-SNAPSHOT
Browse files Browse the repository at this point in the history
  • Loading branch information
yma96 committed Feb 8, 2025
1 parent 1eb3d70 commit 6a9d3fd
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@
<indyModelVersion>1.5</indyModelVersion>
<indyClientVersion>3.4.0</indyClientVersion>
<atlasVersion>1.1.4</atlasVersion>
<galleyVersion>1.17</galleyVersion>
<galleyVersion>1.18-SNAPSHOT</galleyVersion>
<weftVersion>1.24</weftVersion>
<webdavVersion>3.2.1</webdavVersion>
<!-- TODO: partyline is still needed for standalone mode, may be removed in future -->
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@
import org.commonjava.maven.galley.io.NoOpTransferDecorator;
import org.commonjava.maven.galley.io.TransferDecoratorManager;
import org.commonjava.maven.galley.nfc.MemoryNotFoundCache;
import org.commonjava.maven.galley.proxy.NoOpProxySitesCache;
import org.commonjava.maven.galley.spi.cache.CacheProvider;
import org.commonjava.maven.galley.spi.event.FileEventManager;
import org.commonjava.maven.galley.spi.nfc.NotFoundCache;
import org.commonjava.maven.galley.spi.proxy.ProxySitesCache;
import org.commonjava.maven.galley.transport.htcli.conf.GlobalHttpConfiguration;
import org.commonjava.maven.galley.transport.htcli.conf.GlobalProxyConfig;
import org.junit.rules.TemporaryFolder;
Expand Down Expand Up @@ -65,6 +67,8 @@ public class TestProvider

private NotFoundCache nfc;

private ProxySitesCache proxySitesCache;

private StoreDataManager storeDataManager;

private ObjectMapper objectMapper;
Expand Down Expand Up @@ -94,6 +98,7 @@ public void setup()
{
storeDataManager = new MemoryStoreDataManager( true );
nfc = new MemoryNotFoundCache();
proxySitesCache = new NoOpProxySitesCache();
objectMapper = new IndyObjectMapper( false );
fileEventManager = new NoOpFileEventManager();
transferDecorator = new NoOpTransferDecorator();
Expand Down Expand Up @@ -135,6 +140,12 @@ public NotFoundCache getNfc()
return nfc;
}

@Produces
public ProxySitesCache getProxySitesCache()
{
return proxySitesCache;
}

@Produces
@Standalone
@Default
Expand Down

0 comments on commit 6a9d3fd

Please sign in to comment.