Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 421674

Summary: [sites] "Convert to self hosting" should allow 'https' scheme
Product: [ECD] Orion Reporter: Mark Macdonald <mamacdon>
Component: ClientAssignee: Mark Macdonald <mamacdon>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3    
Version: 3.0   
Target Milestone: 5.0 M1   
Hardware: PC   
OS: Windows 7   
Whiteboard:

Description Mark Macdonald CLA 2013-11-13 16:01:26 EST
When you're running "convert to self hosting", you are prompted for the internal port number the server is listening on. We need to prompt for the scheme (http or https) as well. It should also be possible for the site service to suggest a value here.

This is just a short term fix until bug 421488 is fixed, which will remove the need for these internal values to be shown to the end user.
Comment 1 Mark Macdonald CLA 2013-11-14 18:58:07 EST
Per bug 421695, any target URLs with the host "localhost" are now treated as aliases for to the outer Orion server, whatever scheme/port it happens to be listening on.

So I just removed the "port" field in the dialog entirely, as it has no effect anymore.

http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=4884149

Sooner or later I'll fix bug 421488, which will formalize this distinction between API paths vs. workspace resources, and allow me to remove the confusing-looking references to "localhost" from the site editor and the sites REST API.