experimental Azure Web adapter
This commit is contained in:
@@ -98,7 +98,7 @@
|
||||
<hostJson>${project.basedir}/src/main/resources/host.json</hostJson>
|
||||
|
||||
<runtime>
|
||||
<os>linux</os>
|
||||
<os>linux</os>
|
||||
<javaVersion>11</javaVersion>
|
||||
</runtime>
|
||||
|
||||
@@ -126,7 +126,7 @@
|
||||
- [Java Versions](https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-java?tabs=bash%2Cconsumption#java-versions)
|
||||
- Specify [Deployment OS](https://learn.microsoft.com/en-us/azure/azure-functions/functions-reference-java?tabs=bash%2Cconsumption#specify-the-deployment-os)
|
||||
|
||||
* Build the project:
|
||||
* Build the project:
|
||||
|
||||
```
|
||||
./mvnw clean package
|
||||
@@ -134,7 +134,7 @@
|
||||
|
||||
## Running Locally
|
||||
|
||||
NOTE: To run locally on top of `Azure Functions`, and to deploy to your live Azure environment, you will need `Azure Functions Core Tools` installed along with the Azure CLI (see [here](https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-java?tabs=bash%2Cazure-cli%2Cbrowser#configure-your-local-environment)).
|
||||
NOTE: To run locally on top of `Azure Functions`, and to deploy to your live Azure environment, you will need `Azure Functions Core Tools` installed along with the Azure CLI (see [here](https://docs.microsoft.com/en-us/azure/azure-functions/create-first-function-cli-java?tabs=bash%2Cazure-cli%2Cbrowser#configure-your-local-environment)).
|
||||
For some configuration you would need the [Azurite emulator](https://learn.microsoft.com/en-us/azure/storage/common/storage-use-emulator) as well.
|
||||
|
||||
Then build and run the sample:
|
||||
@@ -162,7 +162,7 @@ Build and deploy
|
||||
|
||||
Run the function in debug mode.
|
||||
```
|
||||
./mvnw azure-functions:deploy -DenableDebug
|
||||
./mvnw azure-functions:run -DenableDebug
|
||||
```
|
||||
|
||||
Alternatively and the `JAVA_OPTS` value to your `local.settings.json` like this:
|
||||
@@ -191,7 +191,7 @@ VS Code remote debug configuration:
|
||||
"request": "attach",
|
||||
"hostName": "localhost",
|
||||
"port": "5005"
|
||||
},
|
||||
},
|
||||
}
|
||||
|
||||
|
||||
```
|
||||
@@ -15,9 +15,9 @@
|
||||
</parent>
|
||||
|
||||
<modules>
|
||||
<!-- <module>function-azure-di-samples/azure-httptrigger-demo</module>
|
||||
<module>function-azure-di-samples/azure-httptrigger-demo</module>
|
||||
<module>function-azure-di-samples/azure-timetrigger-demo</module>
|
||||
<module>function-azure-di-samples/azure-blob-trigger-demo</module> -->
|
||||
<module>function-azure-di-samples/azure-blob-trigger-demo</module>
|
||||
<module>function-sample-pof</module>
|
||||
<module>function-sample-pojo</module>
|
||||
<module>function-sample-aws</module>
|
||||
|
||||
Reference in New Issue
Block a user