platform/core/system/edge-orchestration.git
5 years agoenhance unittest of dbus-server 43/215543/1 accepted/tizen/unified/20191011.015540 submit/tizen/20191010.122651
wansu.yoo [Thu, 10 Oct 2019 11:04:01 +0000 (20:04 +0900)]
enhance unittest of dbus-server

Change-Id: Ie354828c1825ecd809f7b09a5409f4c7ff0b837c
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoupdate sample edge-orchestration.key 67/215467/1 accepted/tizen/unified/20191010.032844 submit/tizen/20191008.123122
wansu.yoo [Tue, 8 Oct 2019 12:29:55 +0000 (21:29 +0900)]
update sample edge-orchestration.key

Change-Id: Iae9e5b4d7681b3274751a68bd8c3b9a4ed5cc9dc

5 years agoupdate submodule 62/215462/1 submit/tizen/20191008.122111
wansu.yoo [Tue, 8 Oct 2019 10:23:21 +0000 (19:23 +0900)]
update submodule

-. enable tls-psk for secure communication
-. add validation checker on received request
-. add params of service request information

Change-Id: Iab45983bc75ca4a7935d9e0f3d895de62367493f
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoMerge "fix bug at strcmp" into tizen
희원 박 [Mon, 7 Oct 2019 23:16:39 +0000 (23:16 +0000)]
Merge "fix bug at strcmp" into tizen

5 years agoupdate get_pid_with_connection from dbus 68/215368/1
wansu.yoo [Mon, 7 Oct 2019 11:07:01 +0000 (20:07 +0900)]
update get_pid_with_connection from dbus

Change-Id: Id5d147f9ecb84d785f9df4e4d32f6546e63996bd

5 years agofix bug at strcmp 60/215360/1
wansu.yoo [Mon, 7 Oct 2019 09:46:58 +0000 (18:46 +0900)]
fix bug at strcmp

Change-Id: Ie3fba43f24e8e9d60e2e41c0740df6a568e85ead

5 years agosync from edge-orchestration submodule changes 18/215318/1
wansu.yoo [Mon, 7 Oct 2019 04:39:26 +0000 (13:39 +0900)]
sync from edge-orchestration submodule changes

-. modify orchestration samples according to api changes
-. add build option according to go build tags

Change-Id: Ic0e619a7f0a2b5aacd1abdced29be54577dfe54d
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoAdd Process Name parameter on DBUS server 21/215221/5
wansu.yoo [Thu, 3 Oct 2019 06:02:07 +0000 (15:02 +0900)]
Add Process Name parameter on DBUS server

-. get PID form DBUS client
-. get Process Name form PID
-. add Process Name as parameter on C-API

Change-Id: I0b326d02ba0c0245ab92a3f0905eb04fb759afdc
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoapply C-API changes 02/215002/2 accepted/tizen/unified/20191002.013411 submit/tizen/20191001.102647
wansu.yoo [Tue, 1 Oct 2019 00:08:20 +0000 (09:08 +0900)]
apply C-API changes

-. add self_select param to make requestor choose
-. add dbus method for self_select param
-. change samples with self_select param

Change-Id: Ie927a66035c81217ce955664a22479f3cb17be41
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agofix sample for android service param 24/214924/3
wansu.yoo [Sun, 29 Sep 2019 23:25:10 +0000 (08:25 +0900)]
fix sample for android service param

Change-Id: I948fda21476f9eb849a5afba4aa0a310ab862dcd
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agofix coverity NEGATIVE_RETURNS issue 49/214849/2 submit/tizen/20190927.074752
wansu.yoo [Fri, 27 Sep 2019 06:28:42 +0000 (15:28 +0900)]
fix coverity NEGATIVE_RETURNS issue

Change-Id: Ifb1c61329d4270d485d8e56fbc5ae0db9ed364d3
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoMerge "apply submodule as Baobab branch" into tizen accepted/tizen/unified/20190927.064456 submit/tizen/20190926.090600
JungYong Kim [Thu, 26 Sep 2019 08:53:33 +0000 (08:53 +0000)]
Merge "apply submodule as Baobab branch" into tizen

5 years agoUpdate unittest for d-bus client.
JungYong KIM [Thu, 26 Sep 2019 06:27:20 +0000 (15:27 +0900)]
Update unittest for d-bus client.

Signed-off-by: JungYong KIM <jyong2.kim@samsung.com>
5 years agoapply submodule as Baobab branch 48/214748/1
wansu.yoo [Thu, 26 Sep 2019 05:22:28 +0000 (14:22 +0900)]
apply submodule as Baobab branch

-. package versioning as 1.0.0
-. enhance build script for submodule

Change-Id: I54d7002a872a87ed59ae9d8012c3c200ce9961aa
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoadd samples for edge-orchestration depending on archi 94/214594/1 accepted/tizen/unified/20190925.033659 submit/tizen/20190924.085251
wansu.yoo [Tue, 24 Sep 2019 08:04:47 +0000 (17:04 +0900)]
add samples for edge-orchestration depending on archi

Change-Id: I8c5c5fa1f79fecf55a5d9797c332c403fee317bd
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agofix build error 84/214084/1 accepted/tizen/unified/20190918.102303 submit/tizen/20190918.015502
wansu.yoo [Wed, 18 Sep 2019 01:41:49 +0000 (10:41 +0900)]
fix build error

-. remove symlink file
-. remove sample unused libraries

Change-Id: I1334f2ef02b1d8bf585e7aa031a6935d6aa7fbee
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoMerge "fix svace issue" into tizen
JungYong Kim [Wed, 4 Sep 2019 11:58:49 +0000 (11:58 +0000)]
Merge "fix svace issue" into tizen

5 years agofix svace issue 55/213355/1 accepted/tizen/unified/20190916.111631 submit/tizen/20190905.095244
wansu.yoo [Wed, 4 Sep 2019 10:34:51 +0000 (19:34 +0900)]
fix svace issue

WGID : 386428, Checker : PROC_USE.VULNERABLE
WGID : 386429, Checker : PROC_USE.VULNERABLE

Change-Id: If1f4f886e6422b3f9cf075665de6b989580f1547
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoMerge "modify orchestration_request_service API" into tizen
JungYong Kim [Thu, 22 Aug 2019 10:05:27 +0000 (10:05 +0000)]
Merge "modify orchestration_request_service API" into tizen

5 years agomodify orchestration_request_service API 08/212508/3 accepted/tizen/unified/20190826.012737 submit/tizen/20190823.053839
wansu.yoo [Thu, 22 Aug 2019 07:45:11 +0000 (16:45 +0900)]
modify orchestration_request_service API

-. update interface of go library for multiple input services.
-. add /var/data/db directory for boltdb pkg.
-. update dbus interface at server and client.
-. update generated lib.

Change-Id: I98c3e0ea1a2e9e5b566752fd40203601b481a393
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
5 years agoRemove duplicate dependency with implicit dependencies at "Type=dbus" 87/211587/2
INSUN PYO [Wed, 7 Aug 2019 03:00:04 +0000 (12:00 +0900)]
Remove duplicate dependency with implicit dependencies at "Type=dbus"

Refs: https://www.freedesktop.org/software/systemd/man/systemd.service.html
 - Services with Type=dbus set automatically acquire dependencies of type Requires= and After= on dbus.socket.

Change-Id: I7bf96d892eb48ce6580a3ef9a1b02363871ca479

5 years agoDelete meaningless configuration 12/209512/2
INSUN PYO [Mon, 8 Jul 2019 10:53:42 +0000 (19:53 +0900)]
Delete meaningless configuration

Change-Id: I165dae26f18a767b128030d069c67178a97efb29

5 years agoAdd submodule from https://github.com/lf-edge/edge-home-orchestration-go.git 10/210310/1 accepted/tizen/unified/20190722.074846 submit/tizen/20190718.224850
wansuyoo [Thu, 18 Jul 2019 04:55:04 +0000 (13:55 +0900)]
Add submodule from https://github.com/lf-edge/edge-home-orchestration-go.git

-. Add orchestration c-archive from submodule built
-. Change packaging according to including submodule

Change-Id: I6d5f4cd3e2d91b7dc79064d8a45f4eac0172fed1
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agocreate %{_sysconfdir}/%{name} directory for scoring init 31/209431/1 accepted/tizen/unified/20190708.114202 submit/tizen/20190708.040428
wansuyoo [Mon, 8 Jul 2019 01:45:17 +0000 (10:45 +0900)]
create %{_sysconfdir}/%{name} directory for scoring init

- bug fix for filepath of scoring listening directory

Change-Id: Ic44101f5539fe0e6a2b08574ad7bcd4e1f792862
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agomodify libedge-orchestration-devel packaging 64/209264/1 submit/tizen/20190705.043637
wansuyoo [Thu, 4 Jul 2019 06:52:44 +0000 (15:52 +0900)]
modify libedge-orchestration-devel packaging

-. remove duplicated liborchestration-client.so file from package
-. move sample app to devel package

Change-Id: I3cac15cc7e39be2962feee50679664917f17de57
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agochange APIV1ScoringmgrScoreLibnameGet to handle body 44/206844/2
daeken.kwon [Tue, 28 May 2019 00:33:38 +0000 (09:33 +0900)]
change APIV1ScoringmgrScoreLibnameGet to handle body

Change-Id: Ia974792eb02bb02e661f46ad56092b36f5053a95

5 years agoUpdate d-bus policy 54/204854/2
heewon Park [Wed, 22 May 2019 07:08:22 +0000 (16:08 +0900)]
Update d-bus policy

Change-Id: I361f15b24965ea2e23e1502e32703f77100dc3ff
Signed-off-by: heewon Park <h_w.park@samsung.com>
5 years agoMerge "add edge-orchestration.pc file" into tizen
DAEKEN KWON [Wed, 22 May 2019 06:44:40 +0000 (06:44 +0000)]
Merge "add edge-orchestration.pc file" into tizen

5 years agoMerge "remove link of vendor/src after build" into tizen
DAEKEN KWON [Wed, 22 May 2019 06:44:23 +0000 (06:44 +0000)]
Merge "remove link of vendor/src after build" into tizen

5 years agoMerge "modify service_info_s member name of external api" into tizen
DAEKEN KWON [Wed, 22 May 2019 06:44:09 +0000 (06:44 +0000)]
Merge "modify service_info_s member name of external api" into tizen

5 years agoMerge "add chrome-renderer execute app" into tizen
DAEKEN KWON [Wed, 22 May 2019 06:43:36 +0000 (06:43 +0000)]
Merge "add chrome-renderer execute app" into tizen

5 years agoadd time.Duration at waitServer 31/206531/1
wansuyoo [Tue, 21 May 2019 03:39:58 +0000 (12:39 +0900)]
add time.Duration at waitServer

issue at CPU occupation because of discoverymgr
it is waiting network connection without yield

Change-Id: I7696f6054e167872d4228f59cfeb76c41c95e95b
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agomodify service_info_s member name of external api 99/206099/1
wansuyoo [Tue, 14 May 2019 08:08:04 +0000 (17:08 +0900)]
modify service_info_s member name of external api

Change-Id: I0334ed4adf5b7e8eee63a694ec56ea0561c777da
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agoadd chrome-renderer execute app 71/206071/1
wansuyoo [Tue, 14 May 2019 05:19:23 +0000 (14:19 +0900)]
add chrome-renderer execute app

re-define role of configuration member
- AppName: Unique name of app to distinguish
- ExecBinary: Execute full command with parameters

Change-Id: I70b71158c277d5ec5535ec8eece10ac2128d5a87
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agoremove link of vendor/src after build 57/206057/1
wansuyoo [Tue, 14 May 2019 00:20:29 +0000 (09:20 +0900)]
remove link of vendor/src after build

Change-Id: Ic014184803b31fc89d3256cb3baaddb2cddb0696
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agoadd edge-orchestration.pc file 96/205996/1
wansuyoo [Mon, 13 May 2019 06:05:09 +0000 (15:05 +0900)]
add edge-orchestration.pc file

Change-Id: I1172eb3a23bbdcf6a6b55a0f821b47e9f878304d
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agoUpdate dbus.conf file for tizen dbus-policy 75/205675/1 accepted/tizen/unified/20190513.082545 submit/tizen/20190510.064321
heewon Park [Wed, 8 May 2019 10:14:26 +0000 (19:14 +0900)]
Update dbus.conf file for tizen dbus-policy

Change-Id: Icbc928d1e3657d65e5dad33ac174ffca297ff115
Signed-off-by: heewon Park <h_w.park@samsung.com>
5 years agoUpdate library linking 18/205118/1 accepted/tizen/unified/20190429.103849 submit/tizen/20190429.083016
jw_wonny.cha [Mon, 29 Apr 2019 08:26:18 +0000 (17:26 +0900)]
Update library linking

Change-Id: Ic70d2325f4b96cd19a1fb70e8a76dd92c6bd4fb8
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
5 years agoClean up log message 15/205115/1
jw_wonny.cha [Mon, 29 Apr 2019 08:22:15 +0000 (17:22 +0900)]
Clean up log message

Change-Id: I83798579208aae632f38728710397b447220ed71
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
5 years agoMerge "discovery_setTXT.go : bug fix waitServer" into tizen
Jiwon Cha [Fri, 26 Apr 2019 06:56:31 +0000 (06:56 +0000)]
Merge "discovery_setTXT.go : bug fix waitServer" into tizen

5 years agodiscovery_setTXT.go : bug fix waitServer 69/204769/1
jaehoon.hyun [Fri, 26 Apr 2019 06:54:18 +0000 (15:54 +0900)]
discovery_setTXT.go : bug fix waitServer

call AddNewServiceName to add waitServer
call SetServiceNames to add waitServer

Change-Id: Id61cb45740c4cbffbdb1ce305eadbf16ec2c60db

5 years agoAdd path for architecture 50/204750/1
jw_wonny.cha [Fri, 26 Apr 2019 05:42:09 +0000 (14:42 +0900)]
Add path for architecture

Change-Id: I029f5c43191f3eb1e64176b196f07a8966f52b23
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
5 years agoRevert "remove go toolchain"
wansuyoo [Thu, 25 Apr 2019 08:13:45 +0000 (17:13 +0900)]
Revert "remove go toolchain"

This reverts commit 5e311bc7e58416da9530cd4152b8ef4c41b02142.

5 years agoremove go toolchain
wansuyoo [Thu, 25 Apr 2019 08:03:34 +0000 (17:03 +0900)]
remove go toolchain

5 years agointerface: add output directory of liborchestration by architecture 33/204633/1 accepted/tizen/unified/20190426.054115 submit/tizen/20190425.075305
wansuyoo [Thu, 25 Apr 2019 07:02:23 +0000 (16:02 +0900)]
interface: add output directory of liborchestration by architecture

Change-Id: I4bc7fa943ca76165ea292e8ed94f24939477474b
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agoMerge "interface/main.go : enhancement interface" into tizen
Wansu Yoo [Thu, 25 Apr 2019 06:48:09 +0000 (06:48 +0000)]
Merge "interface/main.go : enhancement interface" into tizen

5 years agointerface/main.go : enhancement interface 27/204627/1
jaehoon.hyun [Thu, 25 Apr 2019 06:32:06 +0000 (15:32 +0900)]
interface/main.go : enhancement interface

fix log orchestrationapi.go
fix log discovery_init.go

Change-Id: Ie5b3ee0bac7873835ab7fe75ba9a663967d012d2

5 years agoupload latest liborchestration archive 14/204614/1 accepted/tizen/unified/20190425.111806 submit/tizen/20190425.040934
wansuyoo [Thu, 25 Apr 2019 03:19:31 +0000 (12:19 +0900)]
upload latest liborchestration archive

Change-Id: Ia69673d1b2788ee7647272a732953217ee5d418f
Signed-off-by: wansuyoo <wansu.yoo@samsung.com>
5 years agodiscovery_execution.go : not used function remove 07/204607/1
jaehoon.hyun [Thu, 25 Apr 2019 01:32:19 +0000 (10:32 +0900)]
discovery_execution.go : not used function remove

remove discoveryBGR function

Change-Id: Iac568842660cd53d1efdcb98a5d5798d154309b1

5 years agobuild.sh : enhancement build test 05/204605/1
jaehoon.hyun [Thu, 25 Apr 2019 01:30:18 +0000 (10:30 +0900)]
build.sh : enhancement build test

Add stop function in test code block

Change-Id: I631cfef9c7bb0a5ad5225c8c85a3a991be50f436

5 years agoMerge "discoverymgr_test.go : enhancement discovery" into tizen
희원 박 [Thu, 25 Apr 2019 01:13:22 +0000 (01:13 +0000)]
Merge "discoverymgr_test.go : enhancement discovery" into tizen

5 years agodiscoverymgr_test.go : enhancement discovery 99/204599/1
jaehoon.hyun [Thu, 25 Apr 2019 00:58:55 +0000 (09:58 +0900)]
discoverymgr_test.go : enhancement discovery

Add waitServer function

Change-Id: I33e7f3a3fac515417b346d5ca102d3bcf1f0fb5f

5 years agoAdd annotation of apache licesne 33/204533/3
jw_wonny.cha [Wed, 24 Apr 2019 07:04:48 +0000 (16:04 +0900)]
Add annotation of apache licesne

Change-Id: I9b78ee2cf2db8c3e986f8ecdec366d3f5a0965e3
Signed-off-by: jw_wonny.cha <jw_wonny.cha@samsung.com>
5 years agoMerge "add errormsg" into tizen
Jiwon Cha [Wed, 24 Apr 2019 07:10:24 +0000 (07:10 +0000)]
Merge "add errormsg" into tizen

5 years agoadd errormsg 35/204535/1
jaehoon.hyun [Wed, 24 Apr 2019 07:09:25 +0000 (16:09 +0900)]
add errormsg

Change-Id: I1f86553b843472fa19a9e4d1b83105ef4df5a728
Signed-off-by: jaehoon.hyun <jaehoon.hyun@samsung.com>
5 years agoFixed error logic & remove check logic 76/204476/2
heewon Park [Wed, 24 Apr 2019 06:34:36 +0000 (15:34 +0900)]
Fixed error logic & remove check logic

Change-Id: If9ef3f87f3470e8efad6e0fdf9359338db95974f
Signed-off-by: heewon Park <h_w.park@samsung.com>
5 years agoliborchestration.a : enhancement library 27/204527/1
jaehoon.hyun [Wed, 24 Apr 2019 06:41:09 +0000 (15:41 +0900)]
liborchestration.a : enhancement library

Change-Id: I10da8b7885b3a9e8995276cc766c9b5f6daec271

5 years agoorchestrationapi : enhancement discovery fail over test 75/204475/1
jaehoon.hyun [Wed, 24 Apr 2019 06:30:28 +0000 (15:30 +0900)]
orchestrationapi : enhancement discovery fail over test

Change-Id: I42dc0899a44489ecd9273aaf44ae7d723511cd75

5 years agodiscoverymgr : enhancement error handling 72/204472/1
jaehoon.hyun [Wed, 24 Apr 2019 06:27:59 +0000 (15:27 +0900)]
discoverymgr : enhancement error handling

Change-Id: I5050ca24d6354700335b2139d579536fb196deb2

5 years agocommon.go : enhancement error handling 64/204464/1
jaehoon.hyun [Wed, 24 Apr 2019 06:13:38 +0000 (15:13 +0900)]
common.go : enhancement error handling

GetOutBoundIP occurred 2 types error
- ErrorTurnOffWifi
- ErrorDisconnectWifi

Change-Id: I1a65704cc5c59c18ddc097b9e754ee318519c32a

5 years agodiscovery_init.go : bug fix gServer 28/204428/1
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

5 years agoorchestrationapi_test.go : enchanement test 22/204422/1
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

5 years agoUpdate dbus return value & Match error code with orchestration module. 74/204374/4
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>
5 years agosrc/interface/main.go enhancement main 87/204387/1
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

5 years agoorchestrationapi/.go : discovery transcation logic add 77/204377/1
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

5 years agodiscoverymgr/.go : refactory discoverymgr 73/204373/1
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

5 years agolib/linux_arm/.a : enhancement library 71/204371/2
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

5 years agosrc/discoverymgr/discovery_init.go : discovery init remove go chan 67/204367/2
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

5 years agoChange dbus own_name function to own_name_on_connection. 22/204322/2
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>
5 years agodisocvery_execution : run discovery at init to cover unittest 10/204310/2
damon92 [Tue, 23 Apr 2019 04:27:39 +0000 (13:27 +0900)]
disocvery_execution : run discovery at init to cover unittest

Change-Id: I5274216dd4322c936ce9032f0749754701830262

5 years agoMerge "Fixed Dbus initailize logic." into tizen accepted/tizen/unified/20190423.113421 submit/tizen/20190422.110144
DAEKEN KWON [Mon, 22 Apr 2019 10:40:18 +0000 (10:40 +0000)]
Merge "Fixed Dbus initailize logic." into tizen

5 years agoFixed Dbus initailize logic. 62/204262/2
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>
5 years agoMerge "Update dbus policy." into tizen
DAEKEN KWON [Mon, 22 Apr 2019 10:28:29 +0000 (10:28 +0000)]
Merge "Update dbus policy." into tizen

5 years agocMain: seperate orchestration init and dbus running using pthread 56/204256/1
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

5 years agoUpdate dbus policy. 61/204161/1
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>
5 years agoupdate latest orchestration library 91/204091/1 EDGE-389 accepted/tizen/unified/20190422.003834 submit/tizen/20190419.070313
wansuyoo [Fri, 19 Apr 2019 07:00:15 +0000 (16:00 +0900)]
update latest orchestration library

Change-Id: I9e76df6df4a4285e8d70b17a9f71eb53c5113e6c

5 years agodiscoverymgr : add response to advertise; send multicast when TXT changed 85/204085/3
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

5 years agoMerge "apply ASLR at orchestration_sample executable" into tizen
Jiwon Cha [Fri, 19 Apr 2019 06:39:07 +0000 (06:39 +0000)]
Merge "apply ASLR at orchestration_sample executable" into tizen

5 years agoMerge "modify build script to maintain build date of liborchestration.a library"...
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

5 years agoapply ASLR at orchestration_sample executable 86/204086/1
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>
5 years agocommon : return wlan ip only 74/204074/1
damon92 [Fri, 19 Apr 2019 04:58:09 +0000 (13:58 +0900)]
common : return wlan ip only

Change-Id: Ib99304aaea728054ba5bbd327fbd8f25294f10e5

5 years agomodify build script to maintain build date of liborchestration.a library 62/204062/1
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>
5 years agoMerge "discoverymgr : multicast polling interval set as 1 hour" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:46:27 +0000 (01:46 +0000)]
Merge "discoverymgr : multicast polling interval set as 1 hour" into tizen

5 years agoMerge "discoverymgr : add netInterface change detector" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:45:50 +0000 (01:45 +0000)]
Merge "discoverymgr : add netInterface change detector" into tizen

5 years agoMerge "discoverymgr : add server exit multicast sender and receiver" 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

5 years agoMerge "Add prerequisite folder for executing service" into tizen
Wansu Yoo [Fri, 19 Apr 2019 01:45:16 +0000 (01:45 +0000)]
Merge "Add prerequisite folder for executing service" into tizen

5 years agoMerge "discoverymgr : customize grandcat/zeroconf to apply passive discovery" into...
Wansu Yoo [Fri, 19 Apr 2019 01:44:57 +0000 (01:44 +0000)]
Merge "discoverymgr : customize grandcat/zeroconf to apply passive discovery" into tizen

5 years agoMerge "discoverymgr : substitute instant discovery to map based polling" 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

5 years agodiscoverymgr : multicast polling interval set as 1 hour 43/204043/1
damon92 [Fri, 19 Apr 2019 01:34:44 +0000 (10:34 +0900)]
discoverymgr : multicast polling interval set as 1 hour

Change-Id: Ib69231eab388376b767449bbfab863e65abab0a7

5 years agodiscoverymgr : add netInterface change detector 84/203984/1
damon92 [Thu, 18 Apr 2019 09:04:07 +0000 (18:04 +0900)]
discoverymgr : add netInterface change detector

Change-Id: I4da3c9a815bda46e9a27cf77bce70aea3bb43e5d

5 years agoAdd prerequisite folder for executing service 45/203945/1
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>
5 years agodiscoverymgr : add server exit multicast sender and receiver 83/203983/1
damon92 [Thu, 18 Apr 2019 04:56:43 +0000 (13:56 +0900)]
discoverymgr : add server exit multicast sender and receiver

Change-Id: I0ff5837f6b4131f75e3193478cb8ae02cc9759fc

5 years agoMerge "update glide with current modules" into tizen
DAEKEN KWON [Thu, 18 Apr 2019 04:03:40 +0000 (04:03 +0000)]
Merge "update glide with current modules" into tizen

5 years agoMerge "service file: apply service UID/GID as root/root for x86" 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

5 years agodiscoverymgr : customize grandcat/zeroconf to apply passive discovery 82/203982/1
damon92 [Thu, 18 Apr 2019 01:56:51 +0000 (10:56 +0900)]
discoverymgr : customize grandcat/zeroconf to apply passive discovery

Change-Id: I4f427ffd06cd6cbe5d4407e700e07764c691a5d9

5 years agoupdate glide with current modules 09/203809/1
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>
5 years agodiscoverymgr : use zeroconf.RegisterProxy for resolving hostname 96/203796/1
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>
5 years agoservice file: apply service UID/GID as root/root for x86 46/203746/1
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>
5 years agoservice file: apply service permission 41/203741/2 accepted/tizen/unified/20190418.010749 submit/tizen/20190417.085756
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>
5 years agodiscoverymgr : substitute instant discovery to map based polling 97/203697/1
damon92 [Wed, 17 Apr 2019 05:45:12 +0000 (14:45 +0900)]
discoverymgr : substitute instant discovery to map based polling

Change-Id: I1e927a6d8a9bda465c637598e0052d47757f4641