Azure / Azure/azure-functions-java-library

Default connection to "AzureWebJobsStorage"

オープン
#43 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る
area:java-functions
主要言語
Java
スター
45
フォーク
49
PR マージ指標
30日以内にマージされた PR はありません

説明

_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]
```

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, java
領域
backend
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。