update/software-client
Heitor Matsui bba26b8d47 Add formatting function and apply to deploy state
This commit adds the capability to apply a custom formatting
function to the values returned by the API before presenting to
the user, and applies it initially on the deploy states.

Below is an example of the before/after:

Before:
+--------------+------------+------+-------+
| From Release | To Release |  RR  | State |
+--------------+------------+------+-------+
| 24.09.0      | 25.03.0    | True | host  |
+--------------+------------+------+-------+

After
+--------------+------------+------+-------------+
| From Release | To Release |  RR  |    State    |
+--------------+------------+------+-------------+
| 24.09.0      | 25.03.0    | True | deploy-host |
+--------------+------------+------+-------------+

Test Plan
PASS: run deploy show and verify the output is correct

Story: 2010676
Task: 50368

Change-Id: Iaa06e796bd8661c05e3086e7c16cf39b09fde274
Signed-off-by: Heitor Matsui <heitorvieira.matsui@windriver.com>
2024-06-18 17:24:01 -03:00
..
2024-04-17 16:40:07 +00:00
2024-04-17 16:40:07 +00:00
2024-04-26 15:54:21 +00:00