azure-gradle-plugins icon indicating copy to clipboard operation
azure-gradle-plugins copied to clipboard

Incorrect functions.json

Open lonpalmer opened this issue 7 years ago • 1 comments

Latest version does not correctly create the bindings in the funciton.json file for each function. Previous version built from sources did create the function bindings correctly.

Correct function.json for my application:

{ "scriptFile" : "..\blah-1.0-SNAPSHOT.jar", "entryPoint" : "someurl", "bindings" : [ { "type" : "httpTrigger", "name" : "req", "direction" : "in", "route" : "network/{network-id}", "webHookType" : "NONE", "authLevel" : "anonymous", "methods" : [ "GET" ] }, { "type" : "http", "name" : "$return", "direction" : "out", "webHookType" : "NONE" } ], "disabled" : false }

New code produces: { "scriptFile" : "..\blah-1.0-SNAPSHOT.jar", "entryPoint" : "someurl", }

lonpalmer avatar Sep 28 '18 15:09 lonpalmer

More news, seems to only apply to http trigger.

lonpalmer avatar Oct 01 '18 16:10 lonpalmer