Skip to content

Commit

Permalink
Enable Java Runtime in Microsoft.App 2025-01-01 (#31957)
Browse files Browse the repository at this point in the history
* Enable Java Runtime in 2025-01-01
---------

Co-authored-by: najian <jiangnan8924@gmail.com>
  • Loading branch information
2 people authored and Nan Jiang committed Jan 10, 2025
1 parent 9f93bcc commit 55e096e
Show file tree
Hide file tree
Showing 8 changed files with 70 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,10 @@
"$ref": "#/definitions/Dapr",
"description": "Dapr configuration for the Container App."
},
"runtime": {
"$ref": "#/definitions/Runtime",
"description": "App runtime configuration for the Container App."
},
"maxInactiveRevisions": {
"format": "int32",
"description": "Optional. Max inactive revisions a Container App can have.",
Expand Down Expand Up @@ -891,6 +895,22 @@
}
}
},
"Runtime": {
"description": "Container App Runtime configuration.",
"type": "object",
"properties": {
"java": {
"description": "Java app configuration",
"type": "object",
"properties": {
"enableMetrics": {
"description": "Enable jmx core metrics for the java app",
"type": "boolean"
}
}
}
}
},
"Ingress": {
"description": "Container App Ingress configuration.",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,11 @@
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
},
"runtime": {
"java": {
"enableMetrics": true
}
}
},
"template": {
Expand Down Expand Up @@ -276,6 +281,11 @@
"appPort": 3000,
"appProtocol": "http",
"httpReadBufferSize": 30
},
"runtime": {
"java": {
"enableMetrics": true
}
}
},
"template": {
Expand Down Expand Up @@ -424,6 +434,11 @@
"appPort": 3000,
"appProtocol": "http",
"httpReadBufferSize": 30
},
"runtime": {
"java": {
"enableMetrics": true
}
}
},
"template": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10
},
"template": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -76,6 +76,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10,
"service": {
"type": "redis"
Expand Down Expand Up @@ -195,6 +200,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10
},
"template": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10
},
"template": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,11 @@
"logLevel": "debug",
"enableApiLogging": true
},
"runtime": {
"java": {
"enableMetrics": true
}
},
"maxInactiveRevisions": 10
},
"template": {
Expand Down

0 comments on commit 55e096e

Please sign in to comment.