[service] Check and parse app_info of tizen application (the caller)
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Mon, 17 Apr 2023 06:13:23 +0000 (15:13 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Thu, 20 Apr 2023 03:06:23 +0000 (12:06 +0900)
commit751109aa9e2e92b497535698a014bbe2e1a07db7
treef8dc0e7c6034a3873d4b3050f71948ec061cf679
parentd509f6a4ffdf600ac12d8fb65d38638d9efcb8eb
[service] Check and parse app_info of tizen application (the caller)

In a Tizen application context,
`ml_service_model_register` fill app_info column. RPK cannot call this
API, so the value of key `is_rpk` is always false.

`ml_service_model_get*` APIs should parse the app_info and update the
path in case of models from 'RPK'.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
c/src/meson.build
c/src/ml-api-service-agent-client.c
meson.build
packaging/machine-learning-api.spec