[TIMOB-16191] CLI: Add Java login test to CLI connection diagnosis tool
GitHub Issue | n/a |
---|---|
Type | Bug |
Priority | Critical |
Status | Closed |
Resolution | Fixed |
Resolution Date | 2014-01-27T07:54:35.000+0000 |
Affected Version/s | n/a |
Fix Version/s | 2014 Sprint 02, 2014 Sprint 02 Tooling, Release 3.3.0 |
Components | CLI |
Labels | Ti.UI.DashboardView, qe-closed-3.3.0, qe-testadded |
Reporter | Ingo Muschenetz |
Assignee | Michael Xia |
Created | 2014-01-15T03:25:35.000+0000 |
Updated | 2014-05-06T21:14:35.000+0000 |
Description
On the heels of APPTS-1213 and other SSLPeerUnverifiedExceptions, I would like to update our configuration test to also test logging in via Java as opposed to Node.js
I have to believe there is something weird about the appcelerator login library or certificate.
Using the existing network proxy settings for the connection test:
* Make a simple app to use the straight Java lib to log in to 360
* Make a simple app using the 360 lib to log in to 360
https://github.com/appcelerator/titanium-connection-test
Attachments
File | Date | Size |
---|---|---|
dashboard-login-1.0.0.jar | 2014-01-15T16:45:26.000+0000 | 2635 |
Here's a very simple JAR to try logging in against the dashboard.appcelerator.com API. It takes no arguments itself and will attempt to login using known good credentials (our unit test account). Basically you just download the file and then in it'd directory you run:
If it worked, you'll see the response output like so:
If you need to set up a proxy you'd use standard ENV variables to do so. Here's an example with an https proxy:
And with an authenticated https proxy:
This has been added.
Environment
Mac osx 10.9.2 Mavericks Appcelerator Studio, build: 3.3.0.201405011408 Titanium SDK, build: 3.3.0.v20140505115416 Node.JS Version: v0.10.13 NPM Version: 1.3.2 acs@1.0.14 alloy@1.4.0-dev npm@1.3.2 titanium@3.3.0-dev titanium-code-processor@1.1.1 Tested [~cwilliams] commandActual result: