[Doc] update description
authorJaeyun Jung <jy1210.jung@samsung.com>
Mon, 11 Dec 2023 08:02:06 +0000 (17:02 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Tue, 12 Dec 2023 12:59:04 +0000 (21:59 +0900)
Fix link to main page and update documents.

Signed-off-by: Jaeyun Jung <jy1210.jung@samsung.com>
20 files changed:
LICENSE
daemon/common.h
daemon/dbus-interface.h
daemon/gdbus-util.c
daemon/gdbus-util.h
daemon/include/ml-agent-interface.h
daemon/log.h
daemon/main.c
daemon/ml-agent-interface.c
daemon/ml-agent.pc.in
daemon/model-dbus-impl.cc
daemon/modules.c
daemon/modules.h
daemon/pipeline-dbus-impl.cc
daemon/pkg-mgr.cc
daemon/pkg-mgr.h
daemon/resource-dbus-impl.cc
daemon/service-db.cc
daemon/service-db.hh
dbus/machine-learning-agent.conf.in

diff --git a/LICENSE b/LICENSE
index 261eeb9e9f8b2b4b0d119366dda99c6fd7d35c64..b2e7300b8eea0de31141931fc18b9eb48dcf1546 100644 (file)
--- a/LICENSE
+++ b/LICENSE
@@ -1,3 +1,4 @@
+
                                  Apache License
                            Version 2.0, January 2004
                         http://www.apache.org/licenses/
       same "printed page" as the copyright notice for easier
       identification within third-party archives.
 
-   Copyright [yyyy] [name of copyright owner]
+   Copyright [2022] [Samsung Electronics Co., Ltd.]
 
    Licensed under the Apache License, Version 2.0 (the "License");
    you may not use this file except in compliance with the License.
index 0e0982417348287259b1cb295e39f118ae76c74a..b177aee088043e8a441575656f6b39de3ebe94d8 100644 (file)
@@ -8,7 +8,7 @@
  * @file    common.h
  * @date    25 June 2022
  * @brief   Internal common header of Machine Learning agent daemon
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index ffea9eedfd5a09c9213192eb18a638d562c8aa71..b381c905724582cead23b4c95ecdeea5818352d4 100644 (file)
@@ -8,7 +8,7 @@
  * @file    dbus-interface.h
  * @date    25 June 2022
  * @brief   Internal header for the definition of DBus node and interfaces.
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index caefec48f5c403a2b55714ebd883a080e33fcd00..76095cce0488a13c5c6970dcba2851b42621dfc3 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file gdbus-util.c
- * @date 25 June 2022
- * @brief Internal GDbus utility wrapper of Machine Learning agent daemon
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    gdbus-util.c
+ * @date    25 June 2022
+ * @brief   Internal GDbus utility wrapper of Machine Learning agent daemon
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include <errno.h>
index bb09d06139b02079af33ccaefb94b9a5c1dcff7d..5d473ef37200f26876103f20b26a1ff24d27179c 100644 (file)
@@ -8,7 +8,7 @@
  * @file    gdbus-util.h
  * @date    25 June 2022
  * @brief   Internal GDbus utility header of Machine Learning agent daemon
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index 52bc72636e56a0431390e10579bcee8e06603db6..2203e22c75dcfff764c6267adc1ba088ec4e2c23 100755 (executable)
@@ -2,7 +2,7 @@
  * @file    ml-agent-interface.h
  * @date    5 April 2023
  * @brief   A set of exported ml-agent interfaces for managing pipelines, models, and other service.
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Wook Song <wook16.song@samsung.com>
  * @bug     No known bugs except for NYI items
  */
index 186f5a94a4e4fcf29bc54969356844dcfcacee34..e933bc6b7546537492a18a85d85bae7369b27e51 100644 (file)
@@ -8,7 +8,7 @@
  * @file    log.h
  * @date    25 June 2022
  * @brief   Internal log header of Machine Learning agent daemon
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index 7348827ff41a6b9cd96b21034ca2846538993a7d..fd4498261c71a8751dfd441bc3b87306266e0e40 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file main.c
- * @date 25 June 2022
- * @brief core module for the Machine Learning agent daemon
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    main.c
+ * @date    25 June 2022
+ * @brief   Core module for the Machine Learning agent
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include <stdio.h>
index 7a3b32a043e2ca7756eaa16af574885f1cc566ab..ed26a008b316416a3ffdc0295b90f32cb75743cd 100755 (executable)
@@ -1,8 +1,9 @@
+/* SPDX-License-Identifier: Apache-2.0 */
 /**
  * @file    ml-agent-interface.c
  * @date    5 April 2023
  * @brief   A set of exported ml-agent interfaces for managing pipelines, models, and other service.
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Wook Song <wook16.song@samsung.com>
  * @bug     No known bugs except for NYI items
  */
index f273253f837a749a8f732f976dbcf8cae6f4b7be..aa487e61894b79958e22d3ae8274d187f369a2d7 100755 (executable)
@@ -3,8 +3,8 @@ exec_prefix=@PREFIX@
 libdir=@LIB_INSTALL_DIR@
 includedir=@INCLUDE_INSTALL_DIR@
 
-Name: ml-agent-service
-Description: Development headers and libraries for interfaces provided by Machine Learning Agent Service
+Name: ml-agent
+Description: Development headers and libraries for interfaces provided by Machine Learning Agent
 Version: @VERSION@
 Libs: -L${libdir} -lml-agent
 Cflags: -I${includedir}/ml-agent
index 484d3184877937b2bb210ad094c9520233abe55d..0fbfded15462df2f7fda45a1071d1393e310f747 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file model-dbus-impl.cc
- * @date 29 Jul 2022
- * @brief DBus implementation for Model Interface
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    model-dbus-impl.cc
+ * @date    29 Jul 2022
+ * @brief   DBus implementation for Model Interface
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include <errno.h>
index 9f855278a05ba936558c0ca2c08ecb606ffb6208..364162e06cce59ae1e9696e090db06be5c59fd0f 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file modules.c
- * @date 25 June 2022
- * @brief NNStreamer/Utilities C-API Wrapper.
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    modules.c
+ * @date    25 June 2022
+ * @brief   Internal module utility header of Machine Learning agent daemon
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include <glib.h>
index eb8d2b05424c61f5333540b0eea3863ad419025c..7f39de51f6439ebdd00f5c423ed08cb4fc3f2e45 100644 (file)
@@ -8,7 +8,7 @@
  * @file    modules.h
  * @date    25 June 2022
  * @brief   Internal module utility header of Machine Learning agent daemon
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index 567a6b009c8f305b66cf520d5abf3aee020dc0e4..d351293904c781ab4852064a801f52dfc90f2806 100644 (file)
@@ -8,7 +8,7 @@
  * @file    pipeline-dbus-impl.cc
  * @date    20 Jul 2022
  * @brief   Implementation of pipeline dbus interface.
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Yongjoo Ahn <yongjoo1.ahn@samsung.com>
  * @bug     No known bugs except for NYI items
  * @details
index e5bb73dda4cdc52731b8f0d04ad6a44106e374a3..a23b8efce75a8b7b830af347c263fcf6d7ba9587 100755 (executable)
@@ -4,8 +4,8 @@
  *
  * @file    pkg-mgr.cc
  * @date    16 Feb 2023
- * @brief   NNStreamer/Utilities C-API Wrapper.
- * @see            https://github.com/nnstreamer/api
+ * @brief   Internal package manager utility header of Machine Learning agent daemon
+ * @see            https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  */
index 4a5d126879fb6ca1ee12fe8d767e15995171d24c..ee952f5ddf53a6a3fa22ab988b46b50d1de8b0a4 100755 (executable)
@@ -8,7 +8,7 @@
  * @file    pkg-mgr.h
  * @date    16 Feb 2023
  * @brief   Internal package manager utility header of Machine Learning agent daemon
- * @see     https://github.com/nnstreamer/api
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
  * @author  Sangjung Woo <sangjung.woo@samsung.com>
  * @bug     No known bugs except for NYI items
  *
index b1e775d99a8f1caa944b29d05cfe8ff2f1b3813f..04d9b073a8fffc7f3e6e47eee24db99ec1c0de41 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2023 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file resource-dbus-impl.cc
- * @date 17 July 2023
- * @brief DBus implementation for Resource Interface
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    resource-dbus-impl.cc
+ * @date    17 July 2023
+ * @brief   DBus implementation for Resource Interface
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include <errno.h>
index be01ed9dc0b7ddc9506685f1fcabfa232768e7f5..e7d3846e59f0aba747d36fdf97ad8b572c3e9900 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file service-db.cc
- * @date 29 Jul 2022
- * @brief Database implementation of NNStreamer/Service C-API
- * @see https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    service-db.cc
+ * @date    29 Jul 2022
+ * @brief   Database implementation of ML Agent
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #include "service-db.hh"
index ababe07dbdddfc1f6e8ed492dd2fdd3c1c87fbd4..5491d5cfa67d67b278c3c2d2f365dd94de04f010 100644 (file)
@@ -2,12 +2,12 @@
 /**
  * Copyright (c) 2022 Samsung Electronics Co., Ltd. All Rights Reserved.
  *
- * @file service-db.hh
- * @date 28 Mar 2022
- * @brief NNStreamer/Service Database Interface
- * @see        https://github.com/nnstreamer/api
- * @author Sangjung Woo <sangjung.woo@samsung.com>
- * @bug No known bugs except for NYI items
+ * @file    service-db.hh
+ * @date    28 Mar 2022
+ * @brief   NNStreamer/Service Database Interface
+ * @see     https://github.com/nnstreamer/deviceMLOps.MLAgent
+ * @author  Sangjung Woo <sangjung.woo@samsung.com>
+ * @bug     No known bugs except for NYI items
  */
 
 #ifndef __SERVICE_DB_HH__
index 9f32a418915dd9503d250b1aa673f714a7dde3ca..9f442f4fb55007d7684ff1c915ee0aa3b2b84716 100644 (file)
@@ -3,15 +3,14 @@
 <busconfig>
     <policy user="root">
         <allow send_destination="org.tizen.machinelearning.service"
-               send_interface="org.tizen.machinelearning.service.pipeline"/>
+            send_interface="org.tizen.machinelearning.service.pipeline"/>
     </policy>
     <policy user="service_fw">
         <allow own="org.tizen.machinelearning.service"/>
     </policy>
     <policy context="default">
-       <deny own="org.tizen.machinelearning.service"/>
-       <deny send_destination="org.tizen.machinelearning.service"/>
-
-       <allow send_destination="org.tizen.machinelearning.service"/>
+        <deny own="org.tizen.machinelearning.service"/>
+        <deny send_destination="org.tizen.machinelearning.service"/>
+        <allow send_destination="org.tizen.machinelearning.service"/>
     </policy>
 </busconfig>