-
Notifications
You must be signed in to change notification settings - Fork 94
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
Show recipe template kind and path in the status #6450
Conversation
hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.md
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We need templateVersion for the Terraform recipes.
...tion/applications/resource-manager/Applications.Core/preview/2023-10-01-preview/openapi.json
Outdated
Show resolved
Hide resolved
...tion/applications/resource-manager/Applications.Dapr/preview/2023-10-01-preview/openapi.json
Outdated
Show resolved
Hide resolved
...pplications/resource-manager/Applications.Datastores/preview/2023-10-01-preview/openapi.json
Outdated
Show resolved
Hide resolved
pkg/datastoresrp/api/v20231001preview/rediscache_conversion_test.go
Outdated
Show resolved
Hide resolved
pkg/portableresources/backend/controller/createorupdateresource.go
Outdated
Show resolved
Hide resolved
hack/bicep-types-radius/generated/applications/applications.core/2023-10-01-preview/types.md
Outdated
Show resolved
Hide resolved
hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.md
Outdated
Show resolved
Hide resolved
hack/bicep-types-radius/generated/applications/applications.dapr/2023-10-01-preview/types.md
Outdated
Show resolved
Hide resolved
...icep-types-radius/generated/applications/applications.datastores/2023-10-01-preview/types.md
Outdated
Show resolved
Hide resolved
### Properties | ||
* **templateKind**: string (Required): Template kind is the kind of template | ||
* **templatePath**: string (Required): TemplatePath is the path specified in the recipe | ||
* **templateVersion**: string: TemplateVersion is the version number of the template |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is supported only for a certain types of sources. Can you get @AaronCrawfis's eyes on this to convey complete information?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can we please build clarity on re-deployment scenario before merging this PR? #6450 (comment)
07466d2
to
6008376
Compare
You are editing files which require a docs update. Please ensure you've made the appropriate changes to the docs and submitted a PR.
For more information on contributing to docs please visit https://docs.radapp.dev/contributing/docs/. |
This comment has been minimized.
This comment has been minimized.
Test Results2 980 tests +5 2 968 ✔️ +5 2m 44s ⏱️ -3s Results for commit 2c920c4. ± Comparison against base commit f942ab2. This pull request removes 2 and adds 7 tests. Note that renamed tests count towards both.
♻️ This comment has been updated with latest results. |
⌛ Building Radius and pushing container images for functional tests... ✅ Container images build succeeded |
6008376
to
c7ae148
Compare
You are editing files which require a docs update. Please ensure you've made the appropriate changes to the docs and submitted a PR.
For more information on contributing to docs please visit https://docs.radapp.dev/contributing/docs/. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
c7ae148
to
21d5420
Compare
You are editing files which require a docs update. Please ensure you've made the appropriate changes to the docs and submitted a PR.
For more information on contributing to docs please visit https://docs.radapp.dev/contributing/docs/. |
Radius functional test overview
Click here to see the list of tools in the current test run
Test Status⌛ Building Radius and pushing container images for functional tests... |
You are editing files which require a docs update. Please ensure you've made the appropriate changes to the docs and submitted a PR.
For more information on contributing to docs please visit https://docs.radapp.dev/contributing/docs/. |
Signed-off-by: vinayada1 <[email protected]>
Signed-off-by: vinayada1 <[email protected]>
Signed-off-by: vinayada1 <[email protected]>
a4dda09
to
2f6d7a7
Compare
Co-authored-by: Shalabh Mohan Shrivastava <[email protected]> Signed-off-by: vinayada1 <[email protected]>
Signed-off-by: vinayada1 <[email protected]>
bd74757
to
fa73804
Compare
Signed-off-by: vinayada1 <[email protected]>
2263f58
to
54760a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@vinayada1 Can you merge the bicep changes as well radius-project/bicep#684?
Description
Add template kind and path to resource status. Then store these values and return in rad resource show
Type of change
Fixes: #6440
Auto-generated summary
🤖 Generated by Copilot at e1cbaec
Summary
📝🚀🎁
This pull request adds support for template-based resource deployment in the
v20231001preview
API version of the radius project. It introduces theRecipeData
type and theRecipe
field in various resource status types, and adds custom JSON serialization and deserialization logic for them. It also updates theConvertFrom
functions and the test cases for the affected resource types to handle the newRecipe
field.Walkthrough
RecipeData
type to represent the recipe data for a resource deployment using templates (link, link, link)Recipe
field toResourceStatus
type to hold the recipe data for a resource deployment (link, link, link, link)Recipe
field inConvertFrom
functions ofExtender
,DaprPubSubBroker
,DaprSecretStore
,DaprStateStore
,MongoDatabase
, andRedisCache
types (link, link, link, link, link, link)ConvertFrom
functions ofExtender
,DaprPubSubBroker
,DaprSecretStore
,DaprStateStore
,MongoDatabase
, andRedisCache
types to reflect theRecipe
field (link, link, link, link, link, link, link)ConvertFrom
functions ofExtender
,DaprPubSubBroker
,DaprSecretStore
, andDaprStateStore
types with theRecipe
field (link, link, link, link)ConvertFrom
function ofDaprStateStore
type by removing redundant assignment ofStatus
field (link)