Chef is listed as incomplete in the supported registries table. Add read-only caching proxy support for Chef Supermarket.
The handler should proxy and cache the /universe dependency index and cookbook API responses, rewrite cookbook download locations to the proxy, follow upstream download redirects, and cache versioned cookbook archives. Custom Supermarket servers and configured upstream credentials should be supported.
Metadata should follow the existing TTL and stale-cache behavior. Cached cookbook archives should remain available when the upstream is unavailable.
Cover the Berkshelf flow and protocol behavior with tests:
- retrieving and rewriting the universe index
- cookbook metadata and versioned downloads
- dependency information remains unchanged
- redirects, cache hits, and offline reads
- upstream authentication
- README and configuration instructions for Berkshelf
Chef is listed as incomplete in the supported registries table. Add read-only caching proxy support for Chef Supermarket.
The handler should proxy and cache the
/universedependency index and cookbook API responses, rewrite cookbook download locations to the proxy, follow upstream download redirects, and cache versioned cookbook archives. Custom Supermarket servers and configured upstream credentials should be supported.Metadata should follow the existing TTL and stale-cache behavior. Cached cookbook archives should remain available when the upstream is unavailable.
Cover the Berkshelf flow and protocol behavior with tests: