summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2019-02-18binding: identity: read vin and user token from nfc tagRaquel Medina1-12/+45
Original idea and rework from Scott Murray for CES 2019 (funky flounder). This is a simplified version to match agl-service-nfc which in master is not providing all tag record fields but just the content value. To test an nfc tag must be programmed with a text record with value vin:uid. Bug-AGL: SPEC-2158 Change-Id: I12fb8e6b3f9e8259bc3c13829e44f7f0e0159f0a Signed-off-by: Raquel Medina <raquel.medina@konsulko.com> Signed-off-by: Scott Murray <scott.murray@konsulko.com>
2019-02-18binding: identity: fix segfault & update to v3 forgerock binding callsRaquel Medina8-257/+257
On user login via nfc, the identity service segfaults on nfc event processing. Fix segfault, update forgerock compilation unit to use binding V3 call methods and review the identity agent baseline to remove unused code / tidy up. Bug-AGL: SPEC-2158 Change-Id: Ic87e630e9d028ba22937468375631b8e908011f8 Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-11-30Merge "Add autobuild to top tree"halibut_7.90.0halibut/7.90.0guppy_6.99.4guppy_6.99.3guppy_6.99.2guppy/6.99.4guppy/6.99.3guppy/6.99.27.90.06.99.46.99.36.99.2Jan-Simon Moeller3-1/+150
2018-11-23binding: identity-agent: update binding to v3Raquel Medina1-70/+89
Bug-AGL: SPEC-1959 This change was motivated by a segmentation fault on the nfc service api, the nfc binding is v3 and updating the identity binding to this version too is part of the fix. The changes under this commit simply - update binding artifacts from v2 to v3 - use json_objects typedef (opaque objects) for clarity Change-Id: Iab6f53794f915d13d9cb3e198e2c3d24c13f879d Signed-off-by: Raquel Medina <raquel.medina@konsulko.com>
2018-11-22Add autobuild to top treeFrederic Marec3-1/+150
Add autobuild to toplevel Remove autobuild from .gitignore Bug-AGL: SPEC-495 Change-Id: I561513da7a9249241a5b3764d846530560907c09 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-11-13Change .gitmodules following submodule migrationguppy_6.99.1guppy/6.99.16.99.1Frederic Marec1-3/+0
Remove app-template in .gitmodules Remove .gitmodules Change-Id: I69f5b1b768f0a66b60d4e27038c511bc59442773 Signed-off-by: Frederic Marec <frederic.marec@iot.bzh>
2018-10-31Migrate app-templates to CMake moduleRomain Forlot2-8/+12
Bug-AGL SPEC-1682 Change-Id: Ie906bd571d2936b73fac6b2379cb05f532bea04c Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-10-29Use feature 'required-binding'Jose Bollo1-1/+3
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: I9e7110584819a29db05cc97cfbffd242e1af295b Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
2018-10-24curl-wrap: Tiny optimizationJosé Bollo1-4/+10
Breaks the dependency to asprintf. Change-Id: I60fae81e0052b430a69277069907ec6b7ede8048 Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2018-10-18binding: identity: update event processing for nfc binding dataMatt Ranostay1-12/+8
Switch from old NFC binding event data to new format in the binding rewrite. Change-Id: Ie7669f2a3e8005c10e680b2d4f821fc96d4a421d Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-10-18binding: identity: remove useless NULL definitionMatt Ranostay1-4/+0
Pretty sure NULL doesn't need to be defined for any modern compiler in the last 20 years. Change-Id: I0f5aa4c31316a026b7fdefdbd767f92938ebbd78 Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
2018-01-11update submodule to eel versionguppy_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 Collignon1-0/+0
Change-Id: If6af9a0e54b22de671f5191c551cae66dbd04b59 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-11removed unused files and useless subdirectoriesLoïc Collignon38-1176/+9
Change-Id: Ie0ebe0104589ff99ae24c7410a484eeef18821e7 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-09improve the debug toolsLoïc Collignon2-21/+52
Change-Id: I6152e3719944db82f5907ac4cc6038508e526e51 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-03added missing .gitreviewLoïc Collignon1-0/+5
Change-Id: I70301a05e68f017c9d646c01bdb8a09733dfe77a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2018-01-03changed an error into a warningLoïc Collignon1-1/+1
Change-Id: If25719a574b69d2245eb25f46d18df724b6f8b6b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21add config to widget.Loïc Collignon1-1/+3
Change-Id: I34f3c19ce2a6168faa4fda867813d0d9f3fcb13b Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21fixed persistence binding nameLoïc Collignon1-1/+1
Change-Id: I5de4948d1f23b2d0835630dbd3df26bfc6268342 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-21fixed wrong reference to agl-service-data-persistenceLoïc Collignon1-1/+1
Change-Id: Ie08bffd99c8185fea5016834e1931dfa6c6fd86a Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-12-19added a fake auth verb for testing purpose and use persistence api to store ↵Loïc Collignon12-13/+508
user profile. Change-Id: Ifc38f01664dec91150ca7574e4263ee0bc755653 Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-11-11Set default VINJosé Bollo1-1/+1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Restore 'incoming' eventJosé Bollo1-0/+1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Fix warningsJosé Bollo1-16/+7
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Add fake-loginJosé Bollo1-0/+10
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Handle callback of queried dataJosé Bollo1-0/+2
2017-11-11Upgrade app-templateJosé Bollo1-0/+0
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11Depend on nfcJosé Bollo1-0/+1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-11choose the right typeJosé Bollo1-2/+2
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-11-09change config to something workingLoïc Collignon1-1/+2
Change-Id: Ib42e6c3b200933fde27e04f2bc96697f5739c757
2017-11-09removed build type from config.cmake.Loïc Collignon1-1/+0
Change-Id: I41b9018716887609a41f3ffab5b04222cbbd0764
2017-11-09make it use the nfc-binding.Loïc Collignon4-4/+60
Change-Id: Ia9e032d0a04f2712b7778732314cadee3ffdedbb Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-11-09Clean includesjobol1-1/+0
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09Remove 'login'jobol1-6/+0
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09Make it compilingjobol2-14/+2
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09fix required packagesLoïc Collignon1-1/+1
Change-Id: I0bf61d4eb849d29e051804760b4791dce0d1160c Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-11-09fix bad namejobol1-1/+1
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09drop unused variablesjobol1-3/+0
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-09added .vscode folder to .gitignore.Loïc Collignon1-0/+1
Change-Id: Ibf3eb11256b61e1b2d7ea9a02a1ee935b50958e4
2017-11-09Make forgerock stuff separatejobol4-93/+207
Signed-off-by: jobol <jose.bollo@iot.bzh>
2017-11-08Rename 'upload' to 'download' functionsLoïc Collignon1-5/+7
Change-Id: Idb0c1b549aa2a6bf0f1740578019b6c37b89a7dc Signed-off-by: Loïc Collignon <loic.collignon@iot.bzh>
2017-10-31Split in two: agl-identity-service and uds-ble-id-init-serviceJosé Bollo33-95/+684
The binding is splitted in two parts and packeged as widgets. The two parts are: - uds-ble-id-init-service This service provides a UDS (User Data Service) over BLE. It detects writes to the email of the user to initiate the authentication process. - agl-identity-service This service queries the Forgerock's Edge Controller to fill user data and make it available. The actual code is not fully functionnal. Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-09-14Add automatic advertisementJosé Bollo4-0/+17
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-21export any versionJosé Bollo1-1/+1
Signed-off-by: José Bollo <jose.bollo@iot.bzh>
2017-07-21first commitJosé Bollo24-0/+3767