distcloud/distributedcloud/dcmanager
Susendra Selvaraj 7a6bdbd8eb Remove unused methods in alarm manager
Below unused methods are removed -
1. _determine_version_cap definition is unused and there are no
   references to it in the code
2. 'summary' uses invalid decorator -
   @index.when(method='summary', template='json').
3. _get_alarm_summary method was only used by 'summary'
   method which is removed

Test plan:
1. Pass: Run UT coverage with this change.
         Coverage improved from 73% to 97%.
2. Pass: Run 'dcmanager alarm summary' command.
         There is no functional impact.

Story: 2007082
Task: 49564

Change-Id: I552d62a4c160ea52a1d17167d095d569786d254f
Signed-off-by: Susendra Selvaraj <susendra.selvaraj@windriver.com>
2024-02-13 10:39:31 -05:00
..
api Remove unused methods in alarm manager 2024-02-13 10:39:31 -05:00
audit Display prestage status and versions in subcloud list 2024-01-26 14:09:19 -05:00
cmd Fix issues introduced by pylint/pep8 for dcmanager 2024-01-19 11:29:25 -03:00
common Merge "Display prestage status and versions in subcloud list" 2024-01-26 21:14:52 +00:00
db Merge "Display prestage status and versions in subcloud list" 2024-01-26 21:14:52 +00:00
manager Merge "Report rehoming playbook failures" 2024-01-31 17:29:40 +00:00
objects Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
orchestrator Merge "Revert "Add the --upload-only option to dcmanager upgrade_strategy"" 2024-02-07 13:18:52 +00:00
rpc Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
state Update tox pylint/pep8 for dcmanager 2024-01-18 21:51:25 +00:00
tests Check vim strategy before updating network 2024-02-08 16:48:12 -05:00
__init__.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00
config-generator.conf Move content to subdir to support relocated packaging 2019-11-04 13:57:02 -05:00
version.py Remove standard WR License notice from StarlingX distributedcloud 2021-12-23 19:55:09 +00:00