4a711b1a2c4f101d00f49016a9f8fccf76df13a1
22 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
Artem Goncharov
|
721705d837 |
Rename operation_name with action_name in the metadata
Currently we comment the operation_name attribute in the metadata that it is used as an action name. This only creates confusion especially if we want to use something different as the operation_name (i.e. operation_name or opertaion_type for neutron router results in "action"). So in addition to the renaming of the metadata attribute explicitly pass the metadata operation key as operation_name parameters into the generator (when unset). Change-Id: Ic04eafe5b6dea012ca18b9835cd5c86fefa87055 Signed-off-by: Artem Goncharov <artem.goncharov@gmail.com> |
||
|
Artem Goncharov
|
a0e5529b8a |
Fix few nova response schemas
- keypair create response does not contain ID - server create response has a response_key (server). This is not really true, since creation may return reservation_id, but this is not typical and we can try to find a solution for that later. For now make sure cli server creation works. Change-Id: I3f52f0e6686767dcc8862543c4c3a155f42ead0e |
||
|
Artem Goncharov
|
f1d3a0aa1b |
Add magnum metadata
and start generating code. Change-Id: I80dcdf5952d709819138404ccaddb3a37bd63ff3 |
||
|
Artem Goncharov
|
7eb8b00b61 |
Drop overloaded federation service provider schema
Fix docstring processing which might be list already (why?) Change-Id: Ia8f88085e00d53815a68565526ca0a387d5d4dbc |
||
|
Artem Goncharov
|
de69003db3 |
Start building Barbican openapi
Time to start looking at barbican as well. Sadly it is another "not trivial for automatics" case and requires lots of manual intrusions due to nonstandard usage of pecan framework (maybe we can improve this). Sometimes there are jsonschemas in the code, but for the beginning just start building routes. Change-Id: I4f4c52c1e7862274a804a8cae8c415f233fc0990 |
||
|
Artem Goncharov
|
9c8491f2b5 |
Adapt generated tui code
- generate subtypes (necessary for non-GET request) - generate TryFrom for custom structs into Request and RequestBuilder - adapt metadata to generate few missed operations Change-Id: I0efd28b86bbd03f7aed2ece4552b30e91deac110 |
||
|
Artem Goncharov
|
a75eb01672 |
Start building parts of TUI
Simplify TUI extension by generation of resource filter structure and corresponding execute traits. Change-Id: I35fe5c9e568c13cc35183588fe3f7bd4e1c45c72 |
||
|
Artem Goncharov
|
8ecbde6b05 |
Split metadata into independent services
Handling metadata in single module becomes not manageable. Split it into separate service-related modules. Change-Id: I7551b4a96cf030c57bfb0a7b9eb868cd760a6de5 |
||
|
Artem Goncharov
|
5527731e17 |
Fix codegeneration for placement esoterics
Some of the placement schemas are too special and user unfriendly that codegeneration currently fails for those. And since we could not even test generated code complilation we simply skipped such cases from enabling. Now try to fix codegeneration and see how it goes. Change-Id: I6c74ace134b2c8cb7017f1adacf2a38469fe5777 |
||
|
Artem Goncharov
|
2d4f51056d |
Fix codegeneration for placement
Actually start generating placement code Change-Id: I8ea5a43b5da797aadf479ec4d48164d873d12c7d |
||
|
Artem Goncharov
|
b50bfa2802 |
Add placement usages schemas
Change-Id: I956ac85431e65633c7b723792d94e0c0ff635014 |
||
|
Artem Goncharov
|
504b62a408 |
Extend Designate schemas
add schemas for few additional resources in Designate. Change-Id: Ia1b870726a3e4ede251c8a2be482c0127c0e120f |
||
|
Artem Goncharov
|
e7b7cd9474 |
Add dns zone/recordset query parameters
Change-Id: I5836232d7ff9ebfa576bfbfe128e77775624c05d |
||
|
Artem Goncharov
|
e575c6fe7d |
Start building DNS bindings
Change-Id: I62888041ce2cf8d2c4dd27beeda6d04f94f1cbd6 |
||
|
Artem Goncharov
|
bad2a7a1b7 |
Fix DNS urls and make easy zone tasks actions
Change-Id: Iab8d69085280aebee5d96991bd5a31ba1089a1e0 |
||
|
Artem Goncharov
|
4c94a29a4a |
Add dns.zone and dns.recordset schema
Change-Id: Ie9bf8843be6b82ced6bdb5f8924604732bb66b8a |
||
|
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 |
||
|
Artem Goncharov
|
3ff379b595 |
Fix network.quota-set and compute.limits schemas
Change-Id: Icf413ab5b3c6fa2ea44e20c0598fa6fa834052e4 |
||
|
Artem Goncharov
|
fe58fb9947 |
Prepare git patch and archive for rust package
Apply the generated sources on top of the target repository and create patch file. In addition to that save complete content as job artifacts. post job is pushing changes to the upstream repository (using public SSH key of repository set by Zuul and added as a deployment key). PR is not created, since that requires additionally separate API key. Change-Id: I090b87e05ede95f8542a427207bea711e5cc5df4 |
||
|
Artem Goncharov
|
600d7aca5a |
Drop anyhow in cli templates
- drop anyhow in favor of eyre crate - fix few things in nova changed in the meanwhile Change-Id: I919cac5bf92e5279a4d840ddf0196e6daa74d869 |
||
|
Artem Goncharov
|
5420dbb0c9 |
Add job to generate rust code
Change-Id: I322d117a7cce23c96331f2f294374cde87325c99 |
||
|
Artem Goncharov
|
6e297814f9 |
Add metadata
Having OpenAPI is not enough to render sdk/cli/etc. A metadata is necessary describing path to the spec, operation definition in the spec and what and how to generate out of it. While most of the data can be "assumed" there are cases where customization is necessary. For now add metadata into the tree. Change-Id: Ice129db1ceb2487c95d4c66946c6a0f57c60824e |