Age | Commit message (Collapse) | Author | Files | Lines |
|
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>
|
|
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>
|
|
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>
|
|
resolv env variables after setting default values if needed
obviously, it will also resolv default values
so it will fix EXEPATH bug
Change-Id: If334d44374d021f9439288a46ed5827ea3b9fbe2
Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
|
|
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>
|
|
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>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- 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>
|
|
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>
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
- 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>
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
|
|
- Save server data into file
- FolderType is now a string
- cleanup useless code
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>
|
|
|
|
- Removed duplicate fields between Config and FileConfig
- set /xdt/sdk as default SDK directory
|
|
|
|
|
|
|
|
Except if gui-apikey is set in config.json file.
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
|
|
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>
|
|
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>
|