jaehoon.hyun [Wed, 24 Apr 2019 01:48:24 +0000 (10:48 +0900)]
discovery_init.go : bug fix gServer
Not dynamic allocate variable
Change-Id: If4583a2a4930b0091bab2d1ec7f2ae25a3664155
jaehoon.hyun [Wed, 24 Apr 2019 01:00:54 +0000 (10:00 +0900)]
orchestrationapi_test.go : enchanement test
Add wifi turn on/off function
Add TestTurnOffWifiErrorAtRequestServiceApi test
Change-Id: I04ef686074fa631b571b4e05351698ca1744955f
heewon Park [Tue, 23 Apr 2019 10:02:23 +0000 (19:02 +0900)]
Update dbus return value & Match error code with orchestration module.
Change-Id: Ib8d884d213dd8d72fabe33af8fa427e4707ed849
Signed-off-by: heewon Park <h_w.park@samsung.com>
jaehoon.hyun [Tue, 23 Apr 2019 10:10:41 +0000 (19:10 +0900)]
src/interface/main.go enhancement main
scoringmgr thread working
Ready variable add
Change-Id: Ia46935e82c2b5be22ccf3f0fa1a0a7a34b76b482
jaehoon.hyun [Tue, 23 Apr 2019 10:07:25 +0000 (19:07 +0900)]
orchestrationapi/.go : discovery transcation logic add
init thread and requestService test
discovery in wifi fail over test
Change-Id: If3038299461d65e2517956b5e105a11a596596e4
jaehoon.hyun [Tue, 23 Apr 2019 09:58:57 +0000 (18:58 +0900)]
discoverymgr/.go : refactory discoverymgr
remove go channel
remove go function
Change-Id: I7e59861074f4a0f86d73dbd8b35887de838389ef
jaehoon.hyun [Tue, 23 Apr 2019 09:49:35 +0000 (18:49 +0900)]
lib/linux_arm/.a : enhancement library
0.0.1-
20190423.1833.a
liborachestration.a
Change-Id: If645b1c93e4c71f14993fba0799c3173aed8496a
jaehoon.hyun [Tue, 23 Apr 2019 09:40:42 +0000 (18:40 +0900)]
src/discoverymgr/discovery_init.go : discovery init remove go chan
Change-Id: I6e6e5ad6892e1e3424a3c155d666c635c5ee1469
heewon Park [Tue, 23 Apr 2019 05:43:48 +0000 (14:43 +0900)]
Change dbus own_name function to own_name_on_connection.
- Fixed use of duplicate functions in getting dbus connection in dbus initialize logic.
Change-Id: I011f8f1fd8c8d23cc6535c3889962a1c7ca65bce
Signed-off-by: heewon Park <h_w.park@samsung.com>
damon92 [Tue, 23 Apr 2019 04:27:39 +0000 (13:27 +0900)]
disocvery_execution : run discovery at init to cover unittest
Change-Id: I5274216dd4322c936ce9032f0749754701830262
DAEKEN KWON [Mon, 22 Apr 2019 10:40:18 +0000 (10:40 +0000)]
Merge "Fixed Dbus initailize logic." into tizen
heewon Park [Mon, 22 Apr 2019 10:33:27 +0000 (19:33 +0900)]
Fixed Dbus initailize logic.
Change-Id: I7a3c6a6f419d39a093896f8db738ea45332344f6
Signed-off-by: heewon Park <h_w.park@samsung.com>
DAEKEN KWON [Mon, 22 Apr 2019 10:28:29 +0000 (10:28 +0000)]
Merge "Update dbus policy." into tizen
daeken.kwon [Mon, 22 Apr 2019 09:58:22 +0000 (18:58 +0900)]
cMain: seperate orchestration init and dbus running using pthread
Change-Id: I12048492c54a6f4ee7723a34aabecdaf08872c40
heewon Park [Mon, 22 Apr 2019 01:46:56 +0000 (10:46 +0900)]
Update dbus policy.
- The default option is not accessible to the orchestration interface.
- To use the orchestration daemon, must have appmanager.launch privilege option.
Change-Id: Ib953a688868e1275a754e62271af91cf723bc576
Signed-off-by: heewon Park <h_w.park@samsung.com>
wansuyoo [Fri, 19 Apr 2019 07:00:15 +0000 (16:00 +0900)]
update latest orchestration library
Change-Id: I9e76df6df4a4285e8d70b17a9f71eb53c5113e6c
damon92 [Fri, 19 Apr 2019 06:23:22 +0000 (15:23 +0900)]
discoverymgr : add response to advertise; send multicast when TXT changed
Change-Id: Iba5033611b702d7f59233292f0d9706229bed6ff
Jiwon Cha [Fri, 19 Apr 2019 06:39:07 +0000 (06:39 +0000)]
Merge "apply ASLR at orchestration_sample executable" into tizen
Jiwon Cha [Fri, 19 Apr 2019 06:37:07 +0000 (06:37 +0000)]
Merge "modify build script to maintain build date of liborchestration.a library" into tizen
wansuyoo [Fri, 19 Apr 2019 06:30:44 +0000 (15:30 +0900)]
apply ASLR at orchestration_sample executable
result of hardening-check orchestration_sample:
Position Independent Executable: yes
Stack protected: no, not found!
Fortify Source functions: unknown, no protectable libc functions used
Read-only relocations: no, not found!
Immediate binding: no, not found!
Change-Id: I1b848d0d5beecf74e853bf7a918acb732d3587e5
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
damon92 [Fri, 19 Apr 2019 04:58:09 +0000 (13:58 +0900)]
common : return wlan ip only
Change-Id: Ib99304aaea728054ba5bbd327fbd8f25294f10e5
wansuyoo [Fri, 19 Apr 2019 04:17:44 +0000 (13:17 +0900)]
modify build script to maintain build date of liborchestration.a library
Change-Id: Id2602ed5c04c1a5c3310c9b6d0523ef93d51d712
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
Wansu Yoo [Fri, 19 Apr 2019 01:46:27 +0000 (01:46 +0000)]
Merge "discoverymgr : multicast polling interval set as 1 hour" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:45:50 +0000 (01:45 +0000)]
Merge "discoverymgr : add netInterface change detector" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:45:32 +0000 (01:45 +0000)]
Merge "discoverymgr : add server exit multicast sender and receiver" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:45:16 +0000 (01:45 +0000)]
Merge "Add prerequisite folder for executing service" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:44:57 +0000 (01:44 +0000)]
Merge "discoverymgr : customize grandcat/zeroconf to apply passive discovery" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:44:19 +0000 (01:44 +0000)]
Merge "discoverymgr : substitute instant discovery to map based polling" into tizen
damon92 [Fri, 19 Apr 2019 01:34:44 +0000 (10:34 +0900)]
discoverymgr : multicast polling interval set as 1 hour
Change-Id: Ib69231eab388376b767449bbfab863e65abab0a7
damon92 [Thu, 18 Apr 2019 09:04:07 +0000 (18:04 +0900)]
discoverymgr : add netInterface change detector
Change-Id: I4da3c9a815bda46e9a27cf77bce70aea3bb43e5d
jw_wonny.cha [Thu, 18 Apr 2019 07:43:57 +0000 (16:43 +0900)]
Add prerequisite folder for executing service
Change-Id: Ic404f738c464092bcf73950cd9e314897e29a5d1
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
damon92 [Thu, 18 Apr 2019 04:56:43 +0000 (13:56 +0900)]
discoverymgr : add server exit multicast sender and receiver
Change-Id: I0ff5837f6b4131f75e3193478cb8ae02cc9759fc
DAEKEN KWON [Thu, 18 Apr 2019 04:03:40 +0000 (04:03 +0000)]
Merge "update glide with current modules" into tizen
DAEKEN KWON [Thu, 18 Apr 2019 04:03:12 +0000 (04:03 +0000)]
Merge "service file: apply service UID/GID as root/root for x86" into tizen
damon92 [Thu, 18 Apr 2019 01:56:51 +0000 (10:56 +0900)]
discoverymgr : customize grandcat/zeroconf to apply passive discovery
Change-Id: I4f427ffd06cd6cbe5d4407e700e07764c691a5d9
wansuyoo [Thu, 18 Apr 2019 01:53:45 +0000 (10:53 +0900)]
update glide with current modules
Change-Id: I6b58629c5d87a0caf8ecb09c28abd4fe0bc1a236
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
daeken.kwon [Thu, 18 Apr 2019 01:09:41 +0000 (10:09 +0900)]
discoverymgr : use zeroconf.RegisterProxy for resolving hostname
- Tizen OS can't resolve host name but mDNS need it
- multicast DNS (mDNS) protocol resolves host names to IP addresses
Change-Id: If96ad29915c84d963b773f5c9d303f7da3eb4da3
Signed-off-by: daeken.kwon <daeken.kwon@samsung.com>
wansuyoo [Wed, 17 Apr 2019 09:22:49 +0000 (18:22 +0900)]
service file: apply service UID/GID as root/root for x86
Change-Id: I508e99d204609ec0ed7b9dd4f2b28ddc8e8e0ffa
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
wansuyoo [Wed, 17 Apr 2019 08:33:15 +0000 (17:33 +0900)]
service file: apply service permission
1. service file name: edge-orchestration.service
2. daemon: O
3. launching: systemd
4. UID/GID: system_fw/system_fw
5. smack label: System
6. capability: X
Change-Id: I72eab713cc4e7c3eaa612ad63313004532a367e5
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
damon92 [Wed, 17 Apr 2019 05:45:12 +0000 (14:45 +0900)]
discoverymgr : substitute instant discovery to map based polling
Change-Id: I1e927a6d8a9bda465c637598e0052d47757f4641
wansuyoo [Tue, 16 Apr 2019 08:17:58 +0000 (17:17 +0900)]
build script: update script for supporting x86 and arm build
Change-Id: I4965a7ef8be861b90082e5946e5b73777794d5e7
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
wansuyoo [Tue, 16 Apr 2019 06:23:36 +0000 (15:23 +0900)]
upload orchestration object
Change-Id: Icc67c354df84f422fd8d24a8646f771f36ec2463
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
daeken.kwon [Tue, 16 Apr 2019 04:48:12 +0000 (13:48 +0900)]
discoverymgr : extend timeout for GetDeviceListWithService
Change-Id: I0a256eaeee43b694dc77ddf9b1b6c2ac6a35e5ce
Signed-off-by: daeken.kwon <daeken.kwon@samsung.com>
daeken.kwon [Tue, 16 Apr 2019 03:42:14 +0000 (12:42 +0900)]
discoverymgr: register only wifi interface
Change-Id: Ic1caa5d3b11eb4fc7f04dce19e76e3277d81b79a
Signed-off-by: daeken.kwon <daeken.kwon@samsung.com>
Wansu Yoo [Tue, 16 Apr 2019 05:10:23 +0000 (05:10 +0000)]
Merge "packaging: update service Unit section" into tizen
Wansu Yoo [Tue, 16 Apr 2019 05:10:10 +0000 (05:10 +0000)]
Merge "discoverymgr : Add polling logic that get outbound ip" into tizen
DAEKEN KWON [Tue, 16 Apr 2019 01:37:44 +0000 (01:37 +0000)]
Merge "dbus: fix dbus policy with default deny rule" into tizen
wansuyoo [Tue, 16 Apr 2019 01:30:19 +0000 (10:30 +0900)]
dbus: fix dbus policy with default deny rule
Change-Id: I1ea398b9843a2ea7340823ba938510995d12a902
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
jw_wonny.cha [Mon, 15 Apr 2019 06:16:55 +0000 (15:16 +0900)]
discoverymgr : Add polling logic that get outbound ip
Change-Id: I0b8f1d31ed666d4430c5b0d24929fa3110e755a7
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
wansuyoo [Mon, 15 Apr 2019 05:03:46 +0000 (14:03 +0900)]
packaging: update service Unit section
Change-Id: Iba0f7548236c14100158ac23145ef08ace8d97ab
wansuyoo [Sun, 14 Apr 2019 23:26:33 +0000 (08:26 +0900)]
apply default scoring lib for x86_64
Change-Id: I6a1be8ffe4c7075263e318521374a0c454adfd8a
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
wansuyoo [Fri, 12 Apr 2019 08:45:35 +0000 (17:45 +0900)]
scoringmgr/myscoring: change default scoring lib
disable network resource checking (temporarily)
add force option at linking scoring lib
Change-Id: I4302284ce0ae420994bfa2675f00d2d6cefb3ae2
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
wansuyoo [Fri, 12 Apr 2019 08:16:16 +0000 (17:16 +0900)]
scoringmgr/myscoring: fix compile error
ln: invalid option -- 'r'
Change-Id: Id4e65095bce4fe0f4ca2d43fd779c19576a32eff
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
Wansu Yoo [Fri, 12 Apr 2019 07:18:41 +0000 (07:18 +0000)]
Merge "workspaceProfile.sh : test" into tizen
jaehoon.hyun [Fri, 12 Apr 2019 07:12:26 +0000 (16:12 +0900)]
workspaceProfile.sh : test
for standalone test on module
Change-Id: I593bdcf0569a5d27bd4212f98924b53d3750bda9
Wansu Yoo [Fri, 12 Apr 2019 07:00:52 +0000 (07:00 +0000)]
Merge "discoverymgr/discovery_setTXT.go : add mutex for shared resource serverTXT" into tizen
DAEKEN KWON [Fri, 12 Apr 2019 06:54:35 +0000 (06:54 +0000)]
Merge "scoringmgr/myscoring: add linking for library" into tizen
DAEKEN KWON [Fri, 12 Apr 2019 06:54:12 +0000 (06:54 +0000)]
Merge "Remove related with devicemgr" into tizen
Jiwon Cha [Fri, 12 Apr 2019 06:47:25 +0000 (06:47 +0000)]
Merge "securemgr: change key file path" into tizen
wansuyoo [Fri, 12 Apr 2019 06:46:53 +0000 (15:46 +0900)]
scoringmgr/myscoring: add linking for library
Change-Id: I4b8fc83921783c75731abb9b12abf9cba76e42d2
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
damon92 [Fri, 12 Apr 2019 06:39:58 +0000 (15:39 +0900)]
discoverymgr/discovery_setTXT.go : add mutex for shared resource serverTXT
Change-Id: If0ec6997711b5a597c09437688f2e38ae9eb3ff1
jw_wonny.cha [Fri, 12 Apr 2019 06:39:00 +0000 (15:39 +0900)]
Remove related with devicemgr
Change-Id: I293e009c217a75cd7bb1182e39ab34f0b3e6484e
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
wansuyoo [Fri, 12 Apr 2019 06:27:54 +0000 (15:27 +0900)]
securemgr: change key file path
Change-Id: Ie50d97d1012a1a3ff3f63f1edddd5576423bd201
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
jaehoon.hyun [Fri, 12 Apr 2019 06:11:08 +0000 (15:11 +0900)]
build.sh : enhancement
service stop when test
Change-Id: I9f4f108c4bac4775bfc94e46caa5e35711e0078b
jaehoon.hyun [Fri, 12 Apr 2019 06:05:54 +0000 (15:05 +0900)]
resourceservice/resourceservice.c : bug
bandwidth not support wlan
Change-Id: Id6cb26c9268f345c1d752db91d51cc6d779b7d48
Wansu Yoo [Fri, 12 Apr 2019 05:54:36 +0000 (05:54 +0000)]
Merge "Modify TestDoExecuteRemoteDevice TC" into tizen
Wansu Yoo [Fri, 12 Apr 2019 05:54:30 +0000 (05:54 +0000)]
Merge "Add go test option -v" into tizen
Wansu Yoo [Fri, 12 Apr 2019 05:54:24 +0000 (05:54 +0000)]
Merge "remove devicemgr / incubator folder" into tizen
wansuyoo [Fri, 12 Apr 2019 05:34:06 +0000 (14:34 +0900)]
CMain/unittest: fix corruption issue from double free
Change-Id: I0a1dbb5283f6a90d851120ca2ab0f1bb45087489
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
jw_wonny.cha [Fri, 12 Apr 2019 05:03:08 +0000 (14:03 +0900)]
Modify TestDoExecuteRemoteDevice TC
Change-Id: I8970bbeeb1eda12be5bc5a722c4d6abd964c7780
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Fri, 12 Apr 2019 05:01:35 +0000 (14:01 +0900)]
Add go test option -v
Change-Id: Idea87f57b32065543b1560f0fca3f4d908fb6c1c
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Fri, 12 Apr 2019 04:59:54 +0000 (13:59 +0900)]
remove devicemgr / incubator folder
Change-Id: I657c35e81b19ed94b119d9ea3515d543ab32c8fb
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
Wansu Yoo [Fri, 12 Apr 2019 04:11:08 +0000 (04:11 +0000)]
Merge "Clean up scoringmgr pkg" into tizen
Wansu Yoo [Fri, 12 Apr 2019 04:10:55 +0000 (04:10 +0000)]
Merge "Modify target pkg to measure test coverage" into tizen
jw_wonny.cha [Thu, 11 Apr 2019 08:46:33 +0000 (17:46 +0900)]
Clean up scoringmgr pkg
Change-Id: Ia2f4369f17cbeeb72d615ec64abbca26833906bf
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 08:47:51 +0000 (17:47 +0900)]
Modify target pkg to measure test coverage
Change-Id: Icaf7fa07241ed33e392c5a92ec47737ff2ec0159
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 11:36:44 +0000 (20:36 +0900)]
Add dbus.conf for x86
Change-Id: Ie8dc01ff3fea19341cee46fbd6a071019b0f00ef
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
DAEKEN KWON [Fri, 12 Apr 2019 04:01:31 +0000 (04:01 +0000)]
Merge "add default scoring config for armv7 arch" into tizen
Wansu Yoo [Fri, 12 Apr 2019 01:47:40 +0000 (01:47 +0000)]
Merge "Apply moving internal restapi logic in scoringmgr" into tizen
wansuyoo [Fri, 12 Apr 2019 01:35:27 +0000 (10:35 +0900)]
add default scoring config for armv7 arch
create makefile for compile scoring for arm
add config at libedge-orchestration package
Change-Id: I49785089fca0134c806774f769359126e61a129a
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
Wansu Yoo [Fri, 12 Apr 2019 01:12:35 +0000 (01:12 +0000)]
Merge "resourceservice/resourceservice.c : enhancement" into tizen
Wansu Yoo [Fri, 12 Apr 2019 01:10:33 +0000 (01:10 +0000)]
Merge "Fix svace issue. WGID - 415205 WGID - 415206" into tizen
jw_wonny.cha [Thu, 11 Apr 2019 08:45:51 +0000 (17:45 +0900)]
Apply moving internal restapi logic in scoringmgr
Change-Id: I038019a60d6af00ae676c580c9c5f026b994307f
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jaehoon.hyun [Thu, 11 Apr 2019 11:39:43 +0000 (20:39 +0900)]
resourceservice/resourceservice.c : enhancement
resource free
Change-Id: Iaaccc2b54d8545d9d282025c3b9d74ec8f95232e
heewon Park [Thu, 11 Apr 2019 09:21:08 +0000 (18:21 +0900)]
Fix svace issue.
WGID - 415205
WGID - 415206
Change-Id: Id1ad899478e9bb843ef493a38b07480582bcbffb
Signed-off-by: heewon Park <h_w.park@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 08:44:20 +0000 (17:44 +0900)]
Clean up servicemgr pkg
Change-Id: I02acf26b69e369415e2f8fe432ae9687ef42382c
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 08:42:56 +0000 (17:42 +0900)]
Apply moving internal restapi logic in servicemgr
Change-Id: I660a7dcd91bd604981e23d07b3ece2e6fdac1a9c
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 08:31:58 +0000 (17:31 +0900)]
Move business logic to httpclient pkg from each module
Change-Id: Ia9d6a2c5acb49407ea6db20ab6ed10864ad3178b
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
jw_wonny.cha [Thu, 11 Apr 2019 08:28:27 +0000 (17:28 +0900)]
Clean up httpclient package
Change-Id: I9d9a592bb862fe5ca92ae9b5700c1c82bf7be5d6
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
Wansu Yoo [Thu, 11 Apr 2019 05:12:00 +0000 (05:12 +0000)]
Merge "Modify typing error" into tizen
Wansu Yoo [Thu, 11 Apr 2019 05:11:33 +0000 (05:11 +0000)]
Merge "mock/myscoring : bug" into tizen
Wansu Yoo [Thu, 11 Apr 2019 05:11:22 +0000 (05:11 +0000)]
Merge "common/common/go : GetOutboundIP to use InterfaceAddr()" into tizen
jw_wonny.cha [Thu, 11 Apr 2019 05:06:42 +0000 (14:06 +0900)]
Modify typing error
Change-Id: Ie6d3a737b77f40b08c38f4407fd4b58ec520c17e
jaehoon.hyun [Thu, 11 Apr 2019 05:05:07 +0000 (14:05 +0900)]
mock/myscoring : bug
move to parent directory
Change-Id: I92673e7a675ff631ae2f7df2bb5b9862490bbe2c
damon92 [Thu, 11 Apr 2019 00:39:30 +0000 (09:39 +0900)]
common/common/go : GetOutboundIP to use InterfaceAddr()
Change-Id: Ia9b85e60f4e88f874e0fdcb48d298ee31c65dd50
Wansu Yoo [Thu, 11 Apr 2019 04:40:16 +0000 (04:40 +0000)]
Merge "CMain: add license annotation to exported header file" into tizen
Wansu Yoo [Thu, 11 Apr 2019 04:39:55 +0000 (04:39 +0000)]
Merge "orchestration_api_test.go : enhancement" into tizen
Wansu Yoo [Thu, 11 Apr 2019 04:39:27 +0000 (04:39 +0000)]
Merge "scroingmgr/scoringmgr_test.go : enhancement" into tizen
Wansu Yoo [Thu, 11 Apr 2019 04:38:47 +0000 (04:38 +0000)]
Merge "myscoring, myscoring2 : enhancement" into tizen
Wansu Yoo [Thu, 11 Apr 2019 04:38:24 +0000 (04:38 +0000)]
Merge "Add annotation / Update log in servicemgr" into tizen