Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace radius.dev and some instances of radapp.dev with radapp.io #6357

Merged
merged 4 commits into from
Oct 3, 2023
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
4 changes: 2 additions & 2 deletions pkg/armrpc/api/v1/armrequestcontext_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ func TestFromARMRequest(t *testing.T) {
}{
{
"With referer header",
"https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0",
},
{
Expand All @@ -46,7 +46,7 @@ func TestFromARMRequest(t *testing.T) {
},
{
"With referer path base",
"https://radius.dev/apis/api.ucp.dev/v1alpha3/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"https://radapp.io/apis/api.ucp.dev/v1alpha3/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0",
},
}
Expand Down
6 changes: 3 additions & 3 deletions pkg/armrpc/api/v1/testdata/armrpcheaders.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-RG/providers/Applications.Core/environments/Env0?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions?api-version=2.0",
"Referer": "https://radapp.io/subscriptions?api-version=2.0",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev/subscriptions?api-version=2.0",
"X-Fd-Originalurl": "https://radapp.io/subscriptions?api-version=2.0",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationResults/00000000-0000-0000-0000-000000000000",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationResults/00000000-0000-0000-0000-000000000000",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"X-Fd-Originalurl": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"Location": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationResults/00000000-0000-0000-0000-000000000000",
"Location": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationResults/00000000-0000-0000-0000-000000000000",
"Retry-After": 60
}
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"X-Fd-Originalurl": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/providers/Applications.Core/locations/westus/operationStatuses/00000000-0000-0000-0000-000000000000",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/planes/radius/local/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/planes/radius/local/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev:443/planes/radius/local/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io:443/planes/radius/local/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/kubernetes/logstream/stern.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ func (i *Impl) Stream(ctx context.Context, options Options) error {

// This is the only Radius-specific customization we make.
//
// We use the `radius.dev/application` label to include pods that are part of an application.
// We use the `radapp.io/application` label to include pods that are part of an application.
// This can include the user's Radius containers as well as any Kubernetes resources that are labeled
// as part of the application (eg: something created with a recipe).
req, err := labels.NewRequirement(kubernetes.LabelRadiusApplication, selection.Equals, []string{options.ApplicationName})
Expand Down
2 changes: 1 addition & 1 deletion pkg/cli/kubernetes/portforward/application_watcher.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func NewApplicationWatcher(options Options) *applicationWatcher {
func (aw *applicationWatcher) Run(ctx context.Context) error {
defer close(aw.done)

// We use the `radius.dev/application` label to include pods that are part of an application.
// We use the `radapp.io/application` label to include pods that are part of an application.
// This can include the user's Radius containers as well as any Kubernetes resources that are labeled
// as part of the application (eg: something created with a recipe).
req, err := labels.NewRequirement(kubernetes.LabelRadiusApplication, selection.Equals, []string{aw.Options.ApplicationName})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/containers/test-container-0?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/containers/test-container-0?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/containers/test-container-0?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/containers/test-container-0?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"Accept-Language": "en-US",
"Content-Length": "305",
"Content-Type": "application/json; charset=utf-8",
"Referer": "https://radius.dev/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0/getmetadata?api-version=2023-10-01-preview",
"Referer": "https://radapp.io/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/applications.core/environments/env0/getmetadata?api-version=2023-10-01-preview",
"Traceparent": "00-000011048df2134ca37c9a689c3a0000-0000000000000000-01",
"User-Agent": "ARMClient/1.6.0.0",
"Via": "1.1 Azure",
Expand All @@ -14,14 +14,14 @@
"X-Fd-Edgeenvironment": "fake",
"X-Fd-Eventid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Impressionguid": "00005A12DDEC4F8B80B65BB768190000",
"X-Fd-Originalurl": "https://radius.dev:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0/getmetadata?api-version=2023-10-01-preview",
"X-Fd-Originalurl": "https://radapp.io:443/subscriptions/00000000-0000-0000-0000-000000000000/resourceGroups/radius-test-rg/providers/Applications.Core/environments/env0/getmetadata?api-version=2023-10-01-preview",
"X-Fd-Partner": "AzureResourceManager_Test",
"X-Fd-Ref": "Ref A: xxxx Ref B: xxxx Ref C: 2022-03-22T18:54:50Z",
"X-Fd-Revip": "country=United States,iso=us,state=Washington,city=Redmond,zip=00000,tz=-8,asn=0,lat=0,long=-1,countrycf=8,citycf=8",
"X-Fd-Routekey": "000075000",
"X-Fd-Socketip": "0000:0000:0000:1:0000:0000:0000:0000",
"X-Forwarded-For": "192.168.0.10",
"X-Forwarded-Host": "radius.dev",
"X-Forwarded-Host": "radapp.io",
"X-Forwarded-Port": "443",
"X-Forwarded-Proto": "https",
"X-Forwarded-Scheme": "https",
Expand Down
Loading
Loading