freezer-api/freezer_api/db
Michal Arbet 2a283bf34a Fix freezer-api's src_file to path_to_backup
Freezer-api is not working as it is expected, returning NULL value
for src_file option in freezer_action's json returned from API.

In other words when user define action via freezer client and define
valid and WORKING action JSON with option path_to_backup
(src_file is not supported by freezer-agent anymore).

In DB we can see backup_metadata is filled correctly,
freezer-scheduler/freezer-agent working correctly as they are reading
backup_metadata. Problem is that API is still returning json with
src_file set tu NULL because src_file is not present in backup_metada,
therefore is not filled in src_file column in action table.

Src_file option was changed to path_to_backup in freezer git repository
below, but API was never changed, this patch is fixing this behaviour.

Freezer's change :
c7f71ff70b

Doc changes in freezer:
https://review.opendev.org/#/c/705003/

Change-Id: I9e74910bd0ff4ad18b830c26ce90770b0dfa107b
2020-01-31 11:45:39 +01:00
..
elasticsearch Remove six usage from freezer_api package 2020-01-22 02:14:39 -08:00
sqlalchemy Fix freezer-api's src_file to path_to_backup 2020-01-31 11:45:39 +01:00
__init__.py Introducing models for oslo.db 2017-04-10 18:46:20 +04:00
base.py Remove six usage from freezer_api package 2020-01-22 02:14:39 -08:00
common.py Part 1: Implement Sqlalchemy driver for freezer-api 2018-02-19 11:12:38 +00:00
manager.py Part 1: Implement Sqlalchemy driver for freezer-api 2018-02-19 11:12:38 +00:00