Azure / Azure/azure-functions-java-library
Default connection to "AzureWebJobsStorage"
- Lingua principale
- Java
- Stelle
- 45
- Fork
- 49
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
_From @mjiderhamn in https://github.com/Microsoft/azure-maven-plugins/issues/269_
### Plugin name and version
`azure-functions-maven-plugin` 1.0.0-beta-2
### Expected behavior
`com.microsoft.azure.functions.annotation.*Trigger.connection` has a default value of empty string. Documentation (albeit for C#) says "If you leave `connection` empty, the Functions runtime uses the default Storage connection string in the app setting that is named `AzureWebJobsStorage`."
### Actual behavior
If `connection` annotation attribute is not provided, the following error occurs when executing `azure-functions:package`:
```
[ERROR] Failed to execute goal com.microsoft.azure:azure-functions-maven-plugin:1.0.0-beta-2:package (package-functions) on project serverless-azure: Storage binding (blob/queue/table) must have non-empty connection. Invalid storage binding found on method: se.jiderhamn.serverless.azure.AzureFunction.transformBlob -> [Help 1]
```
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start with the com.microsoft.azure.functions.annotation.*Trigger connection attributes and the azure-functions-maven-plugin package goal named in the report. Trace where an omitted connection is rejected and check whether that validation belongs in this library or the plugin. Done means a trigger without connection uses AzureWebJobsStorage and the relevant packaging test succeeds.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- azure, java
- Ambito
- backend
- Tipo di issue
- Bug
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Abbastanza chiara
- Idoneità per principianti
- 35/100