stratos-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Swapnil Patil <swapnil.r...@gmail.com>
Subject Re: Adding domain mappings using REST API
Date Sun, 26 Jul 2015 17:21:24 GMT
Thanks Ashan!

But unfortunately I don't have access to application id. So this method
will not be useful for me.

Thanks and Regards,
Swapnil

On Sun, Jul 26, 2015 at 10:40 AM, Ashan Dhananjaya <dhananjaya92@gmail.com>
wrote:

> Hi Swapnil,
>
> You can get the cluster details using this api call.
>
> curl -k -u admin:admin https://localhost:9443/api/v4.1/applications/{
> applicationId}/runtime/
> curl -k -u admin:admin
> https://localhost:9443/api/v4.1/applications/tomcat-single-signon/runtime/
>
> I hope this may help.
>
> Thank You!
> Best Regards,
> Ashan
>
> On Sun, Jul 26, 2015 at 3:45 PM, Swapnil Patil <swapnil.rp15@gmail.com>
> wrote:
>
>> Hi All,
>>
>> I want to add domain mappings to a cluster as a part of AWS load balancer
>> extension functionality.
>>
>> For that I went through [1]. But I have a couple of doubts.
>>
>> 1. In the request, I need to specify cartridge alias. But I am not able
>> to find a way to get the alias of a cluster using Service or Cluster
>> objects of org.apache.stratos.load.balancer.common.domain. Is there any way
>> to find out alias of a cluster?
>> 2. What does a context path mean?
>>
>> [1]
>> https://cwiki.apache.org/confluence/display/STRATOS/4.1.0+Adding+Domain+Mappings+via+REST+API
>>
>>
>> Thanks and Regards,
>> Swapnil
>>
>
>

Mime
View raw message