forked from radius-project/radius
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Adding EnableWebsockets property to the gateway (radius-project#7643)
# Description Based on the issue created, web sockets are not supported in our Gateway resource as of now. We added **EnableWebsockets** property to the Gateway Route Resource so that it can be set by Radius users. By default, it is set to false. ## Type of change - This pull request fixes a bug in Radius and has an approved issue (issue link required). - This pull request adds or changes features of Radius and has an approved issue (issue link required). Fixes: radius-project#7590 --------- Signed-off-by: ytimocin <ytimocin@microsoft.com>
- Loading branch information
Showing
11 changed files
with
265 additions
and
51 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
...bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.json
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
42 changes: 42 additions & 0 deletions
42
pkg/corerp/api/v20231001preview/testdata/gatewayresourcedatamodel-with-enablewebsockets.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
{ | ||
"id": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/gateways/gateway0", | ||
"name": "gateway0", | ||
"type": "Applications.Core/gateways", | ||
"systemData": { | ||
"createdBy": "fakeid@live.com", | ||
"createdByType": "User", | ||
"createdAt": "2021-09-24T19:09:54.2403864Z", | ||
"lastModifiedBy": "fakeid@live.com", | ||
"lastModifiedByType": "User", | ||
"lastModifiedAt": "2021-09-24T20:09:54.2403864Z" | ||
}, | ||
"tags": { | ||
"env": "dev" | ||
}, | ||
"properties": { | ||
"status": { | ||
"outputResources": [ | ||
{ | ||
"id": "/planes/test/local/providers/Test.Namespace/testResources/test-resource" | ||
} | ||
] | ||
}, | ||
"application": "/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/testGroup/providers/Applications.Core/applications/app0", | ||
"hostname": { | ||
"fullyQualifiedHostname": "myapp.mydomain.com", | ||
"prefix": "myprefix" | ||
}, | ||
"routes": [ | ||
{ | ||
"destination": "mydestination", | ||
"path": "mypath", | ||
"replacePrefix": "myreplaceprefix", | ||
"enableWebsockets": true | ||
} | ||
], | ||
"tls": { | ||
"sslPassthrough": true | ||
}, | ||
"url": "http://myprefix.myapp.mydomain.com" | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.