File: refactor-taskmonitor-update-volume-ba99380188395852.yaml

package info (click to toggle)
python-sushy 5.5.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,620 kB
  • sloc: python: 14,026; makefile: 24; sh: 2
file content (38 lines) | stat: -rw-r--r-- 1,522 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
---
features:
  - |
    Adds new method ``get_task_monitor`` to retrieve TaskMonitor instance by
    task monitor URI.
deprecations:
  - |
    Existing two ``TaskMonitor``-s are deprecated and replaced with one
    ``taskmonitor.TaskMonitor``.

    For ``resources.task_monitor.TaskMonitor`` users changes include:

    * ``in_progress`` is replaced with method ``check_is_processing``
    * ``location_header`` is replaced with method ``task_monitor_uri``
    * there is no replacement for ``set_retry_after``,
      ``taskmonitor.TaskMonitor`` sets this internally from Retry-After
      header

    For ``resources.taskservice.taskmonitor.TaskMonitor`` users changes
    include:

    * ``check_is_processing``, ``sleep_for`` and static ``get_task_monitor``
      added.
    * in ``__init__`` parameter ``field_data`` is deprecated, use ``response``
    * in ``__init__`` parameter ``task_monitor`` is renamed to
      ``task_monitor_uri``
    * ``task_monitor`` is deprecated, use ``task_monitor_uri``
    * ``retry_after`` is deprecated, use ``sleep_for``

    Methods ``create_volume``, ``delete_volume``, ``initialize_volume`` in
    volume module are deprecated and replaced with ones named ``create``,
    ``delete`` and ``initialize``. New methods for asynchronous operations
    return ``taskmonitor.TaskMonitor`` instead of
    deprecated ``resources.task_monitor.TaskMonitor``.

    Method ``resources.updateservice.UpdateService.get_task_monitor`` is
    deprecated, use ``Sushy.get_task_monitor`` instead.