303001e15e524ab34947e03fe4f2fd90d6523adf
246 Commits
| Author | SHA1 | Message | Date | |
|---|---|---|---|---|
|
gtema
|
ea8f60e66c |
Fix network external_gateway_info schema
Recently validation of the external_gateway_info has been modified in the Neutron so that we are not able to detect the schema anymore. Adapt it to how it "look like it is intended". Change-Id: I8976a019cd11b4cb3d8780553bb72b7ce6627519 |
||
|
Artem Goncharov
|
f1d3a0aa1b |
Add magnum metadata
and start generating code. Change-Id: I80dcdf5952d709819138404ccaddb3a37bd63ff3 |
||
|
Zuul
|
02d674d362 | Merge "Bootstrap magnum OpenAPI build" | ||
|
Artem Goncharov
|
9d9fc4268a |
Bootstrap magnum OpenAPI build
Change-Id: I6047af5f15abc3e10a52ea9166e80a3aa8a265ec |
||
|
Zuul
|
4515701606 | Merge "Add required to compute service responses" | ||
|
Zuul
|
f2d582e2ad | Merge "BS volume bootable parameter is a string" | ||
|
Zuul
|
a6d21b0f5c | Merge "Hardcode barbican quota schemas" | ||
|
Artem Goncharov
|
6dfa4666dc |
Add required to compute service responses
Change-Id: I582de51d89c3bce431b6aec574d8ef8e3405919d |
||
|
Artem Goncharov
|
c7e844448b |
BS volume bootable parameter is a string
What a surprise Change-Id: Ice0910261bd1b84f327c779b72ac3593efb09db2 |
||
|
Zuul
|
31fedb263d | Merge "Hardcode barbican order schema" | ||
|
Zuul
|
7de4bb4f38 | Merge "Hardcode barbican container schemas" | ||
|
Zuul
|
f1e54465b9 | Merge "Hardcode barbican secret_store schemas" | ||
|
Zuul
|
a76a5c8af3 | Merge "Add barbican secret schemas" | ||
|
Zuul
|
050e4380ea | Merge "Ensure BS responses have some properties marked as required" | ||
|
Artem Goncharov
|
a40cf11ee5 |
Ensure BS responses have some properties marked as required
In the TUI absense of "required" leads to ID/NAME being optional what those could never be. In adition also ensure that the response struct as well as fields themselves are public so that we can consume them. Change-Id: I7850b6de85a1e2aa74d597bca7226430bb45cb2c |
||
|
Zuul
|
2f6cc65b94 | Merge "Increase openapi job timeout" | ||
|
Artem Goncharov
|
8bfc8967d3 |
Drop role assignment schema hardcode
Those are now present in keystone. Change-Id: I1f0b74c64d2e877ef23eeee6ddb59c53e5c85cea |
||
|
Artem Goncharov
|
83b340856e |
Increase openapi job timeout
Sometimes timeout expires before we ever started to build openapi (during pre-run). Double the timeout for now. Change-Id: I10c2303c7a9dcd997eefed14c42b6d4b44bffd59 |
||
|
Artem Goncharov
|
e1a6b90f7f |
Hardcode barbican quota schemas
Change-Id: Ida732b73f62ab5623edd8af571390debcf67facf |
||
|
Artem Goncharov
|
9b211e3a5f |
Hardcode barbican order schema
Change-Id: I2af9a0ffdad476694c99222fa8cbbdbd2c0b781c |
||
|
Artem Goncharov
|
2c61265d5f |
Hardcode barbican container schemas
Change-Id: I2f1bd8d870c1607a0cfa34d8a50dde6c1a8314c2 |
||
|
Artem Goncharov
|
2d36da5a7f |
Hardcode barbican secret_store schemas
Change-Id: I61312727e8fbb18e5883963f85f0f413175aa7cf |
||
|
Artem Goncharov
|
3aa89ec1da |
Add barbican secret schemas
Sadly there is not normal way to extract usable schemas from barbican. Hardcode them. Change-Id: Iddeaad08d82c64c7763079704f65126307271f47 |
||
|
Artem Goncharov
|
8995fa42b2 |
Send response action also for delete events
When TUI user invoked delete event we want to know it was completed successfully. For that send a response with request data and explicit Null as response. Change-Id: I844d2d89883481b4a874aadf4aee8156c84cf536 |
||
|
Artem Goncharov
|
39bdf3bdae |
Adapt clippy run to include bin targets
Since clippy run is limiting targets to --lib and --tests the tui is not being processed. Include also --bins but still limit targets since there are more things not generated by codegenerator. Change-Id: I9a0d83743cebbc6bfcdf2ffb1e5086055b392cdb |
||
|
Artem Goncharov
|
8800529ad4 |
Generate TUI response structure
Change-Id: I2b9f37ebb5e08e36b969aee148bc571ed587c7ae |
||
|
Artem Goncharov
|
1c3775d15c |
fix generate_openapi_docs script shebang
Change-Id: Iaee1ce2da5e5f132e6ebb437d6dde35173b764fc |
||
|
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
|
9cbf8d9c2b |
Prepare jsonschema replacement for identity.{group,user}
Change-Id: I2569fe4e6685f14d57699e51ccaf9d4ef8cefd43 |
||
|
Zuul
|
f4fe3bd80a | Merge "Adapt tools shebangs" | ||
|
Artem Goncharov
|
7984fae1bf |
Prepare next identity schema updates
Few next openapi schema changes are failing due to renames and duplicated attributes. Prepare the code so that it doesn't fail. Change-Id: Iacf994dc61c4ba6614b5827b80b6b4368e28d3a5 |
||
|
Artem Goncharov
|
51892ec791 |
Adapt tools shebangs
replace `/usr/bin/bash` with `/usr/bin/env bash` Change-Id: I1ce08a085044a1622b3d9963dbdc04080e4fa4b8 |
||
|
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
|
5d38233548 |
Fix few tui generated code issues
Change-Id: Iac7169de7ee07fa06e48dec56d0e9656c2d7e45a |
||
|
Zuul
|
ca373468f7 | Merge "Start building parts of TUI" | ||
|
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
|
f8ff329936 |
Re-enable building of nova openapi specs as a voting job
Few schemas changed in nova so that the code is again broken so adapt templates. Change-Id: I129cd24c63cb7cbb996bb4c9b95e0c9fdb6a2c14 |
||
|
Zuul
|
471f414492 | Merge "Remove some hardcoded nova schemas" | ||
|
Artem Goncharov
|
d0fc30f1ed |
Remove some hardcoded nova schemas
Nova extended schema decorators, start throwing them away from our code. Change-Id: I3d9e46ef84b2a82868b40ddae52577a2eaef58c9 |
||
|
Artem Goncharov
|
87b3c98433 |
Adapt identity schemas
- change description of the idp_id user list param - drop domain schemas since they are integrated in keystone. Change-Id: Ic83561234e4d2ba9f520aa3c3f8b21dc4f9ce80b |
||
|
Artem Goncharov
|
f5b58b5f96 |
Fix LB failover schemas
LB and amphora failover schemas are explicit null. Without that generated code fails with `Request must be a JSON dict`. Change-Id: Ic2a8b46e1c29b0a1e85efe8757d241d3c31b28aa |
||
|
Artem Goncharov
|
e306626db0 |
Prepare remaining keystone schemas
query parameters start being duplicated due to the different naming convention used from the extracted decorators and the ones hardcoded. Adapt hardcoded names to be hopefully properly identified using openapi construction. Change-Id: Ifd6f120c7dd43323528e93c1d4216ede7525ebae |
||
|
Artem Goncharov
|
5a7de340a3 |
Query parameter decorator may use null
`@validation.request_query_schema(None)` is valid. Change-Id: Ie4c8af39861089515eb001638a679cbd6c457fb8 |
||
|
Artem Goncharov
|
7f06d3a32b |
Prepare identity.domain schemas
domain schemas are going to land in keystone soon and we need to fix eventual param duplication Change-Id: I81626317cf65fe9bb2281794e28ad68739afa395 |
||
|
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
|
fddec42f7e |
Add status structable macros for alternative field
Some resources uses `state` or `operating_status` as a sort of `status` property. Set `status` StructTable marcros for such fields so that output coloring use those fields. Change-Id: I1c1faa0f69e1d22b6230db2df90a981ca496e643 |
||
|
Artem Goncharov
|
84db415a8f |
Skip lifetime in rust sdk
newer rust started stripping unnecessary lifetime - no sense to generate it. Change-Id: I4c043ae23e3b66b71e6a57e6485cf3f946d065ff |
||
|
Artem Goncharov
|
db142b81c1 |
Add pagination QP to octavia resources
- add limit/marker/page_reverse - sort QP alphabetically Change-Id: I9c8c3e73b8b81827fa26b51ae65337ce93ab5840 |
||
|
Zuul
|
bbd3efe650 | Merge "Parse schema for validation" |