Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

isSessionsEnabled = true does not reflect in function.json #129

Open
11ohina017 opened this issue Nov 3, 2021 · 2 comments
Open

isSessionsEnabled = true does not reflect in function.json #129

11ohina017 opened this issue Nov 3, 2021 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@11ohina017
Copy link

11ohina017 commented Nov 3, 2021

I set is SessionsEnabled = true, but the setting is not reflected in function.json generated after building with gradle azureFunctionsPackage.

  • target source
public class Function {

@FunctionName("FunctionApp")
public void run(
        @ServiceBusQueueTrigger(
               name = "TriggerName",
               queueName = "queueName",
               connection = "ConnectionString", 
               isSessionsEnabled = true
        ) String message,
        ExecutionContext context
) {
  }
}
  • function.json
{
  "scriptFile" : "../func.jar",
  "entryPoint" : "test.Function.run",
  "bindings" : [ {
    "type" : "serviceBusTrigger",
    "direction" : "in",
    "name" : "TriggerName",
    "queueName" : "queueName",
    "connection" : "ConnectionString"
  } ]
}

How to set isSessionsEnabled = true in function.json?

@11ohina017
Copy link
Author

It seems that isSessionsEnabled is supported by mave plugin, but for some reason isSessionsEnabled is not generated in fucntion.json when implemented with gradle plugin.

microsoft/azure-maven-plugins#822

@andxu andxu self-assigned this Nov 8, 2021
@andxu andxu added the bug Something isn't working label Nov 8, 2021
@11ohina017
Copy link
Author

When will this issue be completed?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants