[TIMOB-18159] CLI: Implement node connectivity tests from titanium-connection-test in ti setup check
GitHub Issue | n/a |
---|---|
Type | Improvement |
Priority | High |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2015-01-15T21:14:50.000+0000 |
Affected Version/s | n/a |
Fix Version/s | Release 4.1.0 |
Components | CLI |
Labels | look1, network, proxy |
Reporter | Tim Poulsen |
Assignee | Tim Poulsen |
Created | 2014-12-09T16:56:30.000+0000 |
Updated | 2017-03-16T22:28:33.000+0000 |
Description
Replace the existing network connectivity tests in
ti setup check
with those from the https://github.com/appcelerator/titanium-connection-test project. Connections should be made via the proxy (if any) as configured with the existing CLI network configuration functionality.
The set of URLs to check should be stored in an external file for easy updating.
If all sites are reachable, output a simple message, like:
✓ Network connection test
If sites are unreachable, output a message for each site that cannot be access, like:
✕ api.appcelerator.net is unreachable
PR: https://github.com/appcelerator/titanium/pull/175 Run
ti setup check
(or runti setup
and choose optionk
). You should see output as described above, depending on your network connectivity.Can you review and merge?
PR merged into 3_5_X and cherry-picked into master branch.
Closing ticket as fixed.