Add pagination and Changes-since filter support for os-migrations.
This patch adds pagination support and changes-since filter for os-migrations API. Users can now use 'limit' and 'marker' to perform paginate query of running migrations list. Users can also filter the results according to the migrations' updated time. The ``GET /os-migrations`` and server migrations APIs will now return a uuid value in addition to the migrations id in the response, and the query parameter schema of the ``GET /os-migrations`` API no longer allows additional properties. Co-Authored-By: Yikun Jiang <yikunkero@gmail.com> Implement: blueprint add-pagination-and-change-since-for-migration-list Change-Id: I7e01f95d7173d9217f76e838b3ea71555151ef56
This commit is contained in:
committed by
Matt Riedemann
parent
55f59172ee
commit
92a0fc0b9f
@@ -52,10 +52,11 @@ Response
|
||||
- source_node: migrate_source_node
|
||||
- status: migrate_status
|
||||
- updated_at: updated
|
||||
- uuid: migration_uuid
|
||||
|
||||
**Example List Migrations**
|
||||
**Example List Migrations (2.59)**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.23/migrations-index.json
|
||||
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.59/migrations-index.json
|
||||
:language: javascript
|
||||
|
||||
Show Migration Details
|
||||
@@ -105,10 +106,11 @@ Response
|
||||
- source_node: migrate_source_node
|
||||
- status: migrate_status
|
||||
- updated_at: updated
|
||||
- uuid: migration_uuid
|
||||
|
||||
**Example Show Migration Details**
|
||||
**Example Show Migration Details (2.59)**
|
||||
|
||||
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.23/migrations-get.json
|
||||
.. literalinclude:: ../../doc/api_samples/server-migrations/v2.59/migrations-get.json
|
||||
:language: javascript
|
||||
|
||||
Force Migration Complete Action (force_complete Action)
|
||||
|
||||
Reference in New Issue
Block a user