Add aulctl tool 90/268790/22
authorChanggyu Choi <changyu.choi@samsung.com>
Thu, 30 Dec 2021 08:50:37 +0000 (17:50 +0900)
committerChanggyu Choi <changyu.choi@samsung.com>
Tue, 8 Feb 2022 07:46:18 +0000 (16:46 +0900)
commit221e10fc8c441adaabe9a15b1becf5a9b1d1b865
treeb28a22a85fb7f505bac1d2e8199b510879f3df21
parent37b8debda0a01d23bb5f309798599179ebf7d7cd
Add aulctl tool

The aulctl is Application boot sequence management tool.

command list:
 - list-apps [|uid]: Print list of boot sequence apps.
 - is-active [appid]: Print whether the app is activated.([active|inactive])
 - status [|appid]: Print status of the boot sequence app.
 - list-dependencies [|uid]: Print dependency grach of boot sequence apps.
 - reload [|uid]: Reload the boot squence app's information.
 - start [appid]: Start the app according to the dependencies.
 - stop [appid]: Stop the app.

Change-Id: I88325b7c33a216bd2853ebf1afafdd8cdb5e4b00
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
35 files changed:
CMakeLists.txt
aul/boot_sequence/app_info.cc [new file with mode: 0644]
aul/boot_sequence/app_info.hh [new file with mode: 0644]
aul/boot_sequence/boot_sequence_manager.cc [new file with mode: 0644]
aul/boot_sequence/boot_sequence_manager.hh [new file with mode: 0644]
include/aul.h
include/aul_cmd.h
include/aul_key.h
packaging/aul.spec
server/api/aul_boot_sequence.cc
server/api/aul_boot_sequence.h
src/aul_cmd.c
tool/aulctl/CMakeLists.txt
tool/aulctl/aulctl.cc
tool/aulctl/operation/help_operation.cc [new file with mode: 0644]
tool/aulctl/operation/help_operation.hh [new file with mode: 0644]
tool/aulctl/operation/is_active_operation.cc [new file with mode: 0644]
tool/aulctl/operation/is_active_operation.hh [new file with mode: 0644]
tool/aulctl/operation/list_apps_operation.cc [new file with mode: 0644]
tool/aulctl/operation/list_apps_operation.hh [new file with mode: 0644]
tool/aulctl/operation/list_dependencies_operation.cc [new file with mode: 0644]
tool/aulctl/operation/list_dependencies_operation.hh [new file with mode: 0644]
tool/aulctl/operation/operation.hh [new file with mode: 0644]
tool/aulctl/operation/operation_factory.cc [new file with mode: 0644]
tool/aulctl/operation/operation_factory.hh [new file with mode: 0644]
tool/aulctl/operation/reload_operation.cc [new file with mode: 0644]
tool/aulctl/operation/reload_operation.hh [new file with mode: 0644]
tool/aulctl/operation/start_operation.cc [new file with mode: 0644]
tool/aulctl/operation/start_operation.hh [new file with mode: 0644]
tool/aulctl/operation/status_all_operation.cc [new file with mode: 0644]
tool/aulctl/operation/status_all_operation.hh [new file with mode: 0644]
tool/aulctl/operation/status_once_operation.cc [new file with mode: 0644]
tool/aulctl/operation/status_once_operation.hh [new file with mode: 0644]
tool/aulctl/operation/stop_operation.cc [new file with mode: 0644]
tool/aulctl/operation/stop_operation.hh [new file with mode: 0644]