[Service] deleting activated model
authorJaeyun Jung <jy1210.jung@samsung.com>
Wed, 3 May 2023 11:49:06 +0000 (20:49 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Tue, 23 May 2023 10:23:44 +0000 (19:23 +0900)
commitd283474218175656ee3d1fd2465aa28c4a364400
tree210f32ddafe498ee69ee250bf0ecda43483df21d
parent280e0634af8d883f64a7f1780fd1a792efcc97c7
[Service] deleting activated model

Add util functions in service-db,
1. prevent deleting activated model,
2. add util function to check model registration.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
daemon/includes/service-db.hh
daemon/service-db.cc
tests/capi/unittest_capi_service_agent_client.cc
tests/daemon/unittest_service_db.cc