Oh Okay. Sorry I missed this suggestion during the meeting. I will look into this.
Thanks and Regards, Swapnil On Mon, Jul 27, 2015 at 2:59 AM, Imesh Gunaratne <im...@apache.org> wrote: > As we discussed in the last meeting, may be you could add a new API method > to use the cluster id instead of the alias. > > On Sun, Jul 26, 2015 at 10:51 PM, Swapnil Patil <swapnil.r...@gmail.com> > wrote: > >> 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 < >> dhananjay...@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.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 >>>> >>> >>> >> > > > -- > Imesh Gunaratne > > Senior Technical Lead, WSO2 > Committer & PMC Member, Apache Stratos >