We need to use java.net.URL [1] when constructing URLs, I will fix this.

[1] http://docs.oracle.com/javase/7/docs/api/java/net/URL.html

Thanks

On Thu, Jan 29, 2015 at 12:25 AM, shiro <shi...@gmail.com> wrote:

> This is due to the following code segment in
> org.apache.stratos.cloud.controller.services.impl.CloudControllerServiceImpl.createApplicationClusters(String,
> ApplicationClusterContext[])
>
> for (PortMapping portMap : portMappings) {
>                                 if
> (portMap.isKubernetesServicePortMapping()) {
>                                     String accessUrl =
>                                             portMap.getProtocol() +
> "\\://" + appClusterCtxt.getHostName() + ":" +
>
> portMap.getKubernetesServicePort();
>                                     accessUrlPerCluster.add(accessUrl);
>                                 } else {
>                                     String accessUrl =
>                                             portMap.getProtocol() +
> "\\://" + appClusterCtxt.getHostName() + ":" +
>                                             portMap.getProxyPort();
>                                     accessUrlPerCluster.add(accessUrl);
>                                 }
>                             }
>
> Is there a particular reason for setting it this way ?
>
> On Wed, Jan 28, 2015 at 11:31 PM, Dakshika Jayathilaka <daksh...@wso2.com>
> wrote:
>
>> Hi All,
>>
>> I have notice $subject on application runtime return.
>>
>> "accessUrls":["http\\://mylb.isuruh.lk:8280"]
>>
>> it should return as
>>
>> "accessUrls":["http://mylb.isuruh.lk:8280";]
>>
>>
>> Thank you,
>>
>> Regards,
>>
>> *Dakshika Jayathilaka*
>> Software Engineer
>> WSO2, Inc.
>> lean.enterprise.middleware
>> 0771100911
>>
>
>


-- 
Imesh Gunaratne

Technical Lead, WSO2
Committer & PMC Member, Apache Stratos

Reply via email to