Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update CDN domain for Functions VS Code extension #4373

Open
mattchenderson opened this issue Feb 5, 2025 · 1 comment
Open

Update CDN domain for Functions VS Code extension #4373

mattchenderson opened this issue Feb 5, 2025 · 1 comment
Milestone

Comments

@mattchenderson
Copy link
Member

mattchenderson commented Feb 5, 2025

We need to change from functionscdn.azureedge.net to cdn.functions.azure.com and from functionscdnstaging.azureedge.net to cdn-staging.functions.azure.com.

In this repo, there is a direct dependency in the fallback logic:

const baseUrl: string = envVarUri || `https://functionscdn${suffix}.azureedge.net/public`;

Note that this would need to change how we apply the suffix, as well.

The old domain is also indirectly referenced through a few aka links:

url = 'https://aka.ms/AA66i2x';

const funcCliFeedV4Url: string = 'https://aka.ms/AAbbk68';

const versionArray: string[] = await feedUtils.getJsonFeed(context, 'https://aka.ms/azFuncBundleVersions');

This repo also makes reference to it both directly and through aka links in this readme:

The code in this folder is used to parse and model the [function templates](https://github.com/Azure/azure-webjobs-sdk-templates) provided by the [Azure Functions CLI Feed](https://aka.ms/AAbbk68). The Functions CLI Feed provides a central location to get the latest version of all templates used for functions.

Basic script templates (i.e. http and timer) are retrieved from the 'templates' property in each entry of the [CLI Feed](https://aka.ms/AAbbk68). More advanced templates (i.e. blob and cosmos) are retrieved from another feed specific to the extension bundle for that project. For example, the default bundle is 'Microsoft.Azure.Functions.ExtensionBundle' and the matching feed is https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index-v2.json

@mattchenderson
Copy link
Member Author

See Azure/Azure-Functions#2576 for other related issues across other Functions repos

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants