It is comes as a <cartridge_type>~<uuid>. This is to make a service name unique across all the tenants. We can't use only the uuid for this purpose as some python plugins may use the cartridge_type for his own configurations.
I think we may need to split the string and get only the cartridge type for this purpose.Now I have done this in the master branch. Thanks, Gayan On Tue, Sep 8, 2015 at 10:11 AM, Vishanth Balasubramaniam < vishan...@wso2.com> wrote: > Hi, > > In the mock-iaas xml file, we define set of sample values by cartridge > type for memory consumption and load average. In the > MockHealthStatisticNotifier class in master branch gives mockMemberContext > .getServiceName() as the service name with the tenant id (e.g - php~-1234) > . > > We can either change the cartridge type in the mock iaas xml file from > 'php' to 'php~-1234' or we can split the string and get only the service > name in the code. Which do you think is the right approach? > > Regards, > Vishanth > > -- > *Vishanth Balasubramaniam* > Committer & PMC Member, Apache Stratos, > Software Engineer, WSO2 Inc.; http://wso2.com > > mobile: *+94771737718* > about me: *http://about.me/vishanth <http://about.me/vishanth>* > -- Gayan Gunarathne Technical Lead, WSO2 Inc. (http://wso2.com) Committer & PMC Member, Apache Stratos email : gay...@wso2.com | mobile : +94 775030545 <%2B94%20766819985>