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

76 Коммитов

Автор SHA1 Сообщение Дата
kimorris27 b9aba8ee66 Add new Identity field to OpenShiftCluster swagger API spec 2024-06-18 11:38:43 -05:00
Kipp Morris 8ee1b531ef
2024-08-12-preview API skeleton (#3419) 2024-02-29 12:37:28 -05:00
Tony Schneider af311a2d31
Back port v2023-11-22 Azure REST specs (#3420)
* ProvisioningState Cancelled -> Canceled
* add WorkerProfileStatuses to example openshift cluster
* add x-ms-enum header to ProvisioningState and PreconfiguredNSG
* make client
2024-02-26 15:15:33 -07:00
Jory Horeman 3abcd30e5b
2023-11-22 stable API (porting 07-01-preview api) (#3300)
* adding 2023-11-22 stable

---------

Co-authored-by: b-jhoreman <b-jhoreman@microsoft.com>
2024-01-18 14:15:38 -07: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
Jory Horeman 2a16a3634c
upstreaming changes required by upstream CI (#3117)
Co-authored-by: b-jhoreman <b-jhoreman@microsoft.com>
2023-09-20 10:15:03 -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
Tony Schneider aa61608c9f
Preview api lb profile (#3020)
* add LoadBalancerProfile to v20230701preview
2023-07-28 16:03:54 -06:00
Nont b9a207e7a1
Add preconfigured NSG to 2023-09-04 api (#3062) 2023-07-28 13:10:53 -04:00
Goutham Muguluvalli Niranjan f9ee191ad8
skeleton for 20230904 (#3048)
* skeleton for 20230904

* Update .sha256sum

---------

Co-authored-by: gniranjan <gniranjan@microsoft.com>
2023-07-21 12:16:46 -04:00
Tony Schneider bcd60e807f
initial scaffolding for preview api (#2972) 2023-06-20 18:56:30 -04: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
bennerv 3602d5184d Clean up legacy slice contains function and old 4.5 hotfix version 2023-05-24 18:28:34 -04:00
Carlo Wisse d536465e5d New API skeleton for v20230401 & make generate output 2023-02-22 16:35:08 -05:00
Christoph Blecker 53e50503ab
Properly define OpenShiftVersion resource 2022-11-16 10:18:27 -08:00
Christoph Blecker c4e9812f77
Add regex validation for resource names 2022-11-16 09:56:49 -08:00
Andrew Denton 76481d0a60
More changes for Microsoft acceptance (#2523) 2022-11-08 13:02:52 -08:00
Andrew Denton 0a6f9968d7 Microsoft-requested changed for API acceptance, next round 2022-11-07 12:33:42 -05:00
Andrew Denton 32679f39fd Microsoft-requested changes for API acceptance 2022-11-07 12:33:42 -05:00
Jeremy Facchetti ba5209db6c ioutil removal 2022-09-28 10:15:31 +01:00
Ross Bryan 228e537c0f update examples 2022-09-20 15:13:08 -04:00
Ross Bryan 06ed245934 update swagger definitions 2022-09-20 11:56:02 -04:00
Ross Bryan 0ef1dde3b9 update examples, address feedback, make client
Co-authored-by: Spencer Amann <samann@redhat.com>

refactor
2022-09-14 10:26:47 -04:00
Ross Bryan a5673f1532 rm interface support - refactor examples to resources b64 strings 2022-09-14 09:57:31 -04:00
Ross Bryan 2d076a8242 create clustermanager api definitions, wire up cosmosdb 2022-09-14 09:57:29 -04:00
David Newman e0c9352eb3
API 2022-09-04: install-version parameter activation and version listing fixes (#2356)
* Move InstallVersion into cluster properties and give it a type.

* Regenerated 2022-09-04 API

* Add 2022-09-04 API to the cluster creation, in preparation for the switchover.

* Pass a validated install-version parameter for create creation

* Fix the InstallVersion's parameters and example output

* Fix python visual indentation test requirement
2022-08-29 14:38:42 -04:00
Brendan Bergen b17f992af5 Replace strings.Title with caser 2022-08-22 15:31:52 -06:00
darthhexx 1eabf9340f Rename variable installableVersion -> installVersionList 2022-08-04 21:31:53 +10:00
darthhexx 4019747200 Add v3 location path type filter for listing install versions 2022-08-04 21:30:45 +10:00
Anshul Verma 57201d0290 Removed the comment 2022-08-03 09:10:56 +05:30
Anshul Verma c46b485ca3 changed 2022-08-02 19:35:00 +05:30
Anshul Verma 1f5a9a92ef changed installOpenShiftVersions to installVersions 2022-08-02 11:34:33 +05:30
Anshul Verma 5d4f5fea0c changed in path from 'listinstallopenshiftversions' to 'listinstallversions' 2022-08-02 09:55:44 +05:30
Anshul Verma 25590c623f Added an endpoint to list available versions to install. Currently it responds with hardcoded data 2022-07-27 17:00:07 +05:30
Ross Bryan 95d192c35f create new api version, make client 2022-07-05 17:40:36 -04:00
Aman Verma a53082acb9
Enable first basic linters in ARO (#2060)
* Enable first basic linters in ARO

* Remove modules-download-mode from the linter run config
2022-04-19 12:35:01 -04: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
Mangirdas Judeikis 5efde463fb
Set Defaults functionality (#1654)
* Add internal API defaulting code
* ListAdminKubeconfig -> ListAdminCredentials
2021-08-11 15:21:05 +01:00
Mangirdas Judeikis 6ba3d3b1bd
rename 20210131 -> 20210901 2021-07-20 12:15:25 +01:00
Mangirdas Judeikis 3d95bffcb1
Add API generation for kubeconfig 2021-06-08 13:16:08 +01:00
Mangirdas Judeikis 4039d66ac8
Add systemData handling (#1412)
Add systemData into document and handling in the frontend
2021-05-06 13:42:04 +01:00
Mangirdas Judeikis b934563fce
systemData and generator for multiapi 2021-04-26 12:55:50 +01:00
Jim Minter 184f35e3b5
fixups 2020-12-04 09:39:50 -06:00
Jim Minter 9227743f5d
Swagger documentation updates 2020-11-16 16:52:05 -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 990362ff0d
Change api version in swagger generation
Signed-off-by: Petr Kotas <petr@kotas.tech>
2020-08-10 17:29:19 +02:00
Jim Minter dc786e0a05
don't hard-code API version in swagger generation tooling 2020-03-24 17:57:24 -06:00
Jim Minter 330472b767
advertise API pageability 2020-03-07 19:04:26 -06:00
Jim Minter 8b9efbb866
separate PUT and PATCH swagger definitions 2020-03-07 17:58:59 -06:00