Hi All,

What if we implement a pollar which monitor the s2git repo, If the repo is
not ready show a message saying "The environment setup for app creation in
progress, Please wait few moments" and hide that once repo initialization
completed.


Thanks & Regards,
S.A.Rajeevan
Software Engineer WSO2 Inc
E-Mail: [email protected] | Mobile : +94776411636

On Mon, Oct 19, 2015 at 12:08 AM, Samith Dassanayake <[email protected]>
wrote:

> Hi Amlka,
>
> Please find my comments inline
>
> On Fri, Oct 16, 2015 at 11:15 PM, Amalka Subasinghe <[email protected]>
> wrote:
>
>>
>> Hi,
>>
>> in the current deployment, in the tenant creation flow , when the SM
>> receive the create_subsciption message it creates a git repo in s2git and
>> then subscribe the tenant to all 3 AS instances.
>> This takes little more time and no response return to front end whether
>> that flow completed successfully.
>>
>  We can simply implement a git hook in s2git to notify to AF side, when a
> repo is created.
>
>
>> regardless of that we allow user to login to AF home and create
>> application.
>> if the git repo is not available in the s2git at that time, application
>> creation can be failed.
>>
>> Shall we add some logic to check whether the s2git repo is available or
>> not, in the beginning of application creation logic, with some waiting
>> logic until it creates?
>> WDYT? any other ideas?
>>
> Do we need to wait until it creates? What if we add those
> requests(Committing to s2git) to a queue, if the s2git repo is not
> available. Then once we get the notification from the s2git, we can execute
> those requests from the queue based on the tenant.
>
>
>
>>
>> Thanks
>> Amalka
>>
>>
>>
>> _______________________________________________
>> Dev mailing list
>> [email protected]
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Best Regards
>
> Samith Dassanayake
> Software Engineer | Cloud TG
> WSO2, Inc. | http://wso2.com
> lean. enterprise. middleware
>
> Mobile : +947 76207351
> Blog : buddycode.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

Reply via email to