Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update apiversion to 2023-10-01-preview (#6332)
# Description Update API version to 2023-10-01-preview before public release ## Type of change <!-- Please select **one** of the following options that describes your change and delete the others. Clearly identifying the type of change you are making will help us review your PR faster, and is used in authoring release notes. If you are making a bug fix or functionality change to Radius and do not have an associated issue link please create one now. --> - 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). <!-- Please update the following to link the associated issue. This is required for some kinds of changes (see above). --> Fixes: #6226 ## Auto-generated summary <!-- GitHub Copilot for docs will auto-generate a summary of the PR --> <!-- copilot:all --> ### <samp>🤖 Generated by Copilot at af09702</samp> ### Summary 🚀💥🧪 <!-- 1. 🚀 - This emoji represents the new features and enhancements introduced by the new API versions, such as new resource types, properties, and capabilities. 2. 💥 - This emoji represents the breaking changes and incompatibilities caused by the new API versions, such as renaming, removing, or changing the behavior of existing resource types, properties, and capabilities. 3. 🧪 - This emoji represents the testing and validation of the new API versions, such as updating the test data, test cases, and test tools to align with the core RP contract changes. --> This pull request updates the API versions for the radius project and its dependencies to `2023-10-01-preview` or `2023-10-01`, depending on the service. This is to align with the new features and breaking changes in the RP and Azure contracts. The pull request also updates the test cases, test data, documentation, and bicep types generator to use the new API versions. Additionally, it moves the test-ucp-spec-examples target from `test.mk` to `generate.mk` to avoid running it in the CI pipeline. > _`API version`_ > _Changes with the autumn wind_ > _Breaking old contracts_ ### Walkthrough * Update the API versions for the core, datastores, messaging, dapr, ucp, and link RPs to 2023-10-01-preview, and for the sync RP to 2023-10-01, in the autorest tags for generating the CLI and RP clients ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-cc76a2a14994ce1ed06bd12ba9665a1d20a17992f345a7f8ca06afc934da2a92L70-R95), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-75c80cc14be37fb7c211406cad8842938ecf06f13f8e96cce2ffc1fd0773a4abL26-R26)) * Update the API versions for the core, datastores, messaging, dapr, ucp, and link RPs to 2023-10-01-preview, and for the sync RP to 2023-10-01, in the test cases, test data, and documentation for the armrpc package, which handles the ARM requests and responses for the RPs ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-108beba9cce5ef691507d611bb2b6574bf43c7c3a6a5981fa9133ff28e213546L39-R39), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-108beba9cce5ef691507d611bb2b6574bf43c7c3a6a5981fa9133ff28e213546L49-R49), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-108beba9cce5ef691507d611bb2b6574bf43c7c3a6a5981fa9133ff28e213546L70-R70), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-108beba9cce5ef691507d611bb2b6574bf43c7c3a6a5981fa9133ff28e213546L110-R110), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-a69cf098fadbaa59139fb2c0e0ee95c0633da1eb0b16249a8b24f993f9802338L7-R7), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-a69cf098fadbaa59139fb2c0e0ee95c0633da1eb0b16249a8b24f993f9802338L17-R17), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-3a162cd2974bc2f670c3b3348d5a5960fbf3358f5dce168a1076c08e099e6901L41-R41), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-e45c846e0522d1ba1dfa565fa6d86c8ee398c46018fa35101275eca45096365aL31-R31), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-ba0a3000cc6bed962982f6171808e8d1cf36f49bf87b1c296b1af458e4277dd1L15-R15), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-de33096a2e86db360e21297ed3862e9ecdb9af347b783cb5166142e4459ac70dL7-R7), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-de33096a2e86db360e21297ed3862e9ecdb9af347b783cb5166142e4459ac70dL17-R17), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-dbe373a6a2d5d6fa73231628bb70407a01134fe53995a182ec07fa02834cecb9L7-R7), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-dbe373a6a2d5d6fa73231628bb70407a01134fe53995a182ec07fa02834cecb9L17-R17), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-5e0456a502d0dddaa60dd5efd2c7271da6cc6329b5a0f7417ab8b414aed50d00L205-R205), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-5e0456a502d0dddaa60dd5efd2c7271da6cc6329b5a0f7417ab8b414aed50d00L228-R228), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-5e0456a502d0dddaa60dd5efd2c7271da6cc6329b5a0f7417ab8b414aed50d00L250-R250), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-a63c68d8cbb4ddd57adc5e88b33ab83bf7df65c4075678198076dc198ade278fL171-R171), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-a63c68d8cbb4ddd57adc5e88b33ab83bf7df65c4075678198076dc198ade278fL187-R187), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-a63c68d8cbb4ddd57adc5e88b33ab83bf7df65c4075678198076dc198ade278fL203-R203), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-406d5a6b5904434f495e4c2718c3df259592bd07490f012570cc20a0fe473789L27-R27)) * Update the API versions for the Azure services to 2023-10-01 and 2023-10-01-preview in the clientv2 package, which provides the Azure clients for interacting with the services ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-b9322420aab9dc0e9c1f2c7c87806a125b09443f3a48c60dcd40976529f58a57L20-R23)) * Update the type and API version for the env and app resources to 2023-10-01-preview in the test data for the bicep package, which provides the bicep file generation and injection for the CLI ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-84ca4c3dae6f9e0fa98ca7a95efbcca8bc2641e869b0e29c1f0cd2682c65c8d1L37-R37), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-84ca4c3dae6f9e0fa98ca7a95efbcca8bc2641e869b0e29c1f0cd2682c65c8d1L51-R51), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-8abfd5fc8503f26af91088d3fa0165895549e629f83edd56f1bfe0eff9a03ec0L31-R31), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-8abfd5fc8503f26af91088d3fa0165895549e629f83edd56f1bfe0eff9a03ec0L45-R45)) * Update the regex for matching the swagger file paths in the bicep types generator, which generates the bicep types for the RPs, to allow the new preview suffix in the API version ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-5f2c5fd78a2c8dc8113dae86a5fb217316624f3446988898ed8ac21786eee8efL129-R129)) * Move the test-ucp-spec-examples target from the `test.mk` file to the `generate.mk` file, to align the test with the generate targets for the other RPs, and to avoid running the test in the CI pipeline ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-607e82dd7ce2736355a7703fb1a4a832dddb294c3683c4b51a5118218e379712L93-R93)) * Update the URL for testing the ucp RP in the `docs/ucp/developer_guide.md` file, to use the new API version 2023-10-01-preview ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-09a3f2e82bedcaffb2f543ea4a472b35f8750e3925b2e5b1917355a692b5dc7eL54-R54)) * Update the path to the ucp swagger definition file in the `docs/ucp/code_walkthrough.md` file, to use the new API version 2023-10-01-preview ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-249f8bd9306e70973e9be368bd00278a34edbd36f9bf56ea037acfc8c59583f5L22-R22)) * Update the API version for the gateway and webapp resources in the bicep file example in the `docs/contributing/contributing-code/contributing-code-tests/tests-naming-conventions.md` file, to use the new API version 2023-10-01-preview ([link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-10b60350ea029798f2c1dca5c145c309bea88094fc1f969b6a0382c8dfd80a3cL30-R35), [link](https://github.com/radius-project/radius/pull/6332/files?diff=unified&w=0#diff-10b60350ea029798f2c1dca5c145c309bea88094fc1f969b6a0382c8dfd80a3cL46-R46))
- Loading branch information