summaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig/fileconfig.go
AgeCommit message (Collapse)AuthorFilesLines
2018-02-06Auto update SDK DB on startup.Sebastien Douheret1-0/+4
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-10Fixed go linter warnings.Sebastien Douheret1-2/+2
2018-01-05Migration to AGL gerrit (update go import)Sebastien Douheret1-2/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Added SDKs management support.Sebastien Douheret1-9/+9
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-11Standardized XDS config file name and location.Sebastien Douheret1-12/+12
- config file name is : server-config.json - xds-server settings under user's home is: $HOME/.xds/server - xds-server settings under etc is: /etc/xds/server 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-06Add Server UUID and use it build CmdID.Sebastien Douheret1-1/+1
2017-11-06Cleanup and improvementsSebastien Douheret1-3/+14
- Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-18Fix syncthing binary path detection.Sebastien Douheret1-2/+3
2017-09-13Set install dir to /opt/AGL and move conf to $HOME/.xds-serverSebastien Douheret1-11/+21
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret1-10/+30
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-06-26Use xds-common go library.Sebastien Douheret1-1/+1
2017-06-20Remove duplicate fields and set default SDK dir.Sebastien Douheret1-17/+19
- Removed duplicate fields between Config and FileConfig - set /xdt/sdk as default SDK directory
2017-05-22Allow to set Syncthing rescanInterval parameter.Sebastien Douheret1-4/+5
2017-05-18Improved ResolveEnvVar and add support of tilde (~/...)Sebastien Douheret1-23/+2
2017-05-17Use autogenerated Synchting apikey.Sebastien Douheret1-3/+4
Except if gui-apikey is set in config.json file. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-17Add SDKs support.Sebastien Douheret1-29/+17
Don't allow to install SDKs through XDS for now. Only probe existing SDKs that have been manually installed using scripts/agl/install-agl-sdks.sh. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-17Auto start Syncthing and Syncthing-inotify.Sebastien Douheret1-6/+8
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-15Update doc: add current dir in config.json discovery logic.Sebastien Douheret1-1/+2
2017-05-13Detect undefined env variables used in config.jsonSebastien Douheret1-8/+26
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-11Initial main commit.Sebastien Douheret1-0/+133
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>