summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2018-08-21test target: update -> listen to eventsClément Bénier1-0/+35
Change-Id: I21026ea34566239a23c3d8bac39b888618169a4b Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test sdks: close channelsClément Bénier1-0/+2
Change-Id: Ibab87254b1ef39ff8bb6166a5ff160233b6533e0 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: waiting for events and timeout while buildingClément Bénier1-2/+19
Change-Id: I4caf0dd3e59f920f602131638c58e11beb9f3e08 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21tests: better handle websocket clientClément Bénier4-79/+66
Change-Id: Iffc7370c52457e6d90e88e30c95b37ae3c60bce3 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test target: add test for target and terminalsClément Bénier1-0/+175
Change-Id: I3761debe4ffe8971a7e94a55136b5dc34a8c65c2 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21test exec: add test for execClément Bénier2-0/+114
Change-Id: I505496ca3a8641c401b802faea7a467986a819c9 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21[test exec]: in progressClément Bénier2-9/+20
Change-Id: Ie8eb5b66ecffa7cdb87a79a1543d7b303332f190 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: install test install fake sdkClément Bénier4-13/+84
install a fake sdk and waiting for event to end the test Change-Id: I5c2125f32a1fb4a80f9b251174d15117eef26f9a Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21sdk_test: draft in progressClément Bénier7-25/+188
add tests for testing sdk - draft Change-Id: I81f2f4ff75d6256fd092afd5213ea4f3370fcc68 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: separate tests into filesClément Bénier4-186/+259
separate tests into files each file represent a entry in the XDS-SERVER API the created files are: - version - config - folders Change-Id: I32d24f5b277ab853f6c190a96433aca5b4fda1d5 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: update and add testsClément Bénier1-20/+120
- TestFolders: update - TestFoldersEmptyValues - TestFoldersPathMapConfig Change-Id: I04dcbcbe6d8fc80ed3ef2cabbcf5dfd2952d1635 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-21functionnal test: initial commit for testsClément Bénier6-1/+249
Launch xds-server process and run test based on xds REST APIs. list of tests - version - config - folders(in progress) Change-Id: I4312c9ab067b2d6e157f8828c2fbe467ef187733 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-20Fixed xds-server service startup in VM.Sebastien Douheret1-0/+6
When xds-server service in startup in a VM (like Virtualbox Debian9 VM), the first start may fails with "Cannot determined local IP" error even if "After=network-online.target" statement is set in service file. So do both, set After and Restart on-failure statements. Change-Id: I27705dc8fbb0ac5547a1100e126392d372078e12 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-08-20sdk force install: already installedClément Bénier1-1/+1
fix sdk Install when force boolean is true Install function was returning when sdk was already installed Change-Id: Ie8530ebe697bb66b17ac051804b42e367531134b Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-20terminal: when closing term, pass status to closingClément Bénier2-2/+6
status in return TerminalConfig is still opened when a term is closed Change-Id: Idacb67607ca32bfe35738d86e784512cb7758b02 Signed-off-by: Clément Bénier <clement.benier@iot.bzh>
2018-08-20Fixed GPG keyserver intermittenly failureSebastien Douheret1-1/+10
Workaround about issue with the particular GPG keyserver: trying several explicit keyservers until the command succeeds Change-Id: I7410c07e25d25006c9252b97036c3b33ca183ae6 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-25Ignored webapp/install error when DESTDIR doesn't existflounder_5.99.3flounder/5.99.35.99.3Sebastien Douheret1-1/+1
Change-Id: I80e79fc350a1905cb3c4a98ef0a7cf0659a18c88 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-25Add missing event when starting SDK installSebastien Douheret1-0/+4
Change-Id: I32892a8ad64ed05a93aedf413a81b6e8c50c26f7 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-20Add XDS_SERVER_WORKSPACE_DIR env var supportflounder_5.99.2flounder/5.99.25.99.2Sebastien Douheret2-1/+19
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-18Fixed error about unwanted usr directorysandbox/SebDSebastien Douheret1-4/+4
Change-Id: I8404ee2dd1eff5c20924e841c0a37ea16c85cc17 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-18Add XDS_SERVER_ROOT_CFG_DIR env var supportSebastien Douheret2-16/+26
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-07-13Packaging: ignore expected rpmlint warningsSebastien Douheret3-0/+8
Change-Id: I90d9cf407aafe4c4700613276e4975ef51bc315a Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-13Fixed GOPATH setting for VSCodeSebastien Douheret1-3/+12
Change-Id: I3f75faef18305dca2c848af64dd6feb4ea68c23d Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Removed unwanted usr directory from packageSebastien Douheret1-0/+1
Don't know exactly which tool create this directory (I suspect npm install process) but 'usr' directory should not be part of XDS zip package. Change-Id: Id6f4659f16b707ca5eb9a621947dce8cf2a5b674 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Fix REVISION tag and rename obs service templateSebastien Douheret1-1/+1
_service.in is a template so file extention must be .in Change-Id: Ia93058b5c505a118fd00208c1ce7654f4b2d3daf Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Minor fixes in MakefileSebastien Douheret1-4/+4
Change-Id: I24d971fb254afccb1ed65d412729b32ca53d251e Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-06Add retry (3 times) when glide download failsSebastien Douheret2-11/+11
Change-Id: I97d70664ed6e62831a70d46f721ed2024ee9b574 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-07-05Update/fix rpm and deb packagingSebastien Douheret6-13/+16
- fix packaging to be compliant with latest subprojects hierarchy (Master, Master-Next, ElectricEel, ...) - fix rpmlint warnings/error Change-Id: Ib8c2014624542d3dfb81818ed605dc7a2dedf2c5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Used latest version of xds-common packageflounder_5.99.1flounder/5.99.15.99.1Sebastien Douheret1-1/+1
Change-Id: I9d66707880f15e8966f4bcbe93d6edc126c483f5 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Fixed sdk from local file installationSebastien Douheret7-6/+22
Rework sdk uuid management because previous code prevented to install local sdk using following command: xds-cli sdks install --file $HOME/xds-workspace/my_local_sdk.sh Change-Id: I20bac8a76d32b005a6775e936756c96048651766 Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-06-27Updated AGL sdks list definitionSebastien Douheret1-4/+14
Change-Id: I239b052f2d2bf4caf6fe4e756ee372e4ae6060ec Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-05-15Add packaging filesRonan Le Martret8-0/+246
* it's easier to manage native build package. Change-Id: I358a07f2569ac52c792443345244d3294a1c3b8b Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-04-05Convert db-dump to python3Sebastien Douheret1-2/+3
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Fixed meta tags in path to avoid conflict with spec syntaxv1.1.1Sebastien Douheret1-1/+1
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Rework SDK default directory.Sebastien Douheret2-6/+10
Default SDK directory is $HOME/xds-workspace/.sdks expect if /xdt/sdk exists (backward compatibility). Default SDK directory can be set by defining XDT_SDK variable in /etc/xdtrc file Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Fixed sdk uuid setting during install [SPEC-1377]Sebastien Douheret4-11/+40
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Add package lock fileSebastien Douheret2-1/+14
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-04-05Added Target and Terminal events through WS.Sebastien Douheret5-38/+163
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-03-09Fixed terminal output (support escape and control characters)Sebastien Douheret5-27/+33
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-23Added target and terminal support.v1.1.0Sebastien Douheret19-24/+1513
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-02-08Avoid duplicate SDK install dir - SPEC-1252Sebastien Douheret5-30/+64
- 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 Douheret5-3/+51
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-26Don't send command output too fast.eel_5.0.1eel/5.0.15.0.1Sebastien Douheret1-60/+13
Changes done in eows package of xds-common now allow to accumulate command output during a period of time (eg. 500ms) or up to the end of a line. Usage of this feature is mandatory to avoid to post to much buffers in websocket and consequently flood client (eg. web-browser) Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-23Reworked SDKs events (introduced sdk-state-change)Sebastien Douheret5-37/+84
Split add/remove/state-change from installing output (AKA SDKManagement event) in order to clearly separate events used to send installation output and sdk config changes. Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-22Migrate db-dump script in python avoid nodejs depSebastien Douheret1-136/+129
- Also, workaround SPEC-1252 matching first detected SDK and break. - Fixed SDK date extraction. Bug-AGL: SPEC-1249 Change-Id: Ia1cb3e9466d0f8f958f6e8759287f801a5b81d04 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh> Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-22Fix not existing /etc/xdtrc fileRomain Forlot1-1/+1
Change-Id: I1bfcb754fe7fd510f88d16153c00cb1f966aabed Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-22Make sure using space as indentation styleRomain Forlot2-6/+8
Also use the same indent rules Change-Id: I50ca200d7186ba133ea3a6f0137120d4090ed16e Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2018-01-18Fixed GOPATH setup while debugging in VSCSebastien Douheret1-4/+2
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>
2018-01-16[webapp] Add minimum size for buttonRonan Le Martret1-0/+1
Change-Id: I2f8e6057408227b5cf48455918ac4850eaa49d84 Signed-off-by: Ronan Le Martret <ronan.lemartret@iot.bzh>
2018-01-10Update sdks list with EEL/5.0.0 release.v1.0.1Sebastien Douheret1-3/+7
Signed-off-by: Sebastien Douheret <sebastien.douheret@iot.bzh>