aboutsummaryrefslogtreecommitdiffstats
path: root/lib
AgeCommit message (Collapse)AuthorFilesLines
2018-07-07Update/fix rpm and deb packagingSebastien Douheret1-1/+1
Change-Id: I132dc3085dddfedc869135ba3a967b0060afb72b Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-18Added Supervision/Monitoring supportSebastien Douheret7-6/+370
Added new API supervisor/* to control and get status of AGL XDS Supervisor. Also add new panel in dashboard to control and visualized data collected by the supervision (visualiazation is based on Granafa). Change-Id: I093470f6e384e96a0856b233390e85a98911162e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Added target and terminal support in DashboardSebastien Douheret4-10/+171
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-13Updated Terminal message structSebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-13Added api to list and reconnect a XDS-Server.Sebastien Douheret4-5/+148
Added following routes: /servers => list all known XDS-Server /servers/:id => get info of a XDS-Server /servers/:id/reconnect => force reconnection of a XDS-Server Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal support.v1.1.0Sebastien Douheret7-11/+378
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Fixed storage of Global and XDS Server configuration.Sebastien Douheret2-0/+24
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Reworked SDKs events (introduced sdk-state-change)eel_5.0.1eel/5.0.15.0.1Sebastien Douheret3-24/+65
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-08Report XDS-server connection failure as an error.Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret28-76/+79
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-04Fixed Xds-server re-connection.Sebastien Douheret4-35/+54
Add a callback on XDS-Server connect in order to properly register to XDS Server events in all cases (IOW on reconnection). Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-23Added new SDKs management supportv1.0.0-rc2Sebastien Douheret9-39/+239
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-15Fixed xds-server folder events detection.Sebastien Douheret5-35/+33
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Always resolved env vars in path of config structure.Sebastien Douheret1-4/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret3-4/+4
- config file name is : agent-config.json - xds-agent settings under user's home is: $HOME/.xds/agent - xds-agent settings under etc is: /etc/xds/agent Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-05Fixed XDS Server connection lost and reconnection.Sebastien Douheret3-24/+43
2017-12-05Improved silly logging.Sebastien Douheret4-17/+16
2017-12-04Added xds-project.conf file creation.Sebastien Douheret2-3/+24
2017-12-01Added copyright headersv1.0.0-rc1Sebastien Douheret28-0/+476
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Fixed /exec input stream and /signal.Sebastien Douheret5-42/+181
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Renamed apiv1 lib to xaapiv1.Sebastien Douheret18-194/+124
xa prefix (for Xds Agent) is safest to avoid confusion with xs prefix (for Xds Server) Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-24Use Get/Post functions of common.http lib.Sebastien Douheret1-37/+22
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-24Improved and fixed connection to XDS ServerSebastien Douheret1-3/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-24New dashboard improvements.Sebastien Douheret12-48/+186
- add build buttons - add build settings support and backup into project clientData - improved async alert - fixed project dropdown Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-08Added events decoder helpers.Sebastien Douheret2-7/+42
2017-11-08Unregistered events when client WS session is closed.Sebastien Douheret4-14/+17
2017-11-08Fixed events definition and callback processing.Sebastien Douheret5-34/+77
2017-11-06Update api routes name (plural nouns)Sebastien Douheret1-3/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Fixed parameter processing for passthrough api.Sebastien Douheret1-2/+14
2017-11-06Use plural nouns for all routes.Sebastien Douheret2-5/+5
2017-11-06Support short project id name if not ambiguous.Sebastien Douheret2-6/+41
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Moved all structs exposed by API into apiv1 packageSebastien Douheret21-181/+280
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-30Switch from codegangsta/cli to urfave/cli package.Sebastien Douheret2-2/+2
2017-10-20Merge branch 'master' into wipv0.3.0-rc1Sebastien Douheret2-5/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-17Add xds-agent user systemd service file and installSebastien Douheret1-17/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-16Update default syncthing port to 8386Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-16Add sanity check when adding a new pathmap project/folderSebastien Douheret3-9/+64
2017-10-11Fixed Syncthing folder status events and exec command.Sebastien Douheret16-239/+469
2017-10-09Used patched (my) version of go-socket.io.Sebastien Douheret1-1/+1
This version fixes crash when client disconnects unexpectedly.
2017-10-09Kill right Syncthing (same url) in DEBUG_MODESebastien Douheret2-4/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-07Bump Syncthing 0.14.38Sebastien Douheret1-1/+44
2017-10-06Added webapp Dashboard + logic to interact with server.Sebastien Douheret26-504/+2624
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-19Rework search directories for agent-config.json files.Sebastien Douheret1-6/+13
Here is the logic to determine which `agent-config.json` file will be used: 1. from command line option: `--config myConfig.json` 2. `$HOME/.xds/agent/agent-config.json` file 3. `/etc/xds-agent/agent-config.json` file 4. `<xds-agent executable dir>/agent-config.json` file
2017-09-18Fix default config values.Sebastien Douheret2-18/+23
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-18Improved syncthing binary path detection.Sebastien Douheret2-17/+21
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Fixed syncthing binDir when set to '.'0.1.0Sebastien Douheret1-2/+10
2017-08-30Set default xds-apikey when not set by config.Sebastien Douheret1-0/+6
2017-08-25Fixed xds-common version and use last oneSebastien Douheret1-1/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-25Reset option to allow synthing restartSebastien Douheret1-1/+0
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-26Use xds-common go library.Sebastien Douheret7-340/+5