Wednesday, January 22, 2014

Application Life-Cycle Management using WSO2-APP-Factory

WSO2 AppFactory Provides ALM(Application Life-cycle Management) facility reducing the head-ache of setting-up and maintaining the systems in the different environments( Dev, QA and Prod). The following diagram shows the way the application moves thru the Application Life-Cycle.



Different Types of Users - Different Types of Roles

In this article, we are going to discuss about three different user-types even though AppFactory supports some more user-types. First, it is application owners. Application owners can create applications and they can do anything, no restrictions to their own applications. Second, it is Application developers. They have the access to the code and they can run it, test it and report bugs on AppFactory itself. On the other hand, developer have the access to the running application on the Dev(Developing) env too to test the app. The QAs have the access to the running applications in the QA env. They can test it and report bugs on AppFactory itself. Application owners are the only set of users discussed in this article who have the access to the running applications on the Prod(Production) env.

How does an application come to the life-cycle?

While application is on the implementing stage, there is only one code branch that is what we called trunk. That is where everybody put the code changes. Once, developers are done implementing, they need to cut the first branch providing a version. If this happens, now, AppFactory should have done everything for you. Yes, it is building the code and deploy it on the Dev env. If you go to, Life-cycle Tab as a developer working on this project, then, you'll see an application is up and running on the Dev env. So, now it has come to the life-cycle stage.

Application on the Life-Cycle

The following diagram shows the whole story of ALM in AppFactory.


As a simple description, the blue-boxes represent env's. The arrows represent either promote an app or demote from an env to another. While these promoting/demoting happen, mainly, visibility of the application changes among the people working on the app.

Hope you'll enjoy with WSO2-AppFactory