Uploaded image for project: 'Stratos'
  1. Stratos
  2. STRATOS-762

Retrieving ClusterId after sending Subscription

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.1.0
    • None
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            muthulee Dimuthu Leelarathne
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: