From fe5462e0e81c5e4f7d93045d89f4ca13fb99f016 Mon Sep 17 00:00:00 2001
From: minhduc0711 <phamminhduc0711@gmail.com>
Date: Wed, 23 Nov 2022 01:57:45 +0100
Subject: [PATCH] Rename dir for p4

---
 azure_fn_integrate/.gitignore                 | 135 ------------------
 azure_fn_integrate/getting_started.md         |  48 -------
 .../.funcignore                               |   0
 .../function_app.py                           |   0
 .../host.json                                 |   0
 .../requirements.txt                          |   0
 6 files changed, 183 deletions(-)
 delete mode 100644 azure_fn_integrate/.gitignore
 delete mode 100644 azure_fn_integrate/getting_started.md
 rename {azure_fn_integrate => azure_function}/.funcignore (100%)
 rename {azure_fn_integrate => azure_function}/function_app.py (100%)
 rename {azure_fn_integrate => azure_function}/host.json (100%)
 rename {azure_fn_integrate => azure_function}/requirements.txt (100%)

diff --git a/azure_fn_integrate/.gitignore b/azure_fn_integrate/.gitignore
deleted file mode 100644
index 7685fc4..0000000
--- a/azure_fn_integrate/.gitignore
+++ /dev/null
@@ -1,135 +0,0 @@
-# Byte-compiled / optimized / DLL files
-__pycache__/
-*.py[cod]
-*$py.class
-
-# C extensions
-*.so
-
-# Distribution / packaging
-.Python
-build/
-develop-eggs/
-dist/
-downloads/
-eggs/
-.eggs/
-lib/
-lib64/
-parts/
-sdist/
-var/
-wheels/
-pip-wheel-metadata/
-share/python-wheels/
-*.egg-info/
-.installed.cfg
-*.egg
-MANIFEST
-
-# PyInstaller
-#  Usually these files are written by a python script from a template
-#  before PyInstaller builds the exe, so as to inject date/other infos into it.
-*.manifest
-*.spec
-
-# Installer logs
-pip-log.txt
-pip-delete-this-directory.txt
-
-# Unit test / coverage reports
-htmlcov/
-.tox/
-.nox/
-.coverage
-.coverage.*
-.cache
-nosetests.xml
-coverage.xml
-*.cover
-.hypothesis/
-.pytest_cache/
-
-# Translations
-*.mo
-*.pot
-
-# Django stuff:
-*.log
-local_settings.py
-db.sqlite3
-
-# Flask stuff:
-instance/
-.webassets-cache
-
-# Scrapy stuff:
-.scrapy
-
-# Sphinx documentation
-docs/_build/
-
-# PyBuilder
-target/
-
-# Jupyter Notebook
-.ipynb_checkpoints
-
-# IPython
-profile_default/
-ipython_config.py
-
-# pyenv
-.python-version
-
-# pipenv
-#   According to pypa/pipenv#598, it is recommended to include Pipfile.lock in version control.
-#   However, in case of collaboration, if having platform-specific dependencies or dependencies
-#   having no cross-platform support, pipenv may install dependencies that don’t work, or not
-#   install all needed dependencies.
-#Pipfile.lock
-
-# celery beat schedule file
-celerybeat-schedule
-
-# SageMath parsed files
-*.sage.py
-
-# Environments
-.env
-.venv
-env/
-venv/
-ENV/
-env.bak/
-venv.bak/
-
-# Spyder project settings
-.spyderproject
-.spyproject
-
-# Rope project settings
-.ropeproject
-
-# mkdocs documentation
-/site
-
-# mypy
-.mypy_cache/
-.dmypy.json
-dmypy.json
-
-# Pyre type checker
-.pyre/
-
-# Azure Functions artifacts
-bin
-obj
-appsettings.json
-local.settings.json
-
-# Azurite artifacts
-__blobstorage__
-__queuestorage__
-__azurite_db*__.json
-.python_packages
\ No newline at end of file
diff --git a/azure_fn_integrate/getting_started.md b/azure_fn_integrate/getting_started.md
deleted file mode 100644
index 938477f..0000000
--- a/azure_fn_integrate/getting_started.md
+++ /dev/null
@@ -1,48 +0,0 @@
-# Getting Started with Azure Functions in Python
-  
-
-## Python Programming Model V2 (Preview)
-
-The new programming model in Azure Functions Python delivers an experience that aligns with Python development principles, and subsequently with commonly used Python frameworks. 
-
-The improved programming model requires fewer files than the default model, and specifically eliminates the need for a configuration file (`function.json`). Instead, triggers and bindings are represented in the `function_app.py` file as decorators. Moreover, functions can be logically organized with support for multiple functions to be stored in the same file. Functions within the same function application can also be stored in different files, and be referenced as blueprints.
-
-In addition to the [documentation](https://docs.microsoft.com/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level), hints are available in code editors that support type checking with PYI files.
-
-To learn more about the new programming model for Azure Functions in Python, see [Programming Models in Azure Functions](https://aka.ms/functions-programming-models).
-
-## Notes
-
-- Mix and match of Functions written in the V1 programming model and the V2 programming model in the same Function App will not be supported.
-- At this time, the main functions file must be named `function_app.py`.
-
-To learn more about the new programming model for Azure Functions in Python, see the [Azure Functions Python developer guide](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level).
-
-## Getting Started
-
-Project Structure
-
-The main project folder (<project_root>) can contain the following files:
-
-* *function_app.py*: Functions along with their triggers and bindings are defined here.
-* *local.settings.json*: Used to store app settings and connection strings when running locally. This file doesn't get published to Azure.
-* *requirements.txt*: Contains the list of Python packages the system installs when publishing to Azure.
-* *host.json*: Contains configuration options that affect all functions in a function app instance. This file does get published to Azure. Not all options are supported when running locally.
-* *blueprint.py*: (Optional) Functions that are defined in a separate file for logical organization and grouping, that can be referenced in `function_app.py`.    
-* *.vscode/*: (Optional) Contains store VSCode configuration.
-* *.venv/*: (Optional) Contains a Python virtual environment used by local development.
-* *Dockerfile*: (Optional) Used when publishing your project in a custom container.
-* *tests/*: (Optional) Contains the test cases of your function app.
-* *.funcignore*: (Optional) Declares files that shouldn't get published to Azure. Usually, this file contains `.vscode/` to ignore your editor setting, `.venv/` to ignore local Python virtual environment, `tests/` to ignore test cases, and `local.settings.json` to prevent local app settings being published.
-  
-## Developing your first Python function using VS Code
-
-If you have not already, please checkout our [quickstart](https://aka.ms/fxpythonquickstart) to get you started with Azure Functions developments in Python.
-
-## Publishing your function app to Azure
-  
-For more information on deployment options for Azure Functions, please visit this [guide](https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-vs-code-python#publish-the-project-to-azure).
-
-## Next Steps
-  
-To learn more specific guidance on developing Azure Functions with Python, please visit [Azure Functions Developer Python Guide](https://docs.microsoft.com/en-us/azure/azure-functions/functions-reference-python?tabs=asgi%2Capplication-level).
\ No newline at end of file
diff --git a/azure_fn_integrate/.funcignore b/azure_function/.funcignore
similarity index 100%
rename from azure_fn_integrate/.funcignore
rename to azure_function/.funcignore
diff --git a/azure_fn_integrate/function_app.py b/azure_function/function_app.py
similarity index 100%
rename from azure_fn_integrate/function_app.py
rename to azure_function/function_app.py
diff --git a/azure_fn_integrate/host.json b/azure_function/host.json
similarity index 100%
rename from azure_fn_integrate/host.json
rename to azure_function/host.json
diff --git a/azure_fn_integrate/requirements.txt b/azure_function/requirements.txt
similarity index 100%
rename from azure_fn_integrate/requirements.txt
rename to azure_function/requirements.txt
-- 
GitLab