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

UDT rad resource provider command should support json #8075

Merged
merged 4 commits into from
Nov 25, 2024

Conversation

nithyatsu
Copy link
Contributor

Description

yaml parser we use automatically supports parsing json, yaml being superset of json.

Updated texts and test to capture a valid json input and a validation error for json input.

Type of change

  • This pull request adds or changes features of Radius and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Radius (issue link optional).

Fixes: https://dev.azure.com/azure-octo/Incubations/_workitems/edit/13650

Contributor checklist

Please verify that the PR meets the following requirements, where applicable:

  • An overview of proposed schema changes is included in a linked GitHub issue.
  • A design document PR is created in the design-notes repository, if new APIs are being introduced.
  • If applicable, design document has been reviewed and approved by Radius maintainers/approvers.
  • A PR for the samples repository is created, if existing samples are affected by the changes in this PR.
  • A PR for the documentation repository is created, if the changes in this PR affect the documentation or any user facing updates are made.
  • A PR for the recipes repository is created, if existing recipes are affected by the changes in this PR.

@nithyatsu nithyatsu requested review from a team as code owners November 21, 2024 22:38
@nithyatsu nithyatsu changed the title update for json support UDT update for json support Nov 21, 2024
@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 21, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository nithyatsu/radius
Commit ref 3b8ffe3
Unique ID func414aefddbd
Image tag pr-func414aefddbd
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func414aefddbd
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func414aefddbd
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func414aefddbd
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func414aefddbd
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func414aefddbd
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

Code changes look good, some feedback on the help text.

rynowak
rynowak previously approved these changes Nov 25, 2024
@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 25, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository nithyatsu/radius
Commit ref eb17c04
Unique ID funcf4617b35de
Image tag pr-funcf4617b35de
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcf4617b35de
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcf4617b35de
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funcf4617b35de
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcf4617b35de
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcf4617b35de
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 25, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository nithyatsu/radius
Commit ref d5a90fe
Unique ID funcfff8d12eaf
Image tag pr-funcfff8d12eaf
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-funcfff8d12eaf
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-funcfff8d12eaf
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-funcfff8d12eaf
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-funcfff8d12eaf
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-funcfff8d12eaf
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting ucp-cloud functional tests...
⌛ Starting corerp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

Copy link
Contributor

@rynowak rynowak left a comment

Choose a reason for hiding this comment

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

:shipit:

@radius-functional-tests
Copy link

radius-functional-tests bot commented Nov 25, 2024

Radius functional test overview

🔍 Go to test action run

Name Value
Repository nithyatsu/radius
Commit ref ba5f3dc
Unique ID func818af3b348
Image tag pr-func818af3b348
Click here to see the list of tools in the current test run
  • gotestsum 1.12.0
  • KinD: v0.20.0
  • Dapr:
  • Azure KeyVault CSI driver: 1.4.2
  • Azure Workload identity webhook: 1.3.0
  • Bicep recipe location ghcr.io/radius-project/dev/test/testrecipes/test-bicep-recipes/<name>:pr-func818af3b348
  • Terraform recipe location http://tf-module-server.radius-test-tf-module-server.svc.cluster.local/<name>.zip (in cluster)
  • applications-rp test image location: ghcr.io/radius-project/dev/applications-rp:pr-func818af3b348
  • dynamic-rp test image location: ghcr.io/radius-project/dev/dynamic-rp:pr-func818af3b348
  • controller test image location: ghcr.io/radius-project/dev/controller:pr-func818af3b348
  • ucp test image location: ghcr.io/radius-project/dev/ucpd:pr-func818af3b348
  • deployment-engine test image location: ghcr.io/radius-project/deployment-engine:latest

Test Status

⌛ Building Radius and pushing container images for functional tests...
✅ Container images build succeeded
⌛ Publishing Bicep Recipes for functional tests...
✅ Recipe publishing succeeded
⌛ Starting corerp-cloud functional tests...
⌛ Starting ucp-cloud functional tests...
✅ ucp-cloud functional tests succeeded
✅ corerp-cloud functional tests succeeded

@nithyatsu nithyatsu merged commit fdb5062 into radius-project:main Nov 25, 2024
28 checks passed
@nithyatsu nithyatsu changed the title UDT update for json support UDT rad resource command should support json Jan 7, 2025
@nithyatsu nithyatsu changed the title UDT rad resource command should support json UDT rad resource provider command should support json Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants