platform/core/system/edge-orchestration.git
3 years ago1. Add unit test cases 22/246822/3 accepted/tizen/unified/20201105.124400 submit/tizen/20201104.105203
Mukunth A [Wed, 4 Nov 2020 08:32:02 +0000 (14:02 +0530)]
1. Add unit test cases
2. Code Coverage > 80%

Change-Id: I921ab845b4b75e07bf5af824a990c55e523cf563
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoFix SVACE issues 85/246685/1
Mukunth A [Tue, 3 Nov 2020 06:44:59 +0000 (12:14 +0530)]
Fix SVACE issues

Change-Id: I11a8fb73611c7e521ba6dc52e396f4912adef7a8
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoAdd arguments for app control launch 80/246580/1
Mukunth A [Mon, 2 Nov 2020 07:24:47 +0000 (12:54 +0530)]
Add arguments for app control launch

Change-Id: I980dff5220793a5de1212d21a796b5a8a570edb1
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoFixed configuration issue 29/246029/1
Mukunth A [Thu, 22 Oct 2020 10:17:59 +0000 (15:47 +0530)]
Fixed configuration issue

Change-Id: Iee32d8f09d8794f2997b0817d836fe4a79bea305
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoAdd device capability and get authenticated device list 15/245915/1
Mukunth A [Mon, 19 Oct 2020 20:00:01 +0000 (01:30 +0530)]
Add device capability and get authenticated device list

Change-Id: I38ba4d8dbf566bb202e89da4c9c15d62098053f1
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoASAN issue fix 88/245088/1 submit/tizen/20201001.080947 submit/tizen/20201013.144402
Mukunth A [Thu, 1 Oct 2020 07:19:34 +0000 (12:49 +0530)]
ASAN issue fix

Change-Id: I3edb0ef57f4ae284be7745bd73b44291ad0caa59
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoRevert edge-home-orchestration-go to specific commit 82/236782/1 accepted/tizen_6.0_unified_hotfix tizen_6.0_hotfix accepted/tizen/6.0/unified/20201030.115506 accepted/tizen/6.0/unified/hotfix/20201103.003541 accepted/tizen/unified/20200624.130249 submit/tizen/20200622.061626 submit/tizen_6.0/20201029.205104 submit/tizen_6.0_hotfix/20201102.192504 submit/tizen_6.0_hotfix/20201103.114804 tizen_6.0.m2_release
Mukunth A [Mon, 22 Jun 2020 05:15:50 +0000 (10:45 +0530)]
Revert edge-home-orchestration-go to specific commit

Change-Id: Ie637c09b0f580d185f95f8ce3b3508ee221f2750
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoUnit test case for update key pair 36/233436/3
Mukunth A [Thu, 14 May 2020 15:45:08 +0000 (21:15 +0530)]
Unit test case for update key pair
Code Coverage > 80%

Change-Id: Idd3182b2c04d09f3bd4117e15a507897fe5f1039
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
3 years agoUpdate Certificate for TLS-PSK connection 93/233093/6
Mukunth A [Mon, 11 May 2020 11:21:30 +0000 (16:51 +0530)]
Update Certificate for TLS-PSK connection

Change-Id: I0f1b91eac496ee8453263e8d1d50472dddbfcf04
Signed-off-by: Mukunth A <a.mukunth@samsung.com>
4 years agofix coverity issue Unchecked return value 42/225042/2
wansu.yoo [Mon, 17 Feb 2020 04:21:27 +0000 (13:21 +0900)]
fix coverity issue Unchecked return value

Change-Id: I6fe43e94d3a5d87fe3aebd4708744fe4193e349f
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
4 years agoUpdate DBus Server for updating PS-Key. 60/223360/3
JungYong KIM [Wed, 29 Jan 2020 05:16:03 +0000 (14:16 +0900)]
Update DBus Server for updating PS-Key.

Change-Id: I088d5d0538f1566246fa3b46cd7d0cecc2e4d00a
Signed-off-by: JungYong KIM <jyong2.kim@samsung.com>
4 years agofix build error with tizen6 toolchain(gcc-9) 80/221680/1 accepted/tizen/unified/20200108.131654 submit/tizen/20200107.040259
wansu.yoo [Tue, 7 Jan 2020 03:52:15 +0000 (12:52 +0900)]
fix build error with tizen6 toolchain(gcc-9)

Change-Id: I0d21b1c41106d90281539c500091dbb716c1ff10
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
4 years agoadd upgrade script for edge-orchestration 84/216884/1 accepted/tizen/unified/20191111.105505 submit/tizen/20191108.041151
wansu.yoo [Mon, 4 Nov 2019 10:39:27 +0000 (19:39 +0900)]
add upgrade script for edge-orchestration

Change-Id: I707360a9c37396c65e57cab936002b65313bd841
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
4 years agofix coverity issue 98/216298/1 accepted/tizen_5.5_unified_mobile_hotfix tizen_5.5_mobile_hotfix accepted/tizen/5.5/unified/20191031.004230 accepted/tizen/5.5/unified/mobile/hotfix/20201027.090343 accepted/tizen/unified/20191023.142733 submit/tizen/20191023.065345 submit/tizen_5.5/20191031.000010 submit/tizen_5.5_mobile_hotfix/20201026.185104 tizen_5.5.m2_release
wansu.yoo [Wed, 23 Oct 2019 06:36:10 +0000 (15:36 +0900)]
fix coverity issue

-. NESTING_INDENT_MISMATCH

Change-Id: Iab561e83cf091cdc147e231f9e424c78851af87a
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
4 years agoremove TLS-PSK Key file 71/216071/1
wansu.yoo [Mon, 21 Oct 2019 02:12:08 +0000 (11:12 +0900)]
remove TLS-PSK Key file

Change-Id: Iec9322199dda8a15f860dbd454e8b9f75f2394f5

4 years agoupdate submodule 19/215719/2 accepted/tizen/unified/20191015.012004 submit/tizen/20191014.132953
wansu.yoo [Mon, 14 Oct 2019 12:53:27 +0000 (21:53 +0900)]
update submodule

-. fix build script for secure option

Change-Id: I46a3278155cdd48470479716003baadeb6e85c55

4 years agoarrange orchestration data storage path 72/215572/2
wansu.yoo [Fri, 11 Oct 2019 03:26:59 +0000 (12:26 +0900)]
arrange orchestration data storage path

-. move data that is created when runtime to /var/edge-orchestration
-. change key file permission

Change-Id: Ie44bbb27121b1557074188acb27044c3ef0d6127
Signed-off-by: wansu.yoo <wansu.yoo@samsung.com>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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>
4 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

4 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

4 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>
4 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>
4 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>
4 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

4 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>
4 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

4 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

4 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

4 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

4 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>
4 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>
4 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>
4 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>
4 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>
4 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