Skip to content

Commit 1755576

Browse files
committed
Update content and demo function name
1 parent 2f93ed0 commit 1755576

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Open `build.gradle` and change the `appName` in the following section to a uniqu
4242
```gradle
4343
azurefunctions {
4444
resourceGroup = 'java-functions-group'
45-
appName = 'azure-functions-sample-doc'
45+
appName = 'azure-functions-sample-demo'
4646
pricingTier = 'Consumption'
4747
region = 'westus'
4848
runtime {
@@ -55,7 +55,7 @@ azurefunctions {
5555
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.
5656

5757
> [!div class="nextstepaction"]
58-
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=generate-project)
58+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-create-first-java-gradle&step=generate-project)
5959
6060
## Run the function locally
6161

@@ -96,7 +96,7 @@ Hello, AzureFunctions
9696
Use `Ctrl+C` in the terminal to stop the function code.
9797

9898
> [!div class="nextstepaction"]
99-
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=local-run)
99+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-create-first-java-gradle&step=local-run)
100100
101101
## Deploy the function to Azure
102102

@@ -127,7 +127,7 @@ The deployment also packages the project files and deploys them to the new funct
127127
The authLevel for HTTP Trigger in sample proejct is `ANONYMOUS`, which will skip the authentication. However, if you uses other authLevel like `FUNCTION` or `ADMIN`, 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].
128128

129129
> [!div class="nextstepaction"]
130-
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=deploy)
130+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-create-first-java-gradle&step=deploy)
131131
132132
## Get the HTTP trigger URL
133133

@@ -148,7 +148,7 @@ You can now use the copied URL to access your function.
148148
To verify the function app running on Azure using `cURL`, replace the URL from the sample below with the URL that you copied from the portal.
149149

150150
```console
151-
curl -w "\n" http://azure-functions-sample-doc.azurewebsites.net/api/HttpExample --data AzureFunctions
151+
curl -w "\n" http://azure-functions-sample-demo.azurewebsites.net/api/HttpExample --data AzureFunctions
152152
```
153153

154154
This sends a POST request to the function endpoint with `AzureFunctions` in the body of the request. You see the following response.
@@ -158,7 +158,7 @@ Hello, AzureFunctions
158158
</pre>
159159

160160
> [!div class="nextstepaction"]
161-
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-maven-quickstart&step=verify-deployment)
161+
> [I ran into an issue](https://www.research.net/r/javae2e?tutorial=functions-create-first-java-gradle&step=verify-deployment)
162162
163163
## Next steps
164164

6.14 KB
Loading

0 commit comments

Comments
 (0)