Azure / azure-functions-java-library

Contains annotations for writing Azure Functions in Java
MIT License
43 stars 43 forks source link

CosmosDBTrigger will not work when "leaseDatabaseName" and "leaseConnectionStringSetting" are set to empty #64

Closed Flanker32 closed 5 years ago

Flanker32 commented 5 years ago

The default value of leaseDatabaseName and leaseConnectionStringSetting are both empty in CosmosDBTrigger annotations. Function deployed to azure will not work if function.json contains the two empty attribtues above., but when the attributes are removed, the function could work well again.

Related with https://github.com/Microsoft/azure-maven-plugins/issues/466