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

17 Коммитов

Автор SHA1 Сообщение Дата
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
Amit Arora 176a68d4b8
Add validation for default CIDR range (#3611) 2024-07-02 16:12:03 +05:30
cadenmarchese f1834cb641 disallow nil spp in older api versions 2024-05-06 09:49:55 -04:00
cadenmarchese e7f7b692e1 Convert ServicePrincipalProfile to pointer
* Adjust converters + tests
2024-05-02 09:08:02 -04:00
Amit af1f7ae2ac dynamic validation on CIDR 2023-12-19 11:24:41 -05:00
Matthew Barnes 3273b70b33
BUG: Fix golang client PUT for GA (#3204)
* swagger: Use struct tags to specify read-only fields

* immutable: Handle `swagger:"readOnly"` tag during validation

The left-hand operand (v) should omit read-only struct fields;
i.e. the field should always be the zero-value for its type.

* api: Add ExternalNoReadOnly method to OpenShiftClusterConverter

ExternalNoReadOnly removes all read-only fields from the external
representation. This is necessary when patching a cluster document;
read-only fields must be omitted from the external representation
in order to pass static validation.

* e2e: Exercise using PUT to update managed outbound IPs

---------

Co-authored-by: Matthew Barnes <mbarnes@fedorapeople.org>
2023-10-24 16:10:48 -06:00
Goutham Muguluvalli Niranjan dba48c1f0c
Add worker profile status (#3053)
* add workerProfilesStatus field to hold the enriched worker profile data

* update swagger

* swagger examples

* update clients

* resolve golint

* update defaults

* validate worker Profile status is nil in input request

* make client changes after rebase

* rebase

* update workerProfiles references and UTs

* fix golint errors

* remove duplicate logic of verifing workerProfilesStatus not nil

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-09-05 14:56:27 -04:00
Amber Brown c8d10ffc6a
Move pkg/api dependencies on util/immutable to api/util/immutable (#3079) 2023-08-09 11:47:49 +10:00
Amber Brown cc6cd1e0b8
Move pkg/api dependencies on util/subnet to api/util/subnet (#3070) 2023-08-03 16:41:32 +10:00
Carlo Wisse 24a70ea611
Updated OutboundType to include comment for Swagger generation - Updated Swagger Readmes (#2920)
* Updated OutboundType to include comment for Swagger generation and linting fix upstream. Updated swagger readmes for new API.

* Added xmsEnum

* Re-word description for OutboundType
2023-06-05 19:01:04 -04:00
Tony Schneider 23b52a40a0 fix typo 2023-04-12 11:16:37 -04:00
tschneid 58a9f56ce0 add validation for outboundType 2023-04-12 11:16:37 -04:00
tschneid a89e971048 add OutboundType to api converter 2023-04-12 11:16:37 -04:00
tschneid 92bf9196a3 add OutboundType definitions to API 2023-04-12 11:16:37 -04:00
Jeremy Facchetti cf8ed6b7d0
Gorilla removal from pkg/frontend (#2711)
removes the use of gorilla/mux from the frontend
2023-03-14 12:06:58 +01:00
bennerv 14a0255a5c Reconcile conflict between refactor and previously merged PR 2023-02-23 09:30:41 -05:00
Carlo Wisse d536465e5d New API skeleton for v20230401 & make generate output 2023-02-22 16:35:08 -05:00