diff --git a/functions/health/function.json b/functions/health/function.json new file mode 100644 index 0000000..1d07ec5 --- /dev/null +++ b/functions/health/function.json @@ -0,0 +1,16 @@ +{ + "bindings": [ + { + "authLevel": "anonymous", + "type": "httpTrigger", + "direction": "in", + "name": "req", + "methods": ["get"] + }, + { + "type": "http", + "direction": "out", + "name": "res" + } + ] +} \ No newline at end of file diff --git a/functions/host.json b/functions/host.json new file mode 100644 index 0000000..714e08a --- /dev/null +++ b/functions/host.json @@ -0,0 +1,23 @@ +{ + "version": "2.0", + "logging": { + "applicationInsights": { + "samplingSettings": { + "isEnabled": true, + "excludedTypes": "Request" + } + } + }, + "extensionBundle": { + "id": "Microsoft.Azure.Functions.ExtensionBundle", + "version": "[4.*, 5.0.0)" + }, + "customHandler": { + "description": { + "defaultExecutablePath": "octolint_linux_amd64_azure", + "workingDirectory": "", + "arguments": [] + }, + "enableForwardingHttpRequest": true + } +} \ No newline at end of file diff --git a/functions/local.settings.json b/functions/local.settings.json new file mode 100644 index 0000000..25bc3ed --- /dev/null +++ b/functions/local.settings.json @@ -0,0 +1,7 @@ +{ + "IsEncrypted": false, + "Values": { + "FUNCTIONS_WORKER_RUNTIME": "custom", + "AzureWebJobsStorage": "" + } +} \ No newline at end of file