Dimuthu Leelarathne created STRATOS-762:
-------------------------------------------
Summary: 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)