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.r...@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
>

Reply via email to