Skip to content

Commit 5d1ce63

Browse files
authored
Adding "ran into issue" button
1 parent 9a9f19a commit 5d1ce63

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

articles/azure-functions/functions-create-first-java-maven.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,6 +79,9 @@ Maven creates the project files in a new folder with a name of _artifactId_, whi
7979

8080
Open the new Function.java file from the *src/main/java* path in a text editor and review the generated code. This code is an [HTTP triggered](functions-bindings-http-webhook.md) function that echoes the body of the request.
8181

82+
> [!div class="nextstepaction"]
83+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=generate-project)
84+
8285
## Run the function locally
8386

8487
Run the following command, which changes the directory to the newly created project folder, then builds and runs the function project:
@@ -114,6 +117,9 @@ Hello AzureFunctions!
114117
```
115118
The [function key](functions-bindings-http-webhook.md#authorization-keys) isn't required when running locally. Use `Ctrl+C` in the terminal to stop the function code.
116119

120+
> [!div class="nextstepaction"]
121+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=local-run)
122+
117123
## Deploy the function to Azure
118124

119125
A function app and related resources are created in Azure when you first deploy your function app. Before you can deploy, use the [az login](/cli/azure/authenticate-azure-cli) Azure CLI command to sign in to your Azure subscription.
@@ -142,6 +148,9 @@ The deployment also packages the project files and deploys them to the new funct
142148

143149
After the deployment completes, you see the URL you can use to access your function app endpoints. Because the HTTP trigger we published uses `authLevel = AuthorizationLevel.FUNCTION`, you need to get the function key to call the function endpoint over HTTP. The easiest way to get the function key is from the [Azure portal].
144150

151+
> [!div class="nextstepaction"]
152+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=deploy)
153+
145154
## Get the HTTP trigger URL
146155

147156
<!--- We can updates this to remove portal dependency after the Maven archetype returns the full URLs with keys on publish (https://github.com/microsoft/azure-maven-plugins/issues/571). -->
@@ -172,6 +181,9 @@ This sends a POST request to the function endpoint with `AzureFunctions` in the
172181
Hello AzureFunctions!
173182
```
174183

184+
> [!div class="nextstepaction"]
185+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=verify-deployment)
186+
175187
## Next steps
176188

177189
You've created a Java functions project with an HTTP triggered function, run it on your local machine, and deployed it to Azure. Now, extend your function by...
@@ -181,4 +193,4 @@ You've created a Java functions project with an HTTP triggered function, run it
181193
182194

183195
[Azure CLI]: /cli/azure
184-
[Azure portal]: https://portal.azure.com
196+
[Azure portal]: https://portal.azure.com

0 commit comments

Comments
 (0)