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

Incorporate CI and ARM feedback from azure-rest-api-specs to v2024-08-12-preview API #3727

Merged
merged 10 commits into from
Oct 29, 2024

Conversation

cadenmarchese
Copy link
Collaborator

@cadenmarchese cadenmarchese commented Jul 26, 2024

Which issue this PR addresses:

https://issues.redhat.com/browse/ARO-4382

What this PR does / why we need it:

I opened up a PR to azure-rest-api-specs with our new API version: Azure/azure-rest-api-specs#30004

These are the changes that were required to unblock CI / resolve breaking change and other CI failures.

Test plan for issue:

Is there any documentation that needs to be updated for this PR?

How do you know this will function as expected in production?

@cadenmarchese cadenmarchese added the chainsaw Pull requests or issues owned by Team Chainsaw label Jul 26, 2024
@cadenmarchese cadenmarchese force-pushed the cadenmarchese/ARO-4382/api-changes-1 branch from 83f43ef to 7a69b14 Compare July 30, 2024 20:19
tsatam
tsatam previously approved these changes Jul 31, 2024
@github-actions github-actions bot added needs-rebase branch needs a rebase and removed ready-for-review labels Jul 31, 2024
Copy link

Please rebase pull request.

tsatam
tsatam previously approved these changes Oct 28, 2024
Copy link

Please rebase pull request.

@github-actions github-actions bot added needs-rebase branch needs a rebase and removed ready-for-review labels Oct 29, 2024
cadenmarchese and others added 9 commits October 29, 2024 08:55
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
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
* fix examples to contain identity and type
* remove PlatformWorkloadIdentityRoleSetUpdate

oct 16th changes

oct 17th changes

fix issues post-rebase
appease the linter, fix subscriptionID type in util/azureclient

appease the linter again

correct log statement, use better naming
@cadenmarchese cadenmarchese dismissed stale reviews from tsatam and kimorris27 via 5620051 October 29, 2024 13:01
@cadenmarchese cadenmarchese force-pushed the cadenmarchese/ARO-4382/api-changes-1 branch from c3e5f8f to 5620051 Compare October 29, 2024 13:01
@github-actions github-actions bot removed the needs-rebase branch needs a rebase label Oct 29, 2024
* changes operatorName and roleDefinitionName in PWIRS_List.json
@cadenmarchese
Copy link
Collaborator Author

/azp run ci,e2e

Copy link

Azure Pipelines successfully started running 2 pipeline(s).

@cadenmarchese
Copy link
Collaborator Author

/azp run e2e

Copy link

Azure Pipelines successfully started running 1 pipeline(s).

@kimorris27 kimorris27 merged commit faf377c into master Oct 29, 2024
20 checks passed
@kimorris27 kimorris27 deleted the cadenmarchese/ARO-4382/api-changes-1 branch October 29, 2024 21:08
shubhadapaithankar pushed a commit that referenced this pull request Oct 31, 2024
…-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 <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
chainsaw Pull requests or issues owned by Team Chainsaw ready-for-review
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants