Skip to content
Draft
Show file tree
Hide file tree
Changes from 5 commits
Commits
Show all changes
18 commits
Select commit Hold shift + click to select a range
e1975c5
Initial plan
Copilot Apr 23, 2026
c56df78
Standardize recipe parameter naming: rename Parameters to RecipeParam…
Copilot Apr 23, 2026
0ef75a0
Remove 'recipe' prefix from kind, location, and parameters fields in …
Copilot May 13, 2026
9c7d970
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 13, 2026
3b302df
Update remaining recipeKind/recipeLocation in TypeSpec examples and t…
Copilot May 13, 2026
073ee92
Fix RecipeKind/RecipeLocation field refs in test_client_factory and p…
Copilot May 13, 2026
33147f3
Fix remaining RecipeKind/RecipeLocation refs in recipepack.go and upd…
Copilot May 13, 2026
af7e7c3
Fix Bicep test files and design notes: recipeKind→kind, recipeLocatio…
Copilot May 13, 2026
647345c
Revert out-of-scope extensibility design notes change and fix serde f…
Copilot May 13, 2026
3c675db
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 13, 2026
5152195
Add test coverage for renamed Kind/Location fields in test helpers an…
Copilot May 13, 2026
79613b4
Remove Recipe prefix from data model, CLI labels, and all user-facing…
Copilot May 14, 2026
6b6d774
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 14, 2026
07dfcdd
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 14, 2026
6361151
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 14, 2026
554e3b6
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 15, 2026
a28f7cc
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
nicolejms May 18, 2026
7fd5fc0
Merge branch 'main' into copilot/standardize-recipe-parameter-naming
Reshrahim May 18, 2026
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
64 changes: 32 additions & 32 deletions eng/design-notes/recipes/2025-08-recipe-packs.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@ version: 1.0.0
description: "Recipe Pack for deploying to ACI in production."
recipes:
- resourceType: "Radius.Compute/containers@2025-05-01-preview"
recipeKind: "bicep"
recipeLocation: "oci://ghcr.io/my-org/recipes/core/aci-container:1.2.0"
kind: "bicep"
location: "oci://ghcr.io/my-org/recipes/core/aci-container:1.2.0"
parameters:
cpu: "1.0"
memoryInGB: "2.0"
Expand All @@ -112,13 +112,13 @@ recipes:
# Optional: allow platform-specific options like containerGroupProfile for ACI
allowPlatformOptions: true
- resourceType: "Radius.Compute/gateways@2025-05-01-preview"
recipeKind: "bicep"
recipeLocation: "oci://ghcr.io/my-org/recipes/core/aci-gateway:1.1.0"
kind: "bicep"
location: "oci://ghcr.io/my-org/recipes/core/aci-gateway:1.1.0"
parameters:
sku: "Standard_v2"
- resourceType: "Radius.Security/secrets@2025-05-01-preview"
recipeKind: "bicep"
recipeLocation: "oci://ghcr.io/my-org/recipes/azure/keyvault-secretstore:1.0.0"
kind: "bicep"
location: "oci://ghcr.io/my-org/recipes/azure/keyvault-secretstore:1.0.0"
parameters:
skuName: "premium"
```
Expand Down Expand Up @@ -197,13 +197,13 @@ recipes: Record<RecipeDefinition>;
@doc("Recipe definition for a specific resource type")
model RecipeDefinition {
@doc("The type of recipe (e.g., terraform, bicep)")
recipeKind: RecipeKind;
kind: RecipeKind;

@doc("Connect to the location using HTTP (not HTTPS). This should be used when the location is known not to support HTTPS, for example in a locally hosted registry for Bicep recipes. Defaults to false (use HTTPS/TLS)")
plainHttp?: boolean;

@doc("URL or path to the recipe source")
recipeLocation: string;
location: string;

@doc("recipe digest in the format algorithm:digest_value")
recipeDigest?: string;
Expand Down Expand Up @@ -278,21 +278,21 @@ resource computeRecipePack 'Radius.Core/recipePacks@2026-01-01-preview' = {
properties: {
recipes: {
'Radius.Compute/containers': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/compute/containers/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/compute/containers/kubernetes?ref=v0.48'
recipeDigest: 'sha256:4g5h6i7j8k9l0m1n2o3p4q5r6s7t8u9v0w1x2y3z4a5b6c7d8e9f0g1h2i3j4k5'
parameters: {
allowPlatformOptions: true
anIntegerParam: 1
}
}
'Radius.Security/secrets': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/security/secrets/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/security/secrets/kubernetes?ref=v0.48'
}
'Radius.Storage/volumes': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/storage/volumes/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/storage/volumes/kubernetes?ref=v0.48'
}
}
}
Expand Down Expand Up @@ -325,16 +325,16 @@ curl -X PUT \
"description": "Test recipe pack with sample recipes",
"recipes": {
"Applications.Datastores/sqlDatabases": {
"recipeKind": "terraform",
"recipeLocation": "https://github.com/example/recipes/sql-database",
"kind": "terraform",
"location": "https://github.com/example/recipes/sql-database",
"parameters": {
"size": "small",
"backup": false
}
},
"Applications.Datastores/redisCaches": {
"recipeKind": "bicep",
"recipeLocation": "https://github.com/example/recipes/redis-cache.bicep",
"kind": "bicep",
"location": "https://github.com/example/recipes/redis-cache.bicep",
"parameters": {
"tier": "basic"
}
Expand All @@ -359,16 +359,16 @@ CREATE response:
"parameters": {
"tier": "basic"
},
"recipeKind": "bicep",
"recipeLocation": "https://github.com/example/recipes/redis-cache.bicep"
"kind": "bicep",
"location": "https://github.com/example/recipes/redis-cache.bicep"
},
"Applications.Datastores/sqlDatabases": {
"parameters": {
"backup": false,
"size": "small"
},
"recipeKind": "terraform",
"recipeLocation": "https://github.com/example/recipes/sql-database"
"kind": "terraform",
"location": "https://github.com/example/recipes/sql-database"
}
}
},
Expand Down Expand Up @@ -408,16 +408,16 @@ READ response:
"parameters": {
"tier": "basic"
},
"recipeKind": "bicep",
"recipeLocation": "https://github.com/example/recipes/redis-cache.bicep"
"kind": "bicep",
"location": "https://github.com/example/recipes/redis-cache.bicep"
},
"Applications.Datastores/sqlDatabases": {
"parameters": {
"backup": false,
"size": "small"
},
"recipeKind": "terraform",
"recipeLocation": "https://github.com/example/recipes/sql-database"
"kind": "terraform",
"location": "https://github.com/example/recipes/sql-database"
}
}
},
Expand Down Expand Up @@ -524,19 +524,19 @@ resource computeRecipePack 'Radius.Core/recipePacks@2025-05-01-preview' = {
properties: {
recipes: {
'Radius.Compute/containers': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/compute/containers/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/compute/containers/kubernetes?ref=v0.48'
parameters: {
allowPlatformOptions: true
}
}
'Radius.Security/secrets': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/security/secrets/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/security/secrets/kubernetes?ref=v0.48'
}
'Radius.Storage/volumes': {
recipeKind: 'terraform'
recipeLocation: 'https://github.com/project-radius/resource-types-contrib.git//recipes/storage/volumes/kubernetes?ref=v0.48'
kind: 'terraform'
location: 'https://github.com/project-radius/resource-types-contrib.git//recipes/storage/volumes/kubernetes?ref=v0.48'
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions pkg/cli/cmd/env/show/preview/show.go
Original file line number Diff line number Diff line change
Expand Up @@ -191,8 +191,8 @@ func (r *Runner) Run(ctx context.Context) error {
envRecipes = append(envRecipes, EnvRecipes{
RecipePack: ID.Name(),
ResourceType: resourceType,
RecipeKind: string(*recipe.RecipeKind),
RecipeLocation: *recipe.RecipeLocation,
RecipeKind: string(*recipe.Kind),
RecipeLocation: *recipe.Location,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@nithyatsu @Reshrahim do the labels also need to have the Recipe prefix removed? e.g. Kind: string(*recipe.Kind),

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah I asked Copilot to remove it across UX including CLI. @nithyatsu - Please validate if these are the right places

})
}
}
Expand Down
16 changes: 8 additions & 8 deletions pkg/cli/cmd/env/show/preview/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -243,23 +243,23 @@ func Test_Run_RecipeSortOrder(t *testing.T) {
if recipePackName == "pack-a" {
recipes = map[string]*corerpv20250801.RecipeDefinition{
"Applications.Datastores/sqlDatabases": {
RecipeLocation: new("ghcr.io/radius-project/recipes/sql"),
RecipeKind: to.Ptr(corerpv20250801.RecipeKindTerraform),
Location: new("ghcr.io/radius-project/recipes/sql"),
Kind: to.Ptr(corerpv20250801.RecipeKindTerraform),
},
"Applications.Datastores/redisCaches": {
RecipeLocation: new("ghcr.io/radius-project/recipes/redis"),
RecipeKind: to.Ptr(corerpv20250801.RecipeKindTerraform),
Location: new("ghcr.io/radius-project/recipes/redis"),
Kind: to.Ptr(corerpv20250801.RecipeKindTerraform),
},
}
} else {
recipes = map[string]*corerpv20250801.RecipeDefinition{
"Applications.Messaging/rabbitMQQueues": {
RecipeLocation: new("ghcr.io/radius-project/recipes/rabbitmq"),
RecipeKind: to.Ptr(corerpv20250801.RecipeKindBicep),
Location: new("ghcr.io/radius-project/recipes/rabbitmq"),
Kind: to.Ptr(corerpv20250801.RecipeKindBicep),
},
"Applications.Dapr/stateStores": {
RecipeLocation: new("ghcr.io/radius-project/recipes/dapr-state"),
RecipeKind: to.Ptr(corerpv20250801.RecipeKindBicep),
Location: new("ghcr.io/radius-project/recipes/dapr-state"),
Kind: to.Ptr(corerpv20250801.RecipeKindBicep),
},
}
}
Expand Down
8 changes: 4 additions & 4 deletions pkg/cli/cmd/recipepack/show/display.go
Original file line number Diff line number Diff line change
Expand Up @@ -47,13 +47,13 @@ func (r *Runner) display(recipePack v20250801preview.RecipePackResource) error {
}

kind := "unknown"
if definition.RecipeKind != nil {
kind = string(*definition.RecipeKind)
if definition.Kind != nil {
kind = string(*definition.Kind)
}

location := ""
if definition.RecipeLocation != nil {
location = *definition.RecipeLocation
if definition.Location != nil {
location = *definition.Location
}

r.Output.LogInfo("%s", resourceType)
Expand Down
4 changes: 2 additions & 2 deletions pkg/cli/cmd/recipepack/show/show_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ func Test_Run(t *testing.T) {
Properties: &corerpv20250801preview.RecipePackProperties{
Recipes: map[string]*corerpv20250801preview.RecipeDefinition{
"Radius.Core/example": {
RecipeKind: to.Ptr(corerpv20250801preview.RecipeKindTerraform),
RecipeLocation: new("https://github.com/radius-project/example"),
Kind: to.Ptr(corerpv20250801preview.RecipeKindTerraform),
Location: new("https://github.com/radius-project/example"),
Parameters: map[string]any{
"foo": "bar",
},
Expand Down
8 changes: 4 additions & 4 deletions pkg/cli/test_client_factory/radius_core.go
Original file line number Diff line number Diff line change
Expand Up @@ -69,12 +69,12 @@
Properties: &v20250801preview.RecipePackProperties{
Recipes: map[string]*v20250801preview.RecipeDefinition{
"test-recipe1": {
RecipeLocation: new("https://example.com/recipe1?ref=v0.1"),
RecipeKind: to.Ptr(v20250801preview.RecipeKindTerraform),
Location: new("https://example.com/recipe1?ref=v0.1"),
Kind: to.Ptr(v20250801preview.RecipeKindTerraform),
},
"test-recipe2": {
RecipeLocation: new("https://example.com/recipe2?ref=v0.1"),
RecipeKind: to.Ptr(v20250801preview.RecipeKindTerraform),
Location: new("https://example.com/recipe2?ref=v0.1"),
Kind: to.Ptr(v20250801preview.RecipeKindTerraform),
},
},
},
Expand Down Expand Up @@ -300,8 +300,8 @@
Properties: &v20250801preview.RecipePackProperties{
Recipes: map[string]*v20250801preview.RecipeDefinition{
resourceType: {
RecipeLocation: to.Ptr("ghcr.io/test/" + recipePackName + ":latest"),

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 303 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition
RecipeKind: &bicepKind,

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 304 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition
},
},
},
Expand Down Expand Up @@ -335,8 +335,8 @@
Properties: &v20250801preview.RecipePackProperties{
Recipes: map[string]*v20250801preview.RecipeDefinition{
"Test.Resource/" + recipePackName: {
RecipeLocation: to.Ptr("ghcr.io/test/" + recipePackName + ":latest"),

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 338 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition
RecipeKind: &bicepKind,

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 339 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition
},
},
},
Expand Down Expand Up @@ -393,8 +393,8 @@
Properties: &v20250801preview.RecipePackProperties{
Recipes: map[string]*v20250801preview.RecipeDefinition{
"Radius.Compute/containers": {
RecipeLocation: to.Ptr("ghcr.io/test/" + recipePackName + ":latest"),

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 396 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeLocation in struct literal of type v20250801preview.RecipeDefinition
RecipeKind: &bicepKind,

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run samples-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run upgrade-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run datastoresrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run kubernetes-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run msgrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run cli-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run dynamicrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run ucp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run corerp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Run daprrp-noncloud functional tests

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build Radius for test

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Lint

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition (typecheck)

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_arm64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build darwin_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build windows_amd64 binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Build linux_arm binaries

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition

Check failure on line 397 in pkg/cli/test_client_factory/radius_core.go

View workflow job for this annotation

GitHub Actions / Analyze (go)

unknown field RecipeKind in struct literal of type v20250801preview.RecipeDefinition
},
},
},
Expand Down
12 changes: 6 additions & 6 deletions pkg/corerp/api/v20250801preview/recipepack_conversion.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,8 +95,8 @@ func toRecipesDataModel(recipes map[string]*RecipeDefinition) map[string]*datamo
for key, recipe := range recipes {
if recipe != nil {
result[key] = &datamodel.RecipeDefinition{
RecipeKind: toRecipeKindDataModel(recipe.RecipeKind),
RecipeLocation: to.String(recipe.RecipeLocation),
RecipeKind: toRecipeKindDataModel(recipe.Kind),
RecipeLocation: to.String(recipe.Location),
Comment thread
Reshrahim marked this conversation as resolved.
Outdated
Parameters: recipe.Parameters,
PlainHTTP: to.Bool(recipe.PlainHTTP),
}
Expand All @@ -114,10 +114,10 @@ func fromRecipesDataModel(recipes map[string]*datamodel.RecipeDefinition) map[st
for key, recipe := range recipes {
if recipe != nil {
result[key] = &RecipeDefinition{
RecipeKind: fromRecipeKindDataModel(recipe.RecipeKind),
RecipeLocation: new(recipe.RecipeLocation),
Parameters: recipe.Parameters,
PlainHTTP: new(recipe.PlainHTTP),
Kind: fromRecipeKindDataModel(recipe.RecipeKind),
Location: new(recipe.RecipeLocation),
Parameters: recipe.Parameters,
PlainHTTP: new(recipe.PlainHTTP),
}
}
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,17 +15,17 @@
],
"recipes": {
"Applications.Core/containers": {
"recipeKind": "Bicep",
"recipeLocation": "br:ghcr.io/radius-project/recipes/kubernetes-container:latest",
"kind": "Bicep",
"location": "br:ghcr.io/radius-project/recipes/kubernetes-container:latest",
"parameters": {
"port": 8080,
"replicas": 3
},
"plainHTTP": false
},
"Applications.Dapr/stateStores": {
"recipeKind": "Terraform",
"recipeLocation": "oci://ghcr.io/radius-project/recipes/terraform/redis:latest",
"kind": "Terraform",
"location": "oci://ghcr.io/radius-project/recipes/terraform/redis:latest",
"parameters": {
"size": "small"
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@
],
"recipes": {
"Applications.Core/containers": {
"recipeKind": "Bicep",
"recipeLocation": "br:ghcr.io/radius-project/recipes/kubernetes-container:latest",
"kind": "Bicep",
"location": "br:ghcr.io/radius-project/recipes/kubernetes-container:latest",
"parameters": {
"port": 8080,
"replicas": 3
},
"plainHTTP": false
},
"Applications.Dapr/stateStores": {
"recipeKind": "Terraform",
"recipeLocation": "oci://ghcr.io/radius-project/recipes/terraform/redis:latest",
"kind": "Terraform",
"location": "oci://ghcr.io/radius-project/recipes/terraform/redis:latest",
"parameters": {
"size": "small"
},
Expand Down
4 changes: 2 additions & 2 deletions pkg/corerp/api/v20250801preview/zz_generated_models.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 6 additions & 6 deletions pkg/corerp/api/v20250801preview/zz_generated_models_serde.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading