aboutsummaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig/config.go
AgeCommit message (Collapse)AuthorFilesLines
2018-07-20Add XDS_SERVER_WORKSPACE_DIR env var supportflounder_5.99.2flounder/5.99.25.99.2Sebastien Douheret1-0/+16
By default xds-server uses $HOME/xds-workspace directory to access to user shared workspace directory. This root directory may be changed by defining XDS_SERVER_WORKSPACE_DIR environment variable. Change-Id: Ib786ba9a954b0b093216295d37236a80f78f2f2c Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-18Add XDS_SERVER_ROOT_CFG_DIR env var supportSebastien Douheret1-6/+23
By default xds-server uses $HOME/.xds/server directory to save all config. This changes allows user to change this root directory by defining XDS_SERVER_ROOT_CFG_DIR environment variable. Change-Id: Iebde8dcf2d27b77671c7332bac04295d31659e24 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-08Avoid duplicate SDK install dir - SPEC-1252Sebastien Douheret1-1/+1
- install sdk in a directory that includes a unique id (built from install url or path). SDKs are now install under: <SDK_ROOT_DIR>/<PROFILE>/<VERSION>/<ARCH>/<UID> Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-06Auto update SDK DB on startup.Sebastien Douheret1-0/+2
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-05Migration to AGL gerrit (update go import)Sebastien Douheret1-3/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-12-22Fixed invalid default value for Sdkscripts directory.Sebastien Douheret1-10/+10
2017-12-22Added SDKs management support.Sebastien Douheret1-2/+2
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 : 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-30Create server data directory when not existing.Sebastien Douheret1-0/+1
2017-11-29Refit source files to have a public xs-apiv1 lib package.Sebastien Douheret1-12/+11
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-11-06Add Server UUID and use it build CmdID.Sebastien Douheret1-2/+5
2017-11-06Cleanup and improvementsSebastien Douheret1-8/+17
- Save server data into file - FolderType is now a string - cleanup useless code Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-22Set default syncthing path.Sebastien Douheret1-1/+12
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-09-18Fix syncthing binary path detection.Sebastien Douheret1-1/+1
2017-09-13Set install dir to /opt/AGL and move conf to $HOME/.xds-serverSebastien Douheret1-0/+26
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-24Redirect HTTP and Gin server logs into a file (xds-server-verbose.log).Sebastien Douheret1-3/+5
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-08-16Add folder interface and support native pathmap folder type.Sebastien Douheret1-4/+17
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-13/+13
- Removed duplicate fields between Config and FileConfig - set /xdt/sdk as default SDK directory
2017-05-17Add SDKs support.Sebastien Douheret1-10/+3
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-167/+13
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2017-05-13Fix invalid rootPath when creating a new project.Sebastien Douheret1-0/+6
2017-05-11Initial main commit.Sebastien Douheret1-0/+231
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>