ghashange/azure-storage-cdn-mock
Mock for CDN accessing files stored in Azure Storage.
19
Simple service which mocks a CDN service against [Azure Storage]. This may be useful for development purposes where services download content from [Azure Storage] via a CDN (e.g. Azure CDN).
The service provides a dynamic route matcher which accepts requests in the form of http://azure-storage-cdn-mock:8080/{container-name}/{blob-path}
. These requests will be forwarded to the configured [Azure Storage] based upon the provided container-name and blob-path.
You may start the dockerized service via:
docker run -p "8080:8080" -it ghashange/azure-storage-cdn-mock:0.1.0-SNAPSHOT
To CDN mock service can be configured with the following environment variables:
AZURE_STORAGE_ENDPOINT
AZURE_STORAGE_ACCOUNT_NAME
AZURE_STORAGE_ACCOUNT_KEY
Source code: https://github.com/janjaali/azure-storage-cdn-mock
docker pull ghashange/azure-storage-cdn-mock