https://github.com/jefking/fn-call-webhook
Web Hook Registry, and Invoker (Serverless)
https://github.com/jefking/fn-call-webhook
arm azure azure-functions-v2 azure-resource-manager azure-storage cloud event-sourcing iaac serverless service-bus-queue
Last synced: 6 months ago
JSON representation
Web Hook Registry, and Invoker (Serverless)
- Host: GitHub
- URL: https://github.com/jefking/fn-call-webhook
- Owner: jefking
- License: mit
- Created: 2019-05-27T21:02:14.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-11-27T22:46:01.000Z (almost 6 years ago)
- Last Synced: 2025-02-01T23:17:49.602Z (8 months ago)
- Topics: arm, azure, azure-functions-v2, azure-resource-manager, azure-storage, cloud, event-sourcing, iaac, serverless, service-bus-queue
- Language: JavaScript
- Homepage:
- Size: 116 KB
- Stars: 5
- Watchers: 3
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure Functions
Diving deep into a hack-a-thon, with Functions.
fakeload (test) -> API -> Worker -> fakehook (test)Functions
- fake-hook: used to provide an endpoint to call out to.
- fake-load: cron-job, to push events through the system.
- publish: publishes an action on the queue
- register: registers a user/action to a web hook
- worker: calls web hooks, when message is pushed through queueOrder
Fake Load -> Publish (event) -> Service Bus Queue -> Worker -> loads data from /registry -> calls registered webhook (Fake-hook)
- Fake Load, generates fake/random data
- Publish, where you push your events to (what Fake Load calls)## Deployment
[](https://azuredeploy.net/)
### Pre-requisits
[Azure-Cli](https://docs.microsoft.com/en-us/cli/azure/install-azure-cli?view=azure-cli-latest)
### Step 1.
```
az group create -l westus2 -n oss
```### Step 2.
```
az group deployment create --name deploying --resource-group oss --template-file azure-deploy.json --parameters azure-deploy.params.json
```### Step 3
Function App configuration 'LoadPost' set to URL of Publish function### Step 4.
Update files in ./data: -> URL of 'fake-hook' function; which simulates catching web-hook calls.### Step 5.
Upload files to Blob Storage; local ./data -> storage acc/registry