From ae34d88bcdc9944d3125b07f67ff86ac95be367e Mon Sep 17 00:00:00 2001 From: Kevin Zhao Date: Mon, 4 Sep 2017 12:43:59 +0800 Subject: [PATCH] add README for azure-functions-java-core --- azure-functions-java-core/README.md | 34 +++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 azure-functions-java-core/README.md diff --git a/azure-functions-java-core/README.md b/azure-functions-java-core/README.md new file mode 100644 index 00000000..9292ca9f --- /dev/null +++ b/azure-functions-java-core/README.md @@ -0,0 +1,34 @@ +# Azure Functions Java Core + +This package contains libraries to author Azure Functions in Java. + +### Usage +Use this package by including the following snippet in your `pom.xml`. + +```xml + + com.microsoft.azure.serverless + azure-function-java-core + 1.0-SNAPSHOT + +``` + +### Annotation for Triggers and Bindings +Instead of writing `function.json`, you can use annotations in code to specify triggers and bindings of your functions. +`function.json` can be automatically generated by [Maven Plugin for Azure Functions](https://github.com/Microsoft/azure-maven-plugins/tree/master/azure-functions-maven-plugin). + +The following table lists the Java annotations for each binding type. + +Binding | Annotation +---|--- +CosmosDB | N/A +Event Hubs | +HTTP | +Mobile Apps | N/A +Notification Hubs | N/A +Service Bus | +Storage Blob | +Storage Queue | +Storage Table | +Timer | +Twilio | N/A