Age | Commit message (Collapse) | Author | Files | Lines |
|
Change-Id: Ibd78f1200ed71b0100ebd48dddb9236377e2fb36
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
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>
|
|
Change-Id: I132dc3085dddfedc869135ba3a967b0060afb72b
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- 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>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
|
|
- 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
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|