c2e02f1dfb1fd5857b62f21e017a9b6cba18dfb6
130 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Artem Goncharov
|
c2e02f1dfb |
Add placement RP allocation and traits schemas
Change-Id: Ifd95748430564cc1bbfff4874e77cb1ed5b6a104 |
||
|
Artem Goncharov
|
be74aada43 |
Add placement rp.aggregate schema
Change-Id: I70eee2f29378977f2204b574e7903fc39f9d0484 |
||
|
Artem Goncharov
|
aa45e193ee |
Add placement resource_provider and inventory schemas
Change-Id: Ic4c592b2c3d7ef89b6bdda84d041a17c93e3c5c4 |
||
|
Artem Goncharov
|
0afb9590ab |
Add placement.allocation schemas
Change-Id: I354c6cce60aa2db46e59f433115abc2a3d72e251 |
||
|
Artem Goncharov
|
6ce4a86099 |
Add placement.allocation_candidate schema
Well, mostly. Placement support additionally: resourcesN, requiredN, member_ofN, in_treeN dynamic query parameters. This is not supported by OpenAPI and by codegenerator for now. Those are not included until the way to deal with this situation is being found. Change-Id: Ie26d37d7a6d64d0e77cf286cfd294cfea10df3eb |
||
|
Artem Goncharov
|
6f92df028c |
Add placement.reshaper schema
Change-Id: I65850fac2520f9fa030eaa2325231d1fb2726324 |
||
|
Artem Goncharov
|
5a64d71923 |
Add placement resource_class and trait schemas
Add schemas for 2 placement resources Change-Id: If41963bc9adea3a45ace2fde8f0a30457100cafb |
||
|
Artem Goncharov
|
12e62d6d09 |
Replace wrongly used logging.warn
This was long time deprecated and it is a surprise no linter found that before. Change-Id: I921c01254fa04ff57d309f63265313dcc26257da |
||
|
Artem Goncharov
|
f10ba9dc39 |
Temporarily make nova openapi job non-voting
Nova api-ref build started failing and requires fix in os-api-ref first. For the moment make job non-voting Change-Id: Ic09edc870ec7fbcd5003ef1d333ddad1cb9584d9 |
||
|
Zuul
|
94105df926 | Merge "Fix identity resource link code" | ||
|
Artem Goncharov
|
345e6bdaf0 |
Fix identity resource link code
- fix project_id resource link in openapi - fix --current-domain --current-project filling Change-Id: Ide2a2ae7eed04f51317346370c50431bf9282550 |
||
|
Artem Goncharov
|
8f5dc2e994 |
Start building Ironic OpenAPI
Change-Id: If1d9a47a9a87c985988b3378cddf0330d14b9458 |
||
|
Artem Goncharov
|
ee8925c71c |
Fix dns schema mapping names
some schemas were accidentially plural causing mismatch. In addition to that recordset was missing records attribute (missed in the current api-ref) and zone/recordset supports only limited set of updatable attributes. Change-Id: I51b3a93caa1fc8804e40493636bde537a58950a3 |
||
|
Artem Goncharov
|
507f1ee33b |
Fix dns recordset schema
zone_name is a readOnly param and is not a uuid Change-Id: If9a21d32ce431754a683c10e3e059def4bb3d9ba |
||
|
Artem Goncharov
|
7235ea3c89 |
Remove identity.project schema
identity.project schema is now coming directly from Keystone code. Drop it locally to avoid code duplication. Change-Id: Ice429170933c762568cb494fb7871f28cd78662d |
||
|
Artem Goncharov
|
504b62a408 |
Extend Designate schemas
add schemas for few additional resources in Designate. Change-Id: Ia1b870726a3e4ede251c8a2be482c0127c0e120f |
||
|
Zuul
|
51288c329f | Merge "Drop reading of identity.application_credential.access_rule" | ||
|
Artem Goncharov
|
c8cf16b5e2 |
remove zone_id QP from listing zone recordsets
Currently codegenerator is not supporting param with the same name to be present in path and query params (and this makes no sense). In the DNS it was the case so get rid of it. Change-Id: Id1e619c9cea0b1c76d1da3cfcf20e547f3cd4b3f |
||
|
Artem Goncharov
|
84bd7bfa49 |
Drop reading of identity.application_credential.access_rule
We add decorators in Keystone and the hacks are not necessary anymore (actually they break since the schema got modified). Change-Id: I926397334d0e3b118a7c49ae6ed44bb26d1a169a |
||
|
Artem Goncharov
|
e7b7cd9474 |
Add dns zone/recordset query parameters
Change-Id: I5836232d7ff9ebfa576bfbfe128e77775624c05d |
||
|
Artem Goncharov
|
e575c6fe7d |
Start building DNS bindings
Change-Id: I62888041ce2cf8d2c4dd27beeda6d04f94f1cbd6 |
||
|
Zuul
|
32b8fbd34e | Merge "Update typos version" | ||
|
Artem Goncharov
|
f39e2fddb0 |
Update typos version
New version of crate-ci/typos cathes few existing typos. Update it. Change-Id: I010b238218c773e1ce523d204fbbb3145bb7fb40 |
||
|
Artem Goncharov
|
bad2a7a1b7 |
Fix DNS urls and make easy zone tasks actions
Change-Id: Iab8d69085280aebee5d96991bd5a31ba1089a1e0 |
||
|
Zuul
|
7e173c20bc | Merge "Add dns.zone and dns.recordset schema" | ||
|
Zuul
|
73ab278dfa | Merge "Fix linked query param required resolution" | ||
|
Artem Goncharov
|
4c94a29a4a |
Add dns.zone and dns.recordset schema
Change-Id: Ie9bf8843be6b82ced6bdb5f8924604732bb66b8a |
||
|
Artem Goncharov
|
8538c04144 |
Fix linked query param required resolution
Set required for the linked query param based on the real param is_required value. Change-Id: I09422fa2384435509c0bc50eb6af080cf873d047 |
||
|
Artem Goncharov
|
fa25f3b8f0 |
Start building Designate specs
Sadly no schemas, but at least first rough structure. Change-Id: Id2ed7ecfbf20ca522e173cf11f236d00f75871c5 |
||
|
Artem Goncharov
|
a9a1a7dee1 |
Add user_id/project_id/domain_id reference
user_id/project_id/domain_id path parameters passing through the base openapi class will get reference to the identity resource what enables id/name/current selector in the cli. Ensure that codegenerator supports linked resources also for query parameters. Change-Id: I1412eedf3b80e5dcd5be122b600ffeaab57b1e2b |
||
|
Artem Goncharov
|
a9e8624e2b |
fix network.agent property types
- agent.alive is boolean - agent.configurations is an object None of them is having any type marker in neutron-lib -> hardcode. Change-Id: Ib1d394baf9f6375d541b38b21b9b7a30898a1fb3 |
||
|
Artem Goncharov
|
cd8ff324cf |
Update pre-commit tools versions
Change-Id: Ifeb7c1a52b403d89d6e44e425ae935d6a6f43d77 |
||
|
Artem Goncharov
|
2326ce5e7b |
Fix pyproject.toml file name
- rename properly pyproject.toml file - reformatted files due to rules not being applied before - address now failing unittest Change-Id: I189a0c71253fe87c5fa91f6d7f46fb350fe4d0d9 |
||
|
Artem Goncharov
|
ca4120cddd |
Extend user path param with --current-user
Recently support of `--user-id|--user-name` has been added when user_id is a path parameter of the resource. To make it even more smoother extend it with `--user-id <ID>|--user-name <NAME>|--current-user` to allow using current authenticated user while being very explicit (ensure user precisely decides what is desired. Change-Id: I0261140572e76799ea54dc0c9544cf5d094c1120 |
||
|
Artem Goncharov
|
89c07638cf |
Switch to ruff
Change-Id: I849dd7c794d4c4a796e1a91c73dcf18a33d03d4d |
||
|
Artem Goncharov
|
f94c527051 |
Use all resource names for path param naming
for the url `/users/{user_id}/access_rules` and
`/users/{user_id}/access_rules/{id}` param user_id should be named as
`users_access_rules_user_id` to better avoid name shadowing.
Change-Id: Ibe72515cad25009fe5e73afe1a98dc07ec1ac8d4
|
||
|
Zuul
|
a3da9ae657 | Merge "Add getting started guide to README" | ||
|
Artem Goncharov
|
189d14a902 |
Escape commit message
When generated content is being commited it uses the same commit message as for the change triggered it. It is possible that quotes in the original change break syntax for the `git commit` command and therefore need to be escaped properly. Use ansible `quote` filter. Change-Id: Ia71aef06aea9355fb99c6d4bca5288ec14f78814 |
||
|
Artem Goncharov
|
a5332a2072 |
Undo hacking identity auth catalog command
There was a hack of renaming `osc identity auth catalog ...` command to `osc identity catalog`. That is not useful and should be dropped. Change-Id: I60c1afcbf462f63128b5c8988d132487b11f846b |
||
|
Zuul
|
8c9894e60b | Merge "Add resource link to domain_id path parameter" | ||
|
Artem Goncharov
|
164843fc37 |
Pin ubuntu-jammy for openapi-identity job
Keystone implicitly requires pillow library which is not having wheels on ubuntu-noble. In this repo itself this issue is fixed by adding few libraries into the bindep, but this is not possible when the job is used in the keystone repo directly. Change-Id: I59ccfe9fd4e27ce3d5d27f3eb5b179ca16d0a542 |
||
|
Artem Goncharov
|
538c610f4a |
Add resource link to domain_id path parameter
Same way as for user we add resource link to the domain_id path parameter allowing cli user to use `--domain-id|--domain-name`. Change-Id: Ibf220ff2b3cd11d639b6b1c5fdff66da6fa80972 |
||
|
Artem Goncharov
|
ff6e36843e |
Add resource link in path parameters
When path_parameter contain something like `user_id` it is more efficient (and provides a UX with more control) to accept `user-id|user-name` from the user. This is achieved by introducing resource links in the path parameters. When link is present parameter is being processed differently. Modify Keystone schema generation to insert link to the user everywhere where `user_id` path parameter is present. Change-Id: I8bf3d14dc751bdb97111a63dddfd0b604cf06abc |
||
|
Stephen Finucane
|
2006931337 |
Add getting started guide to README
This is a first pass. As noted in the TODO, we should expand on this further but that's a job for another day. Change-Id: Icd44f0665995be66eba9f292e5c030be2ced9ac4 Signed-off-by: Stephen Finucane <stephenfin@redhat.com> |
||
|
Artem Goncharov
|
76269d0283 |
Add neutron pagination and sort query parameters
Pagination and sorting is implemented deep inside neutron and is not directly visible on the resource schemas. Add those by default to every indexing method (except of extensions where it is known to be ignored). Change-Id: Ia8055d1edd08581193f2e722f911a50f6a3c63d3 |
||
|
Zuul
|
c5461caef2 | Merge "Fix QP name for listing volumes" | ||
|
Artem Goncharov
|
06564c64ff |
Add libjpeg-dev to bindep
Opendev switched base image to ubuntu noble which comes with py3.12 for which there are no wheels for pillow package. Compilation fails since libjpeg-dev is missing. Add it not to pin the nodeset. Change-Id: I045c2952e37f5121e9bff1c2f55aea535ce1de96 |
||
|
Artem Goncharov
|
df50f9d845 |
Fix QP name for listing volumes
There is a typo in a parameter name `all_tenans` where `all_tenants` should be. Also set that limit can not be negative. Change-Id: I11c53ad33911a9b95c419f94c5e406a3b6347226 |
||
|
Artem Goncharov
|
fb41208b55 |
Flip use of UNSET
in the previous change we added support for UNSET to have empty schema. It is more logical to use UNSET when the schema is not defined and not when it is empty. Fix that. Change-Id: I6568ca826d119b42f74d3f2ee9a691ac1278bc26 |
||
|
Zuul
|
7ef2c59c7d | Merge "Add support for explicit empty schemas" |