aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig
AgeCommit message (Collapse)AuthorFilesLines
2019-04-08Use go module as dependency tool instead of glidehalibut_7.99.3halibut_7.99.2halibut_7.99.1halibut/7.99.3halibut/7.99.2halibut/7.99.17.99.37.99.27.99.1Sebastien Douheret2-2/+2
Get ride of glide tool (marked as obsolete) and go module instead to populate dependency packages. See also: https://github.com/golang/go/wiki/Modules Bug-AGL: SPEC-2289 Change-Id: I9c16bb0759c34cab48b5bd03fc29993c38608c6e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2019-04-08Fix logfile settingSebastien Douheret1-2/+9
Logic to set logs file is: - default 'stdout' (logfile option default value) - else use file (or filepath) set by --logfile option - else use LogsDir field of config file Change-Id: I980e095d97cb06774fd03921ccae6e176af91984 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
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 Douheret2-0/+16
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-03-13Added api to list and reconnect a XDS-Server.Sebastien Douheret1-0/+1
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-01-05Migration to AGL gerrit (update go import)Sebastien Douheret2-4/+4
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 Douheret1-2/+2
- 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-01Added copyright headersv1.0.0-rc1Sebastien Douheret2-0/+34
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-29Fixed /exec input stream and /signal.Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-10-30Switch from codegangsta/cli to urfave/cli package.Sebastien Douheret1-1/+1
2017-10-20Merge branch 'master' into wipv0.3.0-rc1Sebastien Douheret1-4/+1
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-16Add sanity check when adding a new pathmap project/folderSebastien Douheret1-1/+2
2017-10-11Fixed Syncthing folder status events and exec command.Sebastien Douheret2-5/+12
2017-10-06Added webapp Dashboard + logic to interact with server.Sebastien Douheret3-128/+173
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 Douheret1-4/+6
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-30Set default xds-apikey when not set by config.Sebastien Douheret1-0/+6
2017-06-26Use xds-common go library.Sebastien Douheret2-2/+2
2017-05-23Add API KEY support to allow CORS requests.Sebastien Douheret1-3/+4
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-22Fix incorrect importSebastien Douheret1-1/+1
2017-05-18Fix ResolveEnvVar function and add support of tilde (~/...)Sebastien Douheret1-22/+4
2017-05-17Add logsDir setting and moreSebastien Douheret2-37/+30
- add logsDir setting in config.json - redirect Syncthing and Syncthing-inotify into log files - Use autogenerated Syncthing apikey if gui-apikey not set in config.json
2017-05-15Initial commit.Sebastien Douheret2-0/+185
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>