Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions http/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<java.version>17</java.version>
<java.version>21</java.version>
<azure.functions.maven.plugin.version>1.36.0</azure.functions.maven.plugin.version>
<azure.functions.java.library.version>3.1.0</azure.functions.java.library.version>
<functionAppName>contoso-functions</functionAppName>
Expand Down Expand Up @@ -83,7 +83,7 @@
<runtime>
<!-- runtime os, could be windows, linux or docker-->
<os>linux</os>
<javaVersion>17</javaVersion>
<javaVersion>21</javaVersion>
</runtime>
<appSettings>
<property>
Expand Down
2 changes: 1 addition & 1 deletion infra/core/host/functions-flexconsumption.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ param identityId string
'dotnet-isolated', 'node', 'python', 'java', 'powershell', 'custom'
])
param runtimeName string
@allowed(['3.10', '3.11', '7.4', '8.0', '10', '11', '17', '20'])
@allowed(['3.10', '3.11', '7.4', '8.0', '10', '11', '17', '20', '21'])
param runtimeVersion string
param kind string = 'functionapp,linux'

Expand Down
2 changes: 1 addition & 1 deletion infra/main.bicep
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ module api './app/api.bicep' = {
applicationInsightsName: monitoring.outputs.applicationInsightsName
appServicePlanId: appServicePlan.outputs.id
runtimeName: 'java'
runtimeVersion: '17'
runtimeVersion: '21'
storageAccountName: storage.outputs.name
identityId: apiUserAssignedIdentity.outputs.identityId
identityClientId: apiUserAssignedIdentity.outputs.identityClientId
Expand Down