Граф коммитов

15 Коммитов

Автор SHA1 Сообщение Дата
Caden Marchese faf377c984
Incorporate CI and ARM feedback from azure-rest-api-specs to v2024-08-12-preview API (#3727)
* api changes

fix tag package-2023-11
this was wrong in the readme

remove UserAssignedIdentities
top level fields must not have additionalproperties

update the default tag to latest

define a new IdentityType with x-ms-enum

modelAsString on identityType x-ms-enum should be false

rename IdentityType to ResourceIdentityType to match v3/types.json

make client

add descriptions to all new API fields

make client

fix unit test that was failing as a result of removing the UserAssignedIdentity type from the API

Adjust a doc comment according to feedback

make client

* add platformworkloadidentityroleset to API definition and examples

Update client generation to account for swagger subfolder

make client

fix pwip and validatestatic unit tests

fix relative path to common-types

migrate from common-types/v3 to common-types/v6
it was requested that we use the latest version of
common types. This involves some changes to our examples
to match the UUID expected.

move from Identity to ManagedServiceIdentity type
defined in common-types/v6

use modelerfour.lenient-model-deduplication=true
avoids python client generation issues

convert PlatformWorkloadIdentity to map

ARO-4382 fix unit test cases

make generate swagger

fix unit tests

revert naming openShiftCluster.ManagedServiceIdentity to Identity

fix prod code and unit tests post-rebase, reference common-types
directly for the identity property

* more swagger CI fixes
* fix examples to contain identity and type
* remove PlatformWorkloadIdentityRoleSetUpdate

oct 16th changes

oct 17th changes

fix issues post-rebase

* update readme to contain suppression for avoidAdditionalProperties

* fix ModelValidation error by converting example IDs to resourceIDs

* Update python/go clients

* Update az aro extension to enumerate platform_workload_identities as a dict instead of a list

* Fix python linter issues

* configure suppression for PatchBodyParametersSchema

appease the linter, fix subscriptionID type in util/azureclient

appease the linter again

correct log statement, use better naming

* regenerate examples
* changes operatorName and roleDefinitionName in PWIRS_List.json

---------

Co-authored-by: Tanmay Satam <tsatam@redhat.com>
2024-10-29 14:08:36 -07:00
Amber Brown c554e98391
Drop some unneccessary dependencies by moving to `bingo` for tooling (#3719)
* Move to using bingo for tools
* go mod vendor
2024-09-05 15:29:19 +10:00
Petr Kotas 751cfe3b6b
Move ARM swagger to subfolder (#3805)
To add new HCP RP, the ARO RP is moved into the subfolder openshiftclusters.

There are no additional changes, no impact on the SDK and clients.
2024-08-30 18:18:40 +02:00
Carlo Wisse a68f9c10ff
Fix client generation (#2867)
* Update autorest core to 3.6.3. Update nodejs to new secure LTS version for client generation. Fix permissions error in autorest Dockerfile for client generation.

* Added closing console line after api version generation
2023-05-02 13:36:41 +10:00
Carlo Wisse 36ae9bb80b removed sudo chown lines from build-client 2023-02-22 16:35:08 -05:00
Carlo Wisse 06356808f6 ran make client with new api version 2023-02-22 16:35:08 -05:00
Christoph Blecker aa3b6e7525
Fix autorest client generation 2022-08-30 19:18:07 -07:00
Christoph Blecker 3a592abe93
Specify platform when building or running images 2022-08-29 21:05:49 -07:00
Peter Kostyukov 49ed232c76
Create 2022-04-01 API (#1876) 2022-04-05 15:34:54 +02:00
Mangirdas Judeikis 63382712ce
Adjust swagger as per ARM requirments 2021-08-20 12:09:56 +01:00
Peter Kostyukov 10a73b2523 Python Track 2 SDK 2021-08-13 11:47:17 -05:00
Jim Minter 184f35e3b5
fixups 2020-12-04 09:39:50 -06:00
Mangirdas Judeikis c19f4111cd
2020-10-31-preview -> 2021-01-31-preview 2020-12-02 12:08:47 -06:00
Petr Kotas 213abf54a6
Add x-ms-enum type to swagger and SDK
x-ms-enum will make future modifications
of the API simpler, the type is defined

https://github.com/Azure/autorest/tree/master/docs/extensions#x-ms-enum

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-09-10 08:39:00 +02:00
Petr Kotas c6a2a89844
Refactor gen client code
Put client gen in script to enable
generation of multiple SDKs.

Signed-off-by: Petr Kotas <pkotas@redhat.com>
2020-09-03 21:36:50 +02:00