ingestion-pipeline v1.1.16
Ingestion-Pipeline
This serverless function takes in tag data from the Azure Service bus and inserts the raw data into MongoDB "Readings" collection.
Install dependencies
Before you can get started, you should install .NET Core 2.1. You should also install Node.JS which includes npm, which is how you will obtain the Azure Functions Core Tools. If you prefer not to install Node, see the other installation options in our Core Tools reference.
Run the following command to install the Core Tools package:
npm install -g azure-functions-core-tools
Run your function project locally
Run the following command to start your function app:
func start
The function configuration for the Asure service bus and the MongoDB can be changed from the local.settings.json file.
To stop debugging, use Ctrl-C in the terminal.
Deploy your code to Azure
To publish your Functions project into Azure, enter the following command:
func azure functionapp publish ingestion-pipeline
4 years ago