Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -13890,6 +13890,11 @@
"operatorProperties": {
"$ref": "#/definitions/GatewayOperatorProperties",
"readOnly": true
},
"responseCacheProperties": {
"$ref": "#/definitions/GatewayResponseCacheProperties",
"description": "The properties to configure different types of response cache for Spring Cloud Gateway.",
"x-ms-client-flatten": false
}
}
},
Expand Down Expand Up @@ -14288,6 +14293,70 @@
}
}
},
"GatewayResponseCacheProperties": {
"description": "Spring Cloud Gateway response cache properties.",
"required": [
"responseCacheType"
],
"type": "object",
"properties": {
"responseCacheType": {
"description": "The type of the response cache.",
"type": "string",
"x-ms-mutability": [
"create",
"read"
]
}
},
"discriminator": "responseCacheType"
},
"GatewayLocalResponseCachePerRouteProperties": {
"description": "Spring Cloud Gateway local response cache per route properties.",
"required": [
"responseCacheType"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GatewayResponseCacheProperties"
}
],
"properties": {
"size": {
"description": "Maximum size of cache (10MB, 900KB, 1GB...) to determine if the cache needs to evict some entries.",
"type": "string"
},
"timeToLive": {
"description": "Time before a cached entry is expired (300s, 5m, 1h...)",
"type": "string"
}
},
"x-ms-discriminator-value": "LocalCachePerRoute"
},
"GatewayLocalResponseCachePerInstanceProperties": {
"description": "Spring Cloud Gateway local response cache per instance properties.",
"required": [
"responseCacheType"
],
"type": "object",
"allOf": [
{
"$ref": "#/definitions/GatewayResponseCacheProperties"
}
],
"properties": {
"size": {
"description": "Maximum size of cache (10MB, 900KB, 1GB...) to determine if the cache needs to evict some entries",
"type": "string"
},
"timeToLive": {
"description": "Time before a cached entry is expired (300s, 5m, 1h...)",
"type": "string"
}
},
"x-ms-discriminator-value": "LocalCachePerInstance"
},
"ApiPortalResourceCollection": {
"description": "Object that includes an array of API portal resources and a possible link for next set",
"type": "object",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,11 @@
"resourceRequests": {
"cpu": "1",
"memory": "1G"
},
"responseCacheProperties": {
"responseCacheType": "LocalCachePerRoute",
"size": "5MB",
"timeToLive": "300s"
}
},
"sku": {
Expand All @@ -41,6 +46,11 @@
"cpu": "1",
"memory": "1G"
},
"responseCacheProperties": {
"responseCacheType": "LocalCachePerRoute",
"size": "5MB",
"timeToLive": "300s"
},
"instances": [
{
"name": "instance1",
Expand Down Expand Up @@ -102,6 +112,11 @@
"cpu": "1",
"memory": "1G"
},
"responseCacheProperties": {
"responseCacheType": "LocalCachePerRoute",
"size": "5MB",
"timeToLive": "300s"
},
"instances": [
{
"name": "instance1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,11 @@
"cpu": "1",
"memory": "1G"
},
"responseCacheProperties": {
"responseCacheType": "LocalCachePerRoute",
"size": "5MB",
"timeToLive": "300s"
},
"instances": [
{
"name": "instance1",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@
"cpu": "1",
"memory": "1G"
},
"responseCacheProperties": {
"responseCacheType": "LocalCachePerRoute",
"size": "5MB",
"timeToLive": "300s"
},
"instances": [
{
"name": "instance1",
Expand Down