Hi, I have some few questions regarding this.
1.Why do we have a super tenant in the first place? Shouldn't it be "default tenant"? 2. Do we have a tenant admin role in Stratos? Thanks. Hi, Yes what Pradeep has pointed out is true, this has been done by design. Super tenant cannot perform operations in tenant space. Thanks On Fri, Aug 15, 2014 at 8:05 AM, Pradeep Fernando <pradee...@gmail.com> wrote: > Hi, > > Adding to that, i sense something wrong with above requirement. tenant is > the isolation unit we use. So other tenants (even the super tenant) should > not play around with my tenant space. (after the initial tenant admin > creation, super tenant work is done IIUC) > > Tenant admin can do the above operations i guess.. > > just a thought. > > thanks. > > > On Fri, Aug 15, 2014 at 4:19 AM, Isuru Haththotuwa <isu...@apache.org> > wrote: > >> Hi Amila, >> >> Sorry for the delayed response. In the current implementation, this is >> not supported. >> >> >> On Wed, Aug 13, 2014 at 5:34 PM, Amila Maha Arachchi <ami...@wso2.com> >> wrote: >> >>> Hi Devs, >>> >>> 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" >>> } >>> >>> Can I subscribe a tenant on behalf of him/her by giving super admin >>> credentials? >>> >>> Regards, >>> Amila. >>> -- >>> *Amila Maharachchi* >>> Senior Technical Lead >>> WSO2, Inc.; http://wso2.com >>> >>> Blog: http://maharachchi.blogspot.com >>> Mobile: +94719371446 >>> >>> -- >>> <%2B94719371446> >>> Thanks and Regards, >>> >>> Isuru H. >>> <%2B94719371446> >>> +94 716 358 048 <%2B94719371446>* <http://wso2.com/>* >>> >>> >>> * <http://wso2.com/>* >>> >>> >>> > > > -- > Pradeep Fernando. > http://pradeepfernando.blogspot.com/ > -- Imesh Gunaratne Technical Lead, WSO2 Committer & PPMC Member, Apache Stratos