Re: [Architecture] Resilient application creation process

2014-03-02 Thread Harsha Thirimanna
Hi, Same as Application creation process, I encountered that we should rollback the process with the application version creation or folking when it fail. Because In these cases, we create repo in git, version in issue tracker, job in jenkins and update registry about application info. WDYT ?

Re: [Architecture] Resilient application creation process

2014-01-10 Thread Udara Liyanage
From a perspective of user I like to see this as a set of process and if one process is not successful,that perticular process should be able to retry rather than aborting the whole process. User should be informed of the process which is failed. If retry of a failed process(a mandatory process)

Re: [Architecture] Resilient application creation process

2014-01-06 Thread Harsha Thirimanna
Hi Suresh, We have identified above fail points as mandatory to the app creation process. But as you said , for the optional cases, we can do this in configurable manner in appfactory configuration. Then user can select those optional cases as mandatory or not. But if we allow to create app

Re: [Architecture] Resilient application creation process

2014-01-06 Thread Ashansa Perera
Yes, I think we can add these as improvements in next milestones after discussing. On Mon, Jan 6, 2014 at 1:37 PM, Harsha Thirimanna hars...@wso2.com wrote: Hi Suresh, We have identified above fail points as mandatory to the app creation process. But as you said , for the optional cases, we

Re: [Architecture] Resilient application creation process

2014-01-06 Thread Harsha Thirimanna
Hi Ashansa, Now what we are going to do is deleting all the stuff related to the current failed application and give a message to the user saying failed. After refresh the page then there will not be any information regarding this failed app. Instead of doing that how about if we keep the failed

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Janaka Ranabahu
Hi Manjula, On Mon, Jan 6, 2014 at 10:24 AM, Manjula Rathnayake manju...@wso2.comwrote: Hi all, Another option is to retry to create the application even after failed. There we create the application again and again until it get created. If it fails, users should be able to role back. In

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Manjula Rathnayake
Hi Janaka, On Mon, Jan 6, 2014 at 10:33 AM, Janaka Ranabahu jan...@wso2.com wrote: Hi Manjula, On Mon, Jan 6, 2014 at 10:24 AM, Manjula Rathnayake manju...@wso2.comwrote: Hi all, Another option is to retry to create the application even after failed. There we create the application

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Gayan Dhanushka
Hi Janaka, IMO it is ok for us to have a mechanism for retrying. If it was an intermittent issue that interrupted the system from creating the application this will solve it. If the application creation failed after retrying for a few times we can roll back the entire process. If it is some other

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Ramith Jayasinghe
Shall we list down what are the steps involved in creating a application. then what needs to be to undo each step that was performed? On Mon, Jan 6, 2014 at 10:45 AM, Gayan Dhanushka gay...@wso2.com wrote: Hi Janaka, IMO it is ok for us to have a mechanism for retrying. If it was an

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Ashansa Perera
Agree with Janaka's idea of having rollback mechanism first and of course we can have retry logic in each operation as well. On Mon, Jan 6, 2014 at 10:48 AM, Ramith Jayasinghe ram...@wso2.com wrote: Shall we list down what are the steps involved in creating a application. then what needs to

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Ashansa Perera
@Ramith Application creation process do - repository creation - jenkins job creation - publish application creation ( which calls all the application event listeners ) On Mon, Jan 6, 2014 at 10:55 AM, Ashansa Perera asha...@wso2.com wrote: Agree with Janaka's idea of having rollback mechanism

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Samisa Abeysinghe
What are the error situations that we roll back on? Are they numerous or are they handful? Thanks, Samisa... Samisa Abeysinghe Vice President Developer Evangelism WSO2 Inc. http://wso2.com On Mon, Jan 6, 2014 at 11:04 AM, Ashansa Perera asha...@wso2.com wrote: @Ramith Application

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Ashansa Perera
The main error situations would be the failures on any of the following actions - Repository creation - Build job creation - Issue repository creation - Authorize roles - Add users to application On Mon, Jan 6, 2014 at 11:12 AM, Samisa Abeysinghe sam...@wso2.com wrote: What are the error

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Shamika Ariyawansa
Hi, Is there any possibility of showing the user that what step of this is exactly failed ?. So that user would know that due to that failure the application creation process is cancelled and rolled back. Regards On Mon, Jan 6, 2014 at 11:57 AM, Ashansa Perera asha...@wso2.com wrote: The

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Shiroshica Kulatilake
Hi, On Mon, Jan 6, 2014 at 12:17 PM, Janaka Ranabahu jan...@wso2.com wrote: On Mon, Jan 6, 2014 at 12:10 PM, Shamika Ariyawansa sham...@wso2.comwrote: Hi, Is there any possibility of showing the user that what step of this is exactly failed ?. So that user would know that due to that

Re: [Architecture] Resilient application creation process

2014-01-05 Thread Suresh Attanayaka
Hi, As a user I would like to continue app creation even when some steps are failed such as Issue repository creation, And then I can try those steps later to complete the app creation. On Mon, Jan 6, 2014 at 12:10 PM, Shamika Ariyawansa sham...@wso2.comwrote: Hi, Is there any possibility