Hi Danushka, Got the idea of storage server's internal representation. But, the doubt is whether we need to use the generated username as it is in the appfactory side. If so, user would be confused since the name given by him is modified in the middle of the process. Thanks,
Roshan Deniyage Associate Technical Lead WSO2, Inc: http://wso2.com Mobile : +94 777636406 Twitter : *https://twitter.com/roshku <https://twitter.com/roshku>* LinkedIn : https://www.linkedin.com/in/roshandeniyage On Fri, Sep 26, 2014 at 6:32 PM, Danushka Fernando <[email protected]> wrote: > Hi Roshan > > Actually the problem we are solving using this suffix is let the users > create a db/db user with same name in two tenants. We are achieving mysql > multitenancy by this approach. I guess this is the answer you were looking > for. > > Thanks & Regards > > Danushka Fernando > Software Engineer > WSO2 inc. http://wso2.com/ > Mobile : +94716332729 > > On Fri, Sep 26, 2014 at 6:21 PM, Harsha Kumara <[email protected]> wrote: > >> Hi Roshan, >> >> This suffix is added as a hash of tenant domain of a particular tenant. >> The database username such as MySQL and others has max length where tenant >> domain exceeds that limit. So in order to shorten the tenant domain we take >> the hash value of tenant and append it to the provided username by a user >> when creating a database user. If there is no limit for the username, then >> we would append it along with the username. >> >> Hope I'm clear to you. >> >> Thanks, >> Harsha >> >> On Fri, Sep 26, 2014 at 6:11 PM, Roshan Deniyage <[email protected]> >> wrote: >> >>> Hi Devs, >>> >>> - I am working with appfactory dev setup which works with the "wso2 >>> storage server". When creating new application, developer can create a new >>> database and related users for that. >>> "Storage Server 1.0.1" is used. >>> >>> - Appfactory uses storage server to create database. >>> >>> The question is, when creating new user, wso2-ss add a random suffix to >>> the username given. What is the logic behind this? Is there a special >>> format for this suffix? >>> >>> Any comment would be appreciated. >>> >>> >>> Roshan Deniyage >>> Associate Technical Lead >>> WSO2, Inc: http://wso2.com >>> >>> Mobile : +94 777636406 >>> Twitter : *https://twitter.com/roshku <https://twitter.com/roshku>* >>> LinkedIn : https://www.linkedin.com/in/roshandeniyage >>> >>> >>> >>> _______________________________________________ >>> Dev mailing list >>> [email protected] >>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>> >>> >> >> >> -- >> Harsha Kumara >> Software Engineer, WSO2 Inc. >> Mobile: +94775505618 >> Blog:harshcreationz.blogspot.com >> >> _______________________________________________ >> Dev mailing list >> [email protected] >> http://wso2.org/cgi-bin/mailman/listinfo/dev >> >> >
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
