summaryrefslogtreecommitdiffstats
path: root/lib/xdsconfig/config.go
AgeCommit message (Collapse)AuthorFilesLines
2019-04-07Use 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 Douheret1-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: I8f459a9f80f501c2b6019566eaa3db3a9b986396 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-11-06Allow XDT_SDK overwriteSebastien Douheret1-1/+1
Test framework or simply a user may need to set XDT_SDK variable even if /etc/xdtrc file exists. Also change default location of webapp to www to allow to run xds-server without the need to set any config file. Change-Id: I403778e597cbcfd2c16d5ab6b603073ed3a230f0 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-10-16update xds-server package in dockerClément Bénier1-13/+17
scripts/package-update: bash scripts to update xds-server package in docker monitor updates: default time is 24h, a update is tried at startup api/v1: 2 new requests: - get(updates): return various information about xds-server packages - post(updates): update xds-server packages Change-Id: I1673f7860e57cfe1d4abe5a24609ee46a90b67d8 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
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>