Red Hat Bugzilla – Bug 830309
Add ssh_url to application REST object so that clients don't need to make it up
Last modified: 2015-05-14 20:51:29 EDT
Two stories this sprint need the SSH URL. We can currently get it by parsing the git_url on application and then returinng userinfo, host, and port, but this is potentially broken in the future if those URLs change meaning (if we switch to git protocol urls).
Add "ssh_url" to application. Fairly important for US2339 and US2276, please prioritize accordingly.
To clarify - ssh://<userid>@<host>[:<port>] is what i was looking for - the client can be responsible for transcribing the URI into command line format if necessary.
Fixed and waiting for merge
Verified it on devenv_1857,ssh_url is listed
curl -k -H "Accept: application/json" --user "firstname.lastname@example.org:123456" https://localhost/broker/rest/domains/domainbill004/applications/phpapp0/