[Service] validate model path
authorJaeyun Jung <jy1210.jung@samsung.com>
Mon, 13 Mar 2023 07:23:21 +0000 (16:23 +0900)
committerYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 20 Mar 2023 01:41:01 +0000 (10:41 +0900)
commit343e00aa0f742a1a9e923ec9d687c14399b47459
tree719ec90f8815470af98ad19f9e8acec8d14feb62
parent940f7a42fbdc8df585996d6239b6899ee48d149f
[Service] validate model path

Validate model path when registering a model to database.
It should be an absolute path and not symbol link file.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
c/src/ml-api-service-agent-client.c
tests/capi/unittest_capi_service_agent_client.cc