microsoft / microsoft/azure-tools-for-java

quarkus-azure-functions extension not working with Azure Toolkit

Open
#7,534 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Module: Azure Functions Type: Bug
Dominant language
Java
Stars
262
Forks
185
Avg merge
2d 21h
Merged PRs (30d)
1

Description

Once I add the quarkus-azure-functions extension to my project, I cannot run or debug anymore.
When running the Azure function via the maven plugin, everything is working as expected.

./mvnw clean package azure-functions:run

[INFO] Azure Functions Core Tools found.

Azure Functions Core Tools
Core Tools Version:       4.0.5095 Commit hash: N/A  (64-bit)
Function Runtime Version: 4.16.5.20396


Functions:

	HttpExample: [GET,POST] http://localhost:7071/api/HttpExample

For detailed output, run func with --verbose flag.
[2023-05-05T15:22:19.502Z] Worker process started and initialized.
[2023-05-05T15:22:21.871Z] Host lock lease acquired by instance ID '000000000000000000000000BF9B5D31'.
[2023-05-05T15:22:22.349Z] mei 05, 2023 5:22:22 P.M. org.jboss.threads.Version <clinit>
[2023-05-05T15:22:22.349Z] INFO: JBoss Threads version 3.5.0.Final
[2023-05-05T15:22:22.387Z] mei 05, 2023 5:22:22 P.M. io.quarkus.bootstrap.runner.Timing printStartupTime
[2023-05-05T15:22:22.387Z] INFO: code-with-quarkus 1.0.0-SNAPSHOT on JVM (powered by Quarkus 3.0.2.Final) started in 0.346s. 
[2023-05-05T15:22:22.388Z] mei 05, 2023 5:22:22 P.M. io.quarkus.bootstrap.runner.Timing printStartupTime
[2023-05-05T15:22:22.388Z] INFO: Profile prod activated. 
[2023-05-05T15:22:22.388Z] mei 05, 2023 5:22:22 P.M. io.quarkus.bootstrap.runner.Timing printStartupTime
[2023-05-05T15:22:22.388Z] INFO: Installed features: [azure-functions, cdi]

While trying to run or debug the function via the IntelliJ Azure Toolkit, nothing is happening.

Extension bundle specified, skip install extension

Azure Functions Core Tools
Core Tools Version:       4.0.5095 Commit hash: N/A  (64-bit)
Function Runtime Version: 4.16.5.20396


Functions:

	HttpExample: [GET,POST] http://localhost:56090/api/HttpExample

For detailed output, run func with --verbose flag.
[2023-05-05T15:37:21.616Z] Worker process started and initialized.
[2023-05-05T15:37:23.616Z] Host lock lease acquired by instance ID '000000000000000000000000BF9B5D31'.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the failure in the IntelliJ Azure Toolkit with the quarkus-azure-functions extension, then compare it with ./mvnw clean package azure-functions:run. Use the differing Core Tools output and the run/debug entry points to identify why the Toolkit does not complete execution; done means the function can run and debug through the Toolkit.

Written by the indexing model from the issue text.

Assessment

Tech stack
azure, java
Domain
cloud, devtools
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.