[ 
https://issues.apache.org/jira/browse/STRATOS-762?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14114657#comment-14114657
 ] 

ASF GitHub Bot commented on STRATOS-762:
----------------------------------------

GitHub user muthulee opened a pull request:

    https://github.com/apache/stratos/pull/20

    Fixing STRATOS-762

    This is to retrieve the cluster ID. This would help contract the URL in the 
case where LB is not present. Our dev setup doesn't have a LB.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/muthulee/stratos master

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/stratos/pull/20.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #20
    
----
commit 79e59127e4f1e2a24f0ab5d24a65e8a6a5905f14
Author: dim lee <ad...@abc.com>
Date:   2014-08-29T00:25:33Z

    Fixing STRATOS-762

----


> Retrieving ClusterId after sending Subscription
> -----------------------------------------------
>
>                 Key: STRATOS-762
>                 URL: https://issues.apache.org/jira/browse/STRATOS-762
>             Project: Stratos
>          Issue Type: Improvement
>            Reporter: Dimuthu Leelarathne
>
> Our aPaaS product - App Factory uses Apache Stratos to deploy applications. 
> Here is our requirement,
> - A a developer click on deploy a PHP application. We send a PHP cartridge 
> subscription request to Stratos.
> - The PHP cartridge is spawned and application is deployed.
> - Then we we want to show the URL to access this PHP application in the UI. 
> So we started looking at how to get the IP from Apache Stratos in order to 
> show in the UI.
> Initial idea was to use the same methods as Stratos UI does. Stratos UI gets 
> tenants subscriptions (when the user logs in) and from that information get 
> the Cluster ID and construct the access URL. But this cannot be done at our 
> end because we don’t have the tenant username/password (password is hashed). 
> So there are two options,
> - Introduce OAuth mechanism to access Apache Stratos REST API
> - Or give us a way to get the ClusterId upon subscription.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to