summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-11-13fix: change test example following afb-test treeicefish_8.99.5icefish_8.99.4icefish_8.99.3icefish_8.99.2icefish_8.99.1icefish/8.99.5icefish/8.99.4icefish/8.99.3icefish/8.99.2icefish/8.99.18.99.58.99.48.99.38.99.28.99.1Li Xiaoming6-0/+21
Change test repository tree Bug-AGL: SPEC-2040 Change-Id: Ic6aa57e181da9fb5587357c74dd6a1c6174bd1ec Signed-off-by: Li Xiaoming <lixm.fnst@cn.fujitsu.com>
2019-10-15Modified persistence test casesGaykawadpk2-22/+22
Changed persistence test cases according to change https://gerrit.automotivelinux.org/gerrit/gitweb?p=apps/agl-service-data-persistence.git;a=commit;h=fb31aa674d3e006b7a7327c068f048ab9cee1964 Bug-AGL: SPEC-2877 Signed-off-by: Gaykawadpk <Puja.Kumari@kpit.com> Change-Id: I5f6c8d38bb8c430c6287b79d9b307a5e7381c90a
2019-10-09binding: data-persistence: Modified the response of verb_readGaykawadpk1-2/+18
Added key and value both in response so that user can know which key the value corresponds to. The current persistence implementation responds with only the value when queried. Since this is async call and multiple keys can be queried at the same time, the key and value should be given as response to any persistence query done. This will improve the readability of the Read verb response for user application. Also made the same changes for failed case of Read verb so that if read verb fails, user can know for which key it failed. Bug-AGL: SPEC-2828 Signed-off-by: Gaykawadpk <Puja.Kumari@kpit.com> Change-Id: I565cd78ca2c1e7c5d5f63ab49479b495044772ce
2019-08-09Migration to binding version 3José Bollo1-53/+53
Bug-AGL: SPEC-2743 Change-Id: I7eb6c685076aafd9c685aea102ee91ae95c716f8 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2019-06-26binding: data-persistence: add scope-platform permission to config.xml.inhalibut_8.0.6halibut_8.0.5halibut_8.0.4halibut_8.0.3halibut_8.0.2halibut_8.0.1halibut_8.0.0halibut_7.99.3halibut_7.99.2halibut/8.0.6halibut/8.0.5halibut/8.0.4halibut/8.0.3halibut/8.0.2halibut/8.0.1halibut/8.0.0halibut/7.99.3halibut/7.99.28.0.68.0.58.0.48.0.38.0.28.0.18.0.07.99.37.99.2halibutMatt Ranostay1-0/+1
Add urn:AGL:permission::partner:scope-platform to run on the platform scope. This is required since for platform scope services that need this binding to store configuration data. Bug-AGL: SPEC-2575 Change-Id: Ia68ffcaffc624075cd4df983daf4a2be4d0978bb Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-04-10agl-service-data-persistence: change AFB_INFO calls to AFB_DEBUGhalibut_7.99.1halibut/7.99.17.99.1Matt Ranostay1-4/+4
AFB_INFO calls for key creation/update/delete for key value pairs is cluttering up the journal, and also a security risk for possibly leaking data. Change-Id: Ifcaf3de5551c66ba4e5813dcaf447d9ca1ef25a1 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2019-03-01autobuild: fix warnings due to cp command exit errorRaquel Medina2-4/+12
Change-Id: I8afacb63d0932d098b8672b69fc6831a6253de40 Bug-AGL: SPEC-2164 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2019-01-25Move autobuild to top treehalibut_7.90.0halibut/7.90.07.90.0Frederic Marec3-27/+43
Bug-AGL: SPEC-495 Change-Id: I6a5e765e94c2b6aa66005db2d45d9ab7f716912b Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2019-01-25Increase tests for data-persistence bindingFrederic Marec4-23/+165
Change-Id: I17ebecfe5a1f7ffac2a1f99e1d3195793fdf1aad Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-07Change .gitmodules following submodule migrationguppy_6.99.4guppy_6.99.3guppy_6.99.2guppy_6.99.1guppy/6.99.4guppy/6.99.3guppy/6.99.2guppy/6.99.16.99.46.99.36.99.26.99.1Frederic Marec1-3/+0
Remove app-template in .gitmodules Remove .gitmodules Change-Id: I152bd72ec776fc39f9aebab5bdb1577e99e0659f Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-07Improve tests for data-persistenceFrederic Marec4-78/+38
Change-Id: Ie964ae5411b90ab21f0bb5ccc48fd45d6b63fded Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-3/+6
Bug-AGL SPEC-1682 Change-Id: Icb299d7f824683b454731a47ca928184abf494b1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-09Use feature 'required-binding'Jose Bollo1-1/+1
The feature "urn:AGL:widget:required-binding" is now preferred to the feature "urn:AGL:widget:required-api" for requiring a local binding. Bug-AGL: SPEC-1800 Change-Id: Id5f13a3f51b44235cf3b8e4920e9a00acac28041 Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-09-28Fix config.cmakeFrederic Marec1-5/+9
Change config.cmake to follow app-templates submodule update Change-Id: I9137645cf8e2dd0e52cce74ab0eeb9f4dd282e23 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-28Add tests for data persistence bindingFrederic Marec9-15/+275
Add test tree structures Add tests for persistence binding Add dependency in README.md Change-Id: If3fa3450fa61cd7e440712354b123d02934e2488 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-09-28Update version of conf.d/app-templates submodule.Frederic Marec3-0/+134
Changes of conf.d/app-templates: (3dc85ec - Thierry Bultel) common.cmake: fixed erroneous search path for os-release (7fa5e5a - Romain Forlot) Fix: missing gcov symbol in compiled binaries (76e12e7 - CorentinLGS) app-templates doc: Changed doc to fit new format. (02f45f1 - Romain Forlot) Update Docs (52ae181 - Romain Forlot) Fix: typo (f0b24b0 - Romain Forlot) Rollback about TEST build type (e841a77 - Romain Forlot) Adding a TEST build type (994ebc1 - Romain Forlot) Change default compilation options. (85d5ffd - Romain Forlot) Test widget only if there are test materials (d14bdce - Romain Forlot) Handles more test LABELS. (70cf8fd - Romain Forlot) Missing flag for COVERAGE build type (3c99b8a - Romain Forlot) Create a test widget (9c1a0fb - Romain Forlot) Fix: interpreted '&' character (9202fac - Romain Forlot) More accurate comment about widget template file. (f94e45e - Romain Forlot) Align sample on actual default compile options (d0acc2a - Romain Forlot) Add support to binding version 3. (6fb3846 - Romain Forlot) Warning if not using wgtpkg-pack to make a widget (35f3af1 - Sebastien Douheret) Rework CMAKE_INSTALL_PREFIX and INSTALL_PREFIX var (332f377 - Romain Forlot) Be able to overwrite BUILD_TYPE using CLI (1ec7531 - Romain Forlot) Use CACHE variable for other common CMAKE variable (0880356 - Romain Forlot) Fix:: wrong wgt using RELEASE BUILD TYPE (eec9f07 - Romain Forlot) Fix: SYSROOT location detection... Wrong test. (291aa4e - Romain Forlot) Change the default debug compilation options. (22a2cbf - Romain Forlot) Clearer coverage compilation options configuration (aa68dbd - Romain Forlot) Don't overwrite the autobuild script if it exists (a13e7b9 - Romain Forlot) Disable the in-tree build method. (51026d2 - Romain Forlot) Detect Yocto as OS distribution (1f2944e - Romain Forlot) Fix: wrong compile options added (92646f6 - Romain Forlot) Fallback using zip format if no wgtpkg-pack found (f65761c - José Bollo) 02-variables.cmake: Avoid checking CXX version if not required (3965d37 - José Bollo) config.cmake.sample: Remove dependency to libsystemd (a45ae0c - José Bollo) config.cmake.sample: Remove dependency to libmicrohttpd (9b17efe - Thierry Bultel) Added -D_FORTIFY_SOURCE=2 to CFLAGS (66f7bc8 - Thierry Bultel) start-on-target: uses RSYNC_PREFIX path for config (e400fb3 - Sebastien Douheret) Fixed spelling. (6621af0 - Romain Forlot) Improve OS detection (829dd69 - Romain Forlot) Fix: OS detection (8f5a17b - Romain Forlot) Launch from workdir (72ca4ff - Romain Forlot) Change closing that could fix native debugging (6e1a3c3 - Romain Forlot) Fix filename pattern to match .cmake files (30e78a5 - Romain Forlot) Adding cmake file at the root directory (a3c312e - Romain Forlot) Adds commit hash to the version. (6c0e9e4 - Romain Forlot) Change default sample settings. (dd0cec7 - Romain Forlot) Forgot updating README also... (66d0ca1 - Romain Forlot) Update documentation (4b26503 - Romain Forlot) Use LFSH named, rename data to var (bb3c541 - Romain Forlot) Use new CPP generation from afb-genskel Change-Id: I93b9c1fcb62b40726a9b5fb8b415f4f5ce7f8ae6 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-02-08moved files to root folder.guppy_6.90.0guppy/6.90.0flounder_5.99.6flounder_5.99.5flounder_5.99.4flounder_5.99.3flounder_5.99.2flounder_5.99.1flounder/5.99.6flounder/5.99.5flounder/5.99.4flounder/5.99.3flounder/5.99.2flounder/5.99.16.90.05.99.65.99.55.99.45.99.35.99.25.99.1Loïc Collignon15-43/+38
Change-Id: I7103241843736e1a5747253781485afa457a64d0 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-30ll-database-binding: allow binding to build with older gdbm librariesMatt Ranostay1-7/+7
Due to GPLv3 compliance the binding needs to be buildable with older versions of gdbm <= 1.8.3 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-29fix json key to string conversion.Loïc Collignon1-1/+1
Change-Id: I65721f643086b4282f50ccb4fd4c03d2f525d30a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-26add debugging html ui.Loïc Collignon6-0/+486
Change-Id: I4e84bec38d9a2483ad6dbe0e393cde62e8c2a862 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-26move submodule to corresponding master versionLoïc Collignon1-0/+0
Change-Id: Ie769a46e27184927541e109c62d900b723607dde Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21Fix entry pointLoïc Collignon1-1/+1
Change-Id: Ibafb560ffe6f4871cd7952dc96fd1ece08089f3f Signed-off-by: José Bollo <jose.bollo@iot.bzh> Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-19renamed api to match better the repo name and the feature provided.Loïc Collignon4-8/+13
Change-Id: I688950d9da5b3db903815a2869767d00df66b6cf Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-18add the .gitreview fileLoïc Collignon1-0/+5
Change-Id: Ic4a12e41c1ce67482c932a8e062c382b1c3772ac Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-18remove obsolete description from readmeLoïc Collignon1-23/+1
Change-Id: Ia529a09deed894551f31bf74850e1d3f3f6f1b7c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-15removed unrelated filesLoïc Collignon18-1601/+0
Change-Id: Ie034281d2933cb7de0cf8cf6a2175376847acd9c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-10-26add nfc pam moduleLoïc Collignon3-63/+185
Change-Id: Icc42361f64948e2c2ab082fa973793f19737df2d Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-10-26database: export correct nameJosé Bollo1-1/+1
Change-Id: I6a68c89316a2f390ae72d846583d52d9dde38d4f Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: setup permissionsJosé Bollo2-2/+21
Change-Id: I5bb0debcff2175de05860b1e13fc6cb5b176a42a Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: compatibility with gdbm 1.12José Bollo1-9/+16
Change-Id: I1362cf4fa1c68b80ba0f25926e4fb5fd9d6590d2 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fill widget dataJosé Bollo1-10/+4
Change-Id: Ifdd50760cc4dd46f1d032dc8b25c93ca54a39f54 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25Revert "database: update the name of the API to 'lludb'"José Bollo1-1/+1
This reverts commit d47da1579ad3912af32377dad1e361e4659e9be6.
2017-10-25database: update the name of the API to 'lludb'José Bollo1-1/+1
Change-Id: I26c415784031d693be816fb9e96e8c255eac9eb0 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: switch to use gdbm by defaultJosé Bollo3-92/+288
Change-Id: I25b54a6b1f66f3acef3c1c7cb96e0daaa1019eae Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: call getuid only onceJosé Bollo1-2/+3
Change-Id: I249c0b712a66016bb578f203dc62ecaf6dac2b91 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: use PATH_MAX of systemJosé Bollo1-6/+2
Change-Id: I4b6567eb738c710109a2799f31575f83f5d852d1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: simplifyJosé Bollo2-85/+20
Change-Id: I061051c5f8db1680368a2fd0089f554cd5969d73 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix regression bugJosé Bollo1-0/+3
Change-Id: I01722b00fc47e9b09c15e5123b8b0ef1a089c62e Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: include null and improve readabilityJosé Bollo1-4/+7
Change-Id: Iecf336beb8c5187fd4ed86f7785cd6bf1170cf19 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: fix bugsJosé Bollo1-2/+2
Change-Id: I69b84976d48eaca56d6053750ab2b6445021b216 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-25database: Handle UNKNOWN-APP!José Bollo1-0/+4
Change-Id: I850465cb233792a617ef27acf0228665e873226c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: refactor path compute of databaseJosé Bollo1-21/+39
Change-Id: I6d0f90e72d9896c1b9a2827d318e4b1296a6f47d Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove unused variablesJosé Bollo1-2/+0
Change-Id: I20ad19d9e42ff40ac60533bc031d5c776cf42bf1 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: factorize insert and replaceJosé Bollo1-47/+30
Change-Id: I55ce17f70221c3b9c62d75484d9882a136e9c261 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: generalize use of get_keyJosé Bollo1-103/+13
Change-Id: Ie3612d66271c2d298207b7580ff125bf6705bfdc Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: Add get_key functionJosé Bollo1-32/+60
Change-Id: I7789734f46a58f5c3e1e7e75143869dd33f53e03 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: remove tailing tabsJosé Bollo1-51/+51
Change-Id: I76e1029dc9a4ca6002394742b058d7f1859175b3 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: don't bother linker with localsJosé Bollo1-12/+12
Change-Id: Iba2c95c5bc9f7b1b0b07f98b69290ea014f82d20 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: return -1 when init failsJosé Bollo1-3/+3
Change-Id: Ica032ca1de51c8ec47eb543eda762b8ae70b2895 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-10-24database: fix warningsJosé Bollo1-7/+8
Change-Id: I20f0720bbfe5420a4f411d2dbe268d1d3cdd0cc5 Signed-off-by: José Bollo <jose.bollo@iot.bzh>