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

Allow super tenant to subscribe a tenant to a service (on behalf of)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 4.0.0
    • FUTURE
    • Stratos Manager
    • None

    Description

      AFAIU, at the moment when subscribe to a service (via the REST api), we need to provide the tenant user's credentials.

      Following is a sample rest call:
      curl -X POST -H "Content-Type: application/json" -d @subscribe.json -k -v -u username@tenantdomain:password https://sc.dev.com:9443/stratos/admin/cartridge/subscribe

      Following is a sample payload.

      {
      "cartridgeType": "appserver",
      "alias": "appservermyorg2",
      "repoURL": "https://git.com/git/Development/as/1.git",
      "privateRepo": "true",
      "repoUsername": "gituser",
      "repoPassword": "xxxxxxxxx",
      "commitsEnabled": "true",
      "autoscalePolicy": "stratos_autoscale",
      "deploymentPolicy": "stratos_deployment"
      }

      But, we need a method for the super tenant to make this subscription.

      Attachments

        Activity

          People

            Unassigned Unassigned
            amilam Amila Maharachchi
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: