summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
SukhyungKang [Wed, 28 May 2025 04:48:04 +0000 (13:48 +0900)]
Fix run all service error when there is no service
Change-Id: Iec9d61a33cd5f35318e4c5e0632f03f898c7384a
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Changgyu Choi [Wed, 14 May 2025 10:18:56 +0000 (19:18 +0900)]
Unify monitor classes with common interface and factory
Create IMonitor interface for all monitor types (Path, DBus, Socket) and implement
MonitorFactory to centralize creation logic. Removes conditional branching from
Service class and improves maintainability.
Change-Id: Ib4dae04cd47c0d8ff3464e7d787a84b7d975fab4
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 20 May 2025 01:45:29 +0000 (10:45 +0900)]
Release version 1.0.3
Changes:
- Fix wrong throw exception
Change-Id: I51c23257c40f4a853b9499f99804dfc090c045fa
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 20 May 2025 00:48:15 +0000 (09:48 +0900)]
Fix wrong throw exception
Change-Id: I89d6f6dc142f1775065e64fdfc0a792e37edeec9
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 16 May 2025 07:38:40 +0000 (16:38 +0900)]
Release version 1.0.2
Changes:
- Fix variable shadowing
Change-Id: I9a703f4e3116b1463bfb4fd4edb01464e91fceca
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 16 May 2025 07:37:47 +0000 (16:37 +0900)]
Fix variable shadowing
-Werror=shadow added.
Change-Id: Id9f223b3cde006f7e0d2dc543ac813a30d340fae
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 15 May 2025 10:26:56 +0000 (19:26 +0900)]
Release version 1.0.1
Changes:
- Fix README to meet compliance
- Fix static analysis issues
Change-Id: Iba2b86cc9d481a6bdcbde43169c5b809000342d0
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 15 May 2025 07:59:40 +0000 (16:59 +0900)]
Fix static analysis issues
Changes:
- fix uninitialized class variables.
- Adds missing throw keyword.
- Adds const keyword for unchanged value.
Change-Id: I9b106cbdbf34324e851f0d4173d78902ade525dc
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
JIHOI KIM [Thu, 15 May 2025 07:37:57 +0000 (07:37 +0000)]
Merge "Fix README to meet compliance" into tizen
Jihoi Kim [Thu, 15 May 2025 06:38:07 +0000 (15:38 +0900)]
Fix README to meet compliance
- Fix 'master-slave' pattern into 'main-secondary' pattern
Change-Id: I638f95b3e286248c0917241787d0ea2c8bb825cd
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Thu, 15 May 2025 06:29:55 +0000 (15:29 +0900)]
Release version 1.0.0
united-service has been drafted.
Change-Id: I3e063c8a947546097eabc5f7f23b416358cb1603
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
김지회/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 02:02:46 +0000 (11:02 +0900)]
Merge pull request #15 from jihoi-kim/fix_docs
Fix sample code in documentation
강석형/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 01:54:05 +0000 (10:54 +0900)]
Merge pull request #16 from shine-kang/make_changes
Fix type mismatch
SukhyungKang [Thu, 15 May 2025 01:41:40 +0000 (10:41 +0900)]
Fix type mismatch
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
최창규/Tizen Platform Lab(SR)/삼성전자 [Thu, 15 May 2025 01:27:53 +0000 (10:27 +0900)]
Merge pull request #10 from appfw/changyu.choi/main_thread
Add main thread service
Jihoi Kim [Wed, 14 May 2025 11:42:37 +0000 (20:42 +0900)]
Fix sample code in documentation
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Changgyu Choi [Wed, 14 May 2025 04:09:05 +0000 (13:09 +0900)]
Apply feedbacks
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 13 May 2025 08:52:24 +0000 (17:52 +0900)]
Support main thread service quit
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 28 Apr 2025 04:29:13 +0000 (13:29 +0900)]
Change usethread conf naming
Changes:
- use-main-thread -> usethread
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 28 Apr 2025 00:58:07 +0000 (09:58 +0900)]
Fix use_main_thread_ default value
use_main_thread_ default value must be false.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Sun, 27 Apr 2025 09:04:12 +0000 (18:04 +0900)]
Add main thread service
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
최창규/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 10:45:42 +0000 (19:45 +0900)]
Merge pull request #8 from appfw/changyu.choi/on-demand
Implement on-demand launch
Changgyu Choi [Wed, 14 May 2025 09:02:09 +0000 (18:02 +0900)]
Apply feedbacks
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Tue, 22 Apr 2025 07:17:40 +0000 (16:17 +0900)]
Perform monitoring after service termination
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Mon, 14 Apr 2025 08:40:12 +0000 (17:40 +0900)]
Add socket listening logic
Systemd socket activation is not essential for socket activation of the service module.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 11 Apr 2025 07:16:38 +0000 (16:16 +0900)]
Change file activation to path activation
Path activation is a more general expression.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Fri, 11 Apr 2025 01:52:15 +0000 (10:52 +0900)]
Implement FileMonitor
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Wed, 9 Apr 2025 01:41:20 +0000 (10:41 +0900)]
Implement FdMonitor
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Changgyu Choi [Thu, 10 Apr 2025 01:16:43 +0000 (10:16 +0900)]
Implement dbus ondemaind launch
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
김지회/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 06:35:10 +0000 (15:35 +0900)]
Merge pull request #14 from jihoi-kim/fix_build_err
Fix Arch Build Error
Jihoi Kim [Wed, 14 May 2025 05:20:21 +0000 (14:20 +0900)]
Fix Arch Build Error
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
강석형/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 04:40:56 +0000 (13:40 +0900)]
Merge pull request #5 from shine-kang/make_changes
Add priority for united service configurefile
SukhyungKang [Wed, 14 May 2025 04:20:34 +0000 (13:20 +0900)]
Change priority value from number to predefined value
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Wed, 14 May 2025 01:57:07 +0000 (10:57 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
김지회/Tizen Platform Lab(SR)/삼성전자 [Wed, 14 May 2025 01:51:49 +0000 (10:51 +0900)]
Fix Build Error by Arch
Fix Build Error by Arch
Jihoi Kim [Tue, 13 May 2025 11:37:29 +0000 (20:37 +0900)]
Fix Build Error by Arch
- Use uint32 to calculate pss
- Use %zd to represent int value
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
SukhyungKang [Tue, 13 May 2025 10:48:26 +0000 (19:48 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
김지회/Tizen Platform Lab(SR)/삼성전자 [Tue, 13 May 2025 08:48:00 +0000 (17:48 +0900)]
Implement Watchdog Manager
Implement Watchdog Manager
김지회/Tizen Platform Lab(SR)/삼성전자 [Tue, 13 May 2025 08:47:34 +0000 (17:47 +0900)]
Fix Service Loader Context to be assigned
Fix Service Loader Context to be assigned
SukhyungKang [Fri, 9 May 2025 04:18:39 +0000 (13:18 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Jihoi Kim [Thu, 8 May 2025 04:26:05 +0000 (13:26 +0900)]
Code refactoring for readability
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Mon, 28 Apr 2025 12:20:33 +0000 (21:20 +0900)]
Implement watchdog manager
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
Jihoi Kim [Mon, 28 Apr 2025 08:41:53 +0000 (17:41 +0900)]
Fix Service Loader Context to be assigned
- Currently, there are no operation that initialize ::Context
- The context should be assigned ServiceLoaderExt.ctor
Signed-off-by: Jihoi Kim <jihoi.kim@samsung.com>
최창규/Tizen Platform Lab(SR)/삼성전자 [Mon, 28 Apr 2025 04:39:30 +0000 (13:39 +0900)]
Merge pull request #9 from appfw/changyu.choi/fix
Change service module interface name
SukhyungKang [Fri, 25 Apr 2025 01:56:19 +0000 (10:56 +0900)]
Add priority for united service configurefile run from state callback
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
SukhyungKang [Tue, 15 Apr 2025 08:47:54 +0000 (17:47 +0900)]
Add priority for united service configurefile using wait lock
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Changgyu Choi [Tue, 15 Apr 2025 10:17:58 +0000 (19:17 +0900)]
Change service module interface name
The naming "unified service" is ambiguous because it is used interchangeably in apps and daemon frameworks.
Changes:
- UNITED_SERVICE_INIT -> USD_MOD_INIT
- UNITED_SERVICE_SHUTDOWN -> USD_MOD_SHUTDOWN
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
SukhyungKang [Thu, 10 Apr 2025 22:50:09 +0000 (07:50 +0900)]
Merge branch 'master' of https://github.sec.samsung.net/appfw/united-service into make_changes
SukhyungKang [Fri, 4 Apr 2025 00:25:58 +0000 (09:25 +0900)]
Add priority for united service configurefile
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
최창규/Tizen Platform Lab(SR)/삼성전자 [Thu, 10 Apr 2025 06:19:13 +0000 (15:19 +0900)]
Merge pull request #6 from appfw/changyu.choi/shutdown
Modify UNITED_SERVICE_SHUTDOWN interface
Changgyu Choi [Thu, 10 Apr 2025 06:12:57 +0000 (15:12 +0900)]
Modify UNITED_SERVICE_SHUTDOWN interface
service_unregister() method needs name parameter.
So, UNITED_SERVICE_SHUTDOWN interface should include a name paremeter.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Tue, 8 Apr 2025 23:40:14 +0000 (08:40 +0900)]
Modify Quit method of Service
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Apr 2025 02:03:06 +0000 (11:03 +0900)]
Remove unnecessary mutex
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 8 Apr 2025 00:59:35 +0000 (09:59 +0900)]
Remove service_manager.h header file
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 7 Apr 2025 23:46:20 +0000 (08:46 +0900)]
Use tizen_base::Exception class to throw exceptions
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 7 Apr 2025 11:55:11 +0000 (20:55 +0900)]
Modify ServiceLoader Implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
전환규/Tizen Platform Lab(SR)/삼성전자 [Thu, 3 Apr 2025 02:15:32 +0000 (11:15 +0900)]
Merge pull request #4 from shine-kang/make_changes
Change error type name for service loader
SukhyungKang [Wed, 2 Apr 2025 00:41:11 +0000 (09:41 +0900)]
Change error type name
- change error type name for service loader
Signed-off-by: SukhyungKang <shine.kang@samsung.com>
Hwankyu Jhun [Mon, 31 Mar 2025 07:25:07 +0000 (16:25 +0900)]
Check calling thread ID
If it's equal to the caller thread, we should skip calling
std::conditional_variable.wait().
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
최창규/Tizen Platform Lab(SR)/삼성전자 [Wed, 26 Mar 2025 01:23:57 +0000 (10:23 +0900)]
Merge pull request #2 from appfw/changyu.choi/thread_event
Send state changed event to threads
Changgyu Choi [Mon, 24 Mar 2025 02:16:37 +0000 (11:16 +0900)]
Send state changed event to threads
OnServiceStateChanged() event handler should be invoked from the thread
that registered the event handler.
Signed-off-by: Changgyu Choi <changyu.choi@samsung.com>
Hwankyu Jhun [Fri, 21 Mar 2025 07:15:35 +0000 (16:15 +0900)]
Add descriptions
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 21 Mar 2025 03:35:25 +0000 (12:35 +0900)]
Add descriptions to service_loader.h file
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 19 Mar 2025 12:23:15 +0000 (21:23 +0900)]
Fix wrong implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Wed, 19 Mar 2025 11:43:15 +0000 (20:43 +0900)]
Modify configuration path
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Mar 2025 23:37:29 +0000 (08:37 +0900)]
Fix wrong implementations
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Mar 2025 10:03:14 +0000 (19:03 +0900)]
Modify implementation
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Mar 2025 02:16:05 +0000 (11:16 +0900)]
Fix ServiceContext class
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Tue, 18 Mar 2025 02:04:48 +0000 (11:04 +0900)]
Add ServiceContext & ServiceInfo classes
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Mon, 17 Mar 2025 01:57:32 +0000 (10:57 +0900)]
Add Dictionary class
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Sun, 16 Mar 2025 23:33:44 +0000 (08:33 +0900)]
Init
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>
Hwankyu Jhun [Fri, 24 Jan 2025 03:29:21 +0000 (12:29 +0900)]
Add README markdown
Signed-off-by: Hwankyu Jhun <h.jhun@samsung.com>