Transcript
Page 1: Creating Environment Specific Configurations with WSO2 Developer Studio

Environment Specific Artifacts withWSO2 Developer Studio

Awanthika Senarath

Software Engineer, WSO2 Inc.

Rajeeva Uthayasangar

Software Engineer, WSO2 Inc.

Page 2: Creating Environment Specific Configurations with WSO2 Developer Studio

OutlinePresentation on : ❖ Introduction to WSO2 Developer Studio 4.0.0❖ Importance of environment specific artifacts❖ Recommended approach develop and maintain environment specific artifacts❖ Deployment model of environment specific artifacts

Demo On :❖ Creation and Maintenance of environment specific artifacts using WSO2 Developer

Studio❖ Deploying artifacts

Q &A

Page 3: Creating Environment Specific Configurations with WSO2 Developer Studio

WSO2 Developer Studio 4.0.0❖ Introduction to WSO2 Developer Studio

➢ Developer Studio has moved into a kernel based architecture from 4.0.0

onwards

➢ What should the users know in migrating to WSO2 Developer Studio 4.0.0

Page 4: Creating Environment Specific Configurations with WSO2 Developer Studio

WSO2 Developer Studio 4.0.0❖ What is the new architecture..

➢ A kernel based architecture to better serve the tooling support for WSO2

carbon based products.

❖ What should I know as a Developer Studio user?

➢ How to Download and configure your own Developer Studio ?

Page 5: Creating Environment Specific Configurations with WSO2 Developer Studio

Using WSO2 Developer Studio 4.0.0

Page 6: Creating Environment Specific Configurations with WSO2 Developer Studio

Set up you own Developer StudioDownload Kernel + product plugin

composite zip (eclipse + kernel + product tooling) Install additional tooling on the go

Download Kernel + eclipse Install product tooling on the go

Download Kernel only

composite zip (eclipse + kernel) Install product tooling on the go

Existing eclipse instance ?Install kernel / product tool(P2/ download zip and install )

Install additional tooling on the go

Page 7: Creating Environment Specific Configurations with WSO2 Developer Studio

Environment Specific Artifacts

❖ Why do we need environment specific artifacts ?

Page 8: Creating Environment Specific Configurations with WSO2 Developer Studio

Environment Specific Artifacts❖ Better maintenance and organization of artifacts

❖ Reduce effort of code repetition for different environments.

Page 9: Creating Environment Specific Configurations with WSO2 Developer Studio

WSO2 Recommended approach

❖ Small scale developments - Maven placeholder based artifacts

➢ Single capp based simple artifacts with one or two endpoint definitions

➢ Endpoint URLs can be configured during build time

❖ Large scale developments - Greg based registry artifacts for dynamic content

➢ multiple capps and multiple endpoints

■ with mounted registry (shared) - different resource paths for resources

■ with separate registry + ESB instances - same resource path for

resources

Page 10: Creating Environment Specific Configurations with WSO2 Developer Studio

Large Scale Deployments

ESB Artifacts

Greg Artifacts

Greg Artifacts

Greg Artifacts

DEV Endpoint

PROD Endpoint

QA Endpoint

Page 11: Creating Environment Specific Configurations with WSO2 Developer Studio

Deployment

You have to use shared registry with mounting to facilitate this without duplicating your ESB artifacts.If you use separate registry paths in a shared registry without mounting, you will have to maintain duplicate ESB artifacts.

Page 12: Creating Environment Specific Configurations with WSO2 Developer Studio
Page 13: Creating Environment Specific Configurations with WSO2 Developer Studio
Page 14: Creating Environment Specific Configurations with WSO2 Developer Studio

Demoo Sample Use-case

oWSO2 Developer Studio download and configuration

oWSO2 ESB Artifact Creation

oWSO2 Greg Artifact Creation

oMaintenance of Environment Specific artifacts

Page 15: Creating Environment Specific Configurations with WSO2 Developer Studio

Questions?

Page 16: Creating Environment Specific Configurations with WSO2 Developer Studio

Contact us !


Recommended