Upgrade API to azure Python functions v2 #336
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This pull request includes significant refactoring and updates to the Azure Functions app, including the introduction of blueprints for better organization and the removal of unnecessary configuration files. The most important changes include registering blueprints in the main application file, renaming and updating function files, and removing deprecated VS Code settings.
Refactoring and Blueprint Integration:
api/function_app.py
: Registered blueprints for various routes to improve function organization.api/functions/parse_recipe.py
: Renamed fromapi/parse_recipe/main.py
, added blueprint for theparse-recipe
route.api/functions/process_backup.py
: Renamed fromapi/process_backup/main.py
, added blueprint for theprocess-backup
route.api/functions/process_image.py
: Renamed fromapi/process_image/main.py
, added blueprint for theprocess-image
route.api/functions/receive_recipe.py
: Renamed fromapi/receive_recipe/main.py
, added blueprint for thereceive-recipe
route.Configuration Cleanup:
api/.vscode/extensions.json
: Removed outdated VS Code extension recommendations.api/.vscode/launch.json
: Removed deprecated launch configuration for Python Functions.api/.vscode/settings.json
: Removed obsolete VS Code settings related to Azure Functions and Python testing.Other Updates:
api/.funcignore
: Added new entries to ignore Azurite database and storage files.api/host.json
: Updated the extension bundle version to the latest range.