diff --git a/.vscode/settings.json b/.vscode/settings.json index 1b400fa..662cce3 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,9 +1,10 @@ { - "azureFunctions.deploySubpath": "src", + "azureFunctions.deploySubpath": "src/McpWeatherApp", "azureFunctions.scmDoBuildDuringDeployment": true, "azureFunctions.pythonVenv": ".venv", "azureFunctions.projectLanguage": "Python", "azureFunctions.projectRuntime": "~4", "debug.internalConsoleOptions": "neverOpen", - "azureFunctions.projectLanguageModel": 2 + "azureFunctions.projectLanguageModel": 2, + "azureFunctions.defaultFunctionAppPath": "src/McpWeatherApp" } \ No newline at end of file diff --git a/.vscode/tasks.json b/.vscode/tasks.json index 24d2a06..ba6a6f7 100644 --- a/.vscode/tasks.json +++ b/.vscode/tasks.json @@ -14,7 +14,7 @@ "command": "${config:azureFunctions.pythonVenv}/bin/python -m pip install -r requirements.txt" }, "options": { - "cwd": "${workspaceFolder}/src" + "cwd": "${workspaceFolder}/src/McpWeatherApp" }, "problemMatcher": [] }, @@ -25,7 +25,7 @@ "problemMatcher": "$func-python-watch", "isBackground": true, "options": { - "cwd": "${workspaceFolder}/src" + "cwd": "${workspaceFolder}/src/McpWeatherApp" }, "dependsOn": "func: extensions install" }, @@ -34,7 +34,7 @@ "command": "extensions install", "dependsOn": "pip install (functions)", "options": { - "cwd": "${workspaceFolder}/src" + "cwd": "${workspaceFolder}/src/McpWeatherApp" }, "problemMatcher": [] } diff --git a/infra/main.bicep b/infra/main.bicep index efdf67a..cfcd43d 100644 --- a/infra/main.bicep +++ b/infra/main.bicep @@ -263,6 +263,7 @@ module monitoring 'br/public:avm/res/insights/component:0.6.0' = { // App outputs output APPLICATIONINSIGHTS_CONNECTION_STRING string = monitoring.outputs.connectionString output AZURE_LOCATION string = location +output AZURE_RESOURCE_GROUP string = rg.name output AZURE_TENANT_ID string = tenant().tenantId output SERVICE_API_NAME string = api.outputs.SERVICE_API_NAME output SERVICE_API_DEFAULT_HOSTNAME string = api.outputs.SERVICE_MCP_DEFAULT_HOSTNAME