Hi all,

While doing and offline chat with Hasitha we came across the problem of
deploying the appmgt.zip by several people in same App Server tenant. So
the solution needs following requirements.

- Developers need a isolated environment for testing
- There is WSO2 AS, which is an inherent MT cat ridge as well as there are
PHP which is a NoneMT Cartridge

So I had a offline chat with Azeez as well, and our platform isolation
level is tenant. So here is the initial design thoughts,

*For WSO2AS*
- Isolated environment is the Tenant
- For each forked repo create a temporary tenant for developers to do the
testing

*For NoneMT Cartridges*
- Isolated environment is the Cartridge
- For each forked repo create a instance for developers to do the testing

*Implementation*

Deployment - According to our AF architecture we can plugin Deployers. So
the suggestion is to have a special deployer for WSO2 AS that creates a
temporary tenant for each forked repo. And for NoneMT Cartridges improve
the existing "JenkinsArtifactDeployer" to create an instance and do the
deployment. AF Cartridge is NoneMT.

*S2Git Structure*
For master - /stage/server/tenantid.git
For forked repo - /stage/server/tenantid-username.git

The temporary tenanted for WSO2AS could be "tenantid-username".

*Implementation required for appmgt development*
Only create a S2Git repo in above format and commit artefact there

All this is discussed because we need to have an overall  robust plan for
moving forward and implement what is only required for achieving developing
appmgt in the AppCloud.

WDYT? Improvements, suggestions and better approaches are all welcome.

thanks,
dimuthu


On Wed, Jan 7, 2015 at 10:59 AM, Hasitha Weerasinghe <[email protected]>
wrote:

> Hi All,
> I'm in the process of developing deployment for forked repositories.
>
>
> *Problem Definition*
>
> We cannot deploy and test code written on forked repositories in the cloud.
>
>
> *Solution*
>
> Developer edit the forked repository from the Codenvy and then build it
> and commit it to S2gitblit. Then the developer can test the application;
> afterwards can do all the commits to the master.
>
> Basically it’s similar to giving a Test Environment for each and every
> developer before doing changes to the master repository.
>
>
> pfb the diagrams.
>
> --
> *Hasitha Weerasinghe*
> *Software Engineer Intern - WSO2 <http://wso2.com/> *
> Mobile : +94 776 33 6626
> Email  :  [email protected]
>
>
>
>
>


-- 
Dimuthu Leelarathne
Architect & Product Lead of App Factory

WSO2, Inc. (http://wso2.com)
email: [email protected]
Mobile : 0773661935

Lean . Enterprise . Middleware
_______________________________________________
Architecture mailing list
[email protected]
https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture

Reply via email to