summaryrefslogtreecommitdiffstats
path: root/lib/xdsserver/sdk.go
AgeCommit message (Collapse)AuthorFilesLines
2018-10-16update xds-server package in dockerClément Bénier1-0/+2
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-20sdk force install: already installedClément Bénier1-1/+1
fix sdk Install when force boolean is true Install function was returning when sdk was already installed Change-Id: Ie8530ebe697bb66b17ac051804b42e367531134b Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-07-25Add missing event when starting SDK installSebastien Douheret1-0/+4
Change-Id: I32892a8ad64ed05a93aedf413a81b6e8c50c26f7 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Fixed sdk from local file installationSebastien Douheret1-2/+5
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-05Fixed sdk uuid setting during install [SPEC-1377]Sebastien Douheret1-0/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret1-1/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-06Auto update SDK DB on startup.Sebastien Douheret1-1/+19
Auto update db is enable by default (setting sdkDbUpdate = "startup") but it can be disable by setting sdkDbUpdate to "disable" in server config file. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-26Don't send command output too fast.eel_5.0.1eel/5.0.15.0.1Sebastien Douheret1-60/+13
Changes done in eows package of xds-common now allow to accumulate command output during a period of time (eg. 500ms) or up to the end of a line. Usage of this feature is mandatory to avoid to post to much buffers in websocket and consequently flood client (eg. web-browser) Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Reworked SDKs events (introduced sdk-state-change)Sebastien Douheret1-31/+52
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-09Fixed source env sdk file when file is not set.Sebastien Douheret1-0/+4
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret1-4/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Improved and fixed local SDK tarball installation.Sebastien Douheret1-15/+66
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Fixed SDKs management when running in xds VM.v1.0.0-rc2Sebastien Douheret1-5/+49
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Added SDKs management support.Sebastien Douheret1-21/+349
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-30Added Copyright header.Sebastien Douheret1-0/+17
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret1-0/+56
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>