summaryrefslogtreecommitdiffstats
path: root/lib/xsapiv1
AgeCommit message (Collapse)AuthorFilesLines
2018-10-22Added support of new image_url fieldSebastien Douheret1-0/+1
Since commit ecef0475a0a9d51, url to download AGL image matching a SDK has been introduced in SDK definition file. This commit adds ImageURL field (json:image_url) in return json object of GET /sdks Change-Id: If52c39292ac3d5e44c4f61b8b51c48d9661beb2d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-18Unset LD_LIBRARY_PATH before executing commands (exec api)Sebastien Douheret1-11/+12
New environment-setup-*-agl-linux file, used to set environment variables to use an SDK, now checks if LD_LIBRARY_PATH is set or not. And not empty LD_LIBRARY_PATH is considered as misconfigured and prevent to use SDK. So unset by default LD_LIBRARY_PATH env variable and allow to disable this unset by setting ldLibPathNoReset field of ExecArgs command. For info, reported error message when call environement-setup-* script: Your environment is misconfigured, you probably need to 'unset LD_LIBRARY_PATH' but please check why this was set in the first place and that it's safe to unset. The SDK will not operate correctly in most cases when LD_LIBRARY_PATH is set. For more references see: http://tldp.org/HOWTO/Program-Library-HOWTO/shared-libraries.html#AEN80 http://xahlee.info/UnixResource_dir/_/ldpath.html Change-Id: I386b92b04ebd33db39ac617acffa4e15b21213ad Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-16update xds-server package in dockerClément Bénier1-0/+25
scripts/package-update: bash scripts to update xds-server package in docker monitor updates: default time is 24h, a update is tried at startup api/v1: 2 new requests: - get(updates): return various information about xds-server packages - post(updates): update xds-server packages Change-Id: I1673f7860e57cfe1d4abe5a24609ee46a90b67d8 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-20terminal: when closing term, pass status to closingClément Bénier1-0/+2
status in return TerminalConfig is still opened when a term is closed Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-06-27Fixed sdk from local file installationSebastien Douheret1-0/+1
Rework sdk uuid management because previous code prevented to install local sdk using following command: xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh Change-Id: I20bac8a76d32b005a6775e936756c96048651766 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Added Target and Terminal events through WS.Sebastien Douheret1-5/+55
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal support.v1.1.0Sebastien Douheret1-0/+124
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Reworked SDKs events (introduced sdk-state-change)Sebastien Douheret2-3/+29
Split add/remove/state-change from installing output (AKA SDKManagement event) in order to clearly separate events used to send installation output and sdk config changes. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret6-6/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret1-4/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret1-0/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Added SDKs management support.Sebastien Douheret2-11/+62
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-16Fixed and improved events management.Sebastien Douheret1-3/+32
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Added Copyright header.Sebastien Douheret6-1/+103
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Fixed bug introduces by previous commit / refitSebastien Douheret1-0/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret6-0/+209
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>