Azure Lake Store:响应标头中缺少Access-Control-Allow-Origin
当尝试调用我的Azure Data Lake存储空间并列出所有目录时,它在丢失CORS期间无法返回任何结果.我找不到任何方法为Azure DatalakeStore提供CORS策略(不是与Azure存储相同)
When trying to call my azure data lake store space and list all directories , It fails to return any results during to missing CORS .The problem that I can't find any way to give the Azure DatalakeStore the CORS policy ( Not the same as Azure Storage )
对此有任何解决方法或解决方案吗?
Any workaround or solution for this ?
Azure中的某些服务仍不提供CORS支持(如DocumentDB,并且您似乎也对ADLS感到满意).在azure提供相同功能之前可以尝试的一件事是使用APIM(Azure API管理网关).我尝试过在APIM上安装DocumentDB REST API的地方,并在客户端使用了APIM的端点,并且可以正常工作.检查以下链接以设置APIM和启用CORS
Some of the services in Azure still doesn't have CORS support (like DocumentDB and as you have experienced seems for ADLS as well). One thing that can be tried before the same is provided by azure is to use APIM (Azure API Management Gateway). I tried this where i have on-boarded DocumentDB REST API's on APIM and used the end-point from APIM on client side and it worked. Check the links below for setting up APIM and enabling CORS
https://azure.microsoft.com/en-us/services/api-management/
https://msdn.microsoft.com/library/azure/7689d277-8abe-472a-a78c-e6d4bd43455d#CORS