Learn How to Dynamically Add New Application Types, Runtimes to WSO2 App Factory

13
Software Engineer Pirinthapan Mahendran Learn How to Dynamically Add New Application Types, Runtimes to WSO2 App Factory Software Engineer Danushka Fernando 1

Transcript of Learn How to Dynamically Add New Application Types, Runtimes to WSO2 App Factory

Software Engineer

Pirinthapan Mahendran

Learn How to Dynamically

Add New Application Types,

Runtimes to WSO2 App

Factory

Software Engineer

Danushka Fernando

1

**

About the Presenters

๏ Danushka Fernando๏ Software Engineer๏ Member - WSO2 AppFactory team๏ Email : [email protected]

๏ Pirinthapan Mahendran๏ Software Engineer๏ Member - WSO2 AppFactory team๏ Email :[email protected]

2

**

Contents

๏ Introduction to App Types & Runtimes

๏ Relationship between App Types & Runtimes

๏ Adding App Types & Runtimes

๏ Need for Dynamically Adding App Types & Runtimes

๏ Tested App Types & Runtimes

๏ Demonstration

3

**

Introduction to App Types & Runtimes

๏ It’s a configuration

๏ Apptype๏Name๏ Processor Class๏Artifact Extension๏ Buildable๏Uploadable๏ Build Job Template๏ Runtime(s)

๏ Runtime๏Name๏ Cartridge details (alias, type, policies, etc..)

4

**

Relationship between App Types & Runtimes

๏ All application types need a runtime to run the application

๏ E.g. web applications - Tomcat, WSO2 Application Server, JBOSS, etc.

5

**

Adding App Types & Runtimes

๏ Create an Application Type

๏ Create a Runtime

๏ Implement processor class (if needed)

๏ Configure PaaS → Stratos / WSO2 Private PaaS - Create cartridge, Policies, etc.

6

**

Need for Dynamically Adding App Types & Runtimes

๏ How it was done in previous releases

๏ How we improved

๏ Key Benefits

7

**

Tested Application Types & Runtimes ๏ PHP - Apache Server

๏ .NET - IIS

๏ Node JS

8

**

Demonstration

9

Ref: https://fonolo.com/weekly-demo/

*

In this demo I will show…

1. How to add a new apptype to WSO2 AppFactory by

deploying apptype archive.

2. Configuring jenkins slave node.

3. Defining and deploying the runtime in PaaS layer.

Demonstration

10

**

Questions

11

Ref: http://rightquestion.org/blog/inquiring-minds-4/

**

More Information !

๏ http://wso2.com/cloud/app-factory/๏ https://docs.wso2.com/display/AF210/WSO2+App+Fac

tory+Documentation๏ https://cloud.wso2.com/๏ https://github.com/wso2/product-

af/blob/master/modules/components/org.wso2.carbon.appfactory.core/src/main/java/org/wso2/carbon/appfactory/core/apptype/ApplicationTypeProcessor.java

๏ https://docs.google.com/document/d/1Vh_KInYnDbmPsbPut4s2BGow2i3dDGeVbLO7M98erVw/edit?pli=1

12

Contact us !

13