Hi all, *Update on the PHP app support in Appfactory:*
Since the subscription to the PHP cartridge should be incurred upon the deployment of the PHP artifacts, I have set a flag *subscribeOnDeployment* in the app types definition. If the application is to be subscribed at the tenant creation this is set to *false *S4 gitblit repository creation and Stratos subscription are invoked at the tenant creation. If the subscription should be done at the deployment, flag is set to *true *and these steps are skipped and follows the workflow below . 1. Application Creation and Building Application creation would be similar to the app types that are already supported in Appfactory. A git repository would be created in gitblit and jenkins would build the application. 2. Deployment If a particular app is not subscribed already, i. Repository Creation in S4 Gitblit If subscribeOnDeployment flag is set to true for a particular app type, repository is created in S4 Gitblit upon deployment. The successfully built artifacts of the each version of the application is committed to this repository. ii. Subscription to the PHP cartridge If subscribeOnDeployment flag is set to true for a particular app type, after the successful creation of the Gitblit repository, Appfactory would send a subscription for a php cartridge to the Stratos manager upon deployment. 3. Launching the Application Since the IPs of the spawned instances are dynamic and cannot be obtained without without an LB, when launching have to take a different approach than the existing app types. Any insight on this is welcome. Thanks, Madhawa -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726* Blog* - *classdeffound.blogspot.com On Thu, Jul 31, 2014 at 4:04 PM, Dimuthu Leelarathne <[email protected]> wrote: > Hi, > > What we need would be EC2, because we have to push the change to cloud > with our milestone pack. > > dimuthu > > > On Thu, Jul 31, 2014 at 2:39 PM, Lakmal Warusawithana <[email protected]> > wrote: > >> IceHouse remove direct docker support in Nova compute and coming with >> OpenStack Heat. So we can't used in Stratos. >> >> >> _______________________________________________ >> Architecture mailing list >> [email protected] >> https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture >> >> > > > -- > 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 > > -- Regards, *Madhawa Bandara* Software Engineer WSO2, Inc. lean.enterprise.middleware Mobile - *+94777487726 <%2B94777487726>* Blog* - *classdeffound.blogspot.com
_______________________________________________ Architecture mailing list [email protected] https://mail.wso2.org/cgi-bin/mailman/listinfo/architecture
