On Tue, Oct 6, 2015 at 8:26 PM, Amalka Subasinghe <[email protected]> wrote:
> Yes, we need 3 messages in MB, that we are creating within the > initializeCloudManager method. > see the sequence diagram I have shared in @architecture: [Architecture] > [AppFactory]New governance and tenant creation changes to AppFactory > deployment with single Stratos > within the initializeCloudManager method, get the stages defined in appfactory.xml file (in our case, dev, test n prod), create 3 messages to create tenant in 3 Greg instances and put in MB > > On Tue, Oct 6, 2015 at 8:03 PM, Punnadi Gunarathna <[email protected]> > wrote: > >> Hi, >> >> I think since we are going to introduce 3 GReg servers for each stage, we >> will have to have 3 topics in MB and subscribe to relevant one based on the >> stage as it was done before. >> >> On Tue, Oct 6, 2015 at 9:07 AM, Amalka Subasinghe <[email protected]> >> wrote: >> >>> As I know what you are doing is, implementing a extension class to >>> invoke the methods defined in >>> AppFactoryTenantInfraStructureInitializerService class. Now with the new >>> implementation we have removed calling initializeCloudManager method 3 >>> times for 3 stages. Instead of that we call initializeCloudManager methods >>> only once and within that method we create tenant in all stages. >>> >>> So you need to update your extension class to invoke >>> initializeCloudManager method once. No need to revert the changes done by >>> Punnadi. >>> >>> On Tue, Oct 6, 2015 at 5:43 PM, Punnadi Gunarathna <[email protected]> >>> wrote: >>> >>>> Hi Lahiru, >>>> >>>> >>>> Please find the changes made by me in [1]. I think you will have to >>>> revert it back to it's initial state. >>>> >>>> [1] >>>> https://github.com/punnadih/product-af/commit/c58f448a61f42d1ba8f6e5206e437076926267f8 >>>> >>>> On Tue, Oct 6, 2015 at 6:49 AM, Lahiru Manohara <[email protected]> >>>> wrote: >>>> >>>>> Now cloud manager initialization is happening inside the >>>>> initializeCloudManager >>>>> method and also initializeCloudManager method calls for three stages are >>>>> removed from the BPEL as well. >>>>> >>>>> On Tue, Oct 6, 2015 at 4:25 PM, Anuruddha Premalal <[email protected] >>>>> > wrote: >>>>> >>>>>> Hi Lahiru, >>>>>> >>>>>> Tenant creation was done by (+ punnadi). Since we had a single >>>>>> stratos, didn't want stage parameter to create tenant in separate >>>>>> registries, however once we move tenant creation to greg's you might have >>>>>> to bring the stage parameter back or you could use multiple subscriber on >>>>>> the tenant creation message. >>>>>> >>>>>> Regards, >>>>>> Anuruddha. >>>>>> >>>>>> On Tue, Oct 6, 2015 at 2:49 PM, Lahiru Manohara <[email protected]> >>>>>> wrote: >>>>>> >>>>>>> Hi Anuruddha, >>>>>>> >>>>>>> According to this full request[1]. The stage parameter was removed >>>>>>> from the initializeCloudManager method in >>>>>>> the AppFactoryTenantInfraStructureInitializerService class. In >>>>>>> Tenantcreation BPEL and default workflow is calling >>>>>>> initializeCloudManager >>>>>>> for three stages (development, testing and production). But how could i >>>>>>> do >>>>>>> this from updated code? >>>>>>> >>>>>>> [1]. https://github.com/wso2/product-af/pull/526/files >>>>>>> >>>>>>> Thanks. >>>>>>> -- >>>>>>> Best regards, >>>>>>> >>>>>>> *Lahiru Manohara* >>>>>>> *Software Engineer* >>>>>>> Mobile: +94716561576 >>>>>>> WSO2 Inc. | http://wso2.com >>>>>>> lean.enterprise.middleware >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> *Anuruddha Premalal* >>>>>> Software Eng. | WSO2 Inc. >>>>>> Mobile : +94717213122 >>>>>> Web site : www.anuruddha.org >>>>>> >>>>>> >>>>> >>>>> >>>>> -- >>>>> Best regards, >>>>> >>>>> *Lahiru Manohara* >>>>> *Software Engineer* >>>>> Mobile: +94716561576 >>>>> WSO2 Inc. | http://wso2.com >>>>> lean.enterprise.middleware >>>>> >>>> >>>> >>>> >>>> -- >>>> >>>> Thanks and Regards, >>>> >>>> Punnadi Gunarathna >>>> Senior Software Engineer, >>>> WSO2, Inc.; http://wso2.com <http://wso2> >>>> Blog: http://hi-my-world.blogspot.com/ >>>> Tel : 94 11 214 5345 >>>> Fax :94 11 2145300 >>>> >>>> <http://lalajisureshika.blogspot.com/> >>>> >>>> _______________________________________________ >>>> Dev mailing list >>>> [email protected] >>>> http://wso2.org/cgi-bin/mailman/listinfo/dev >>>> >>>> >>> >>> >>> -- >>> Amalka Subasinghe >>> Senior Software Engineer >>> WSO2 Inc. >>> Mobile: +94 77 9401267 >>> >> >> >> >> -- >> >> Thanks and Regards, >> >> Punnadi Gunarathna >> Senior Software Engineer, >> WSO2, Inc.; http://wso2.com <http://wso2> >> Blog: http://hi-my-world.blogspot.com/ >> Tel : 94 11 214 5345 >> Fax :94 11 2145300 >> >> <http://lalajisureshika.blogspot.com/> >> > > > > -- > Amalka Subasinghe > Senior Software Engineer > WSO2 Inc. > Mobile: +94 77 9401267 > -- Amalka Subasinghe Senior Software Engineer WSO2 Inc. Mobile: +94 77 9401267
_______________________________________________ Dev mailing list [email protected] http://wso2.org/cgi-bin/mailman/listinfo/dev
