27
App Lifecycle Management with WSO2 App Manager for Hassle-Free Onboarding Technical Lead Rushmin Fernando

App Lifecycle Management with WSO2 App Manager for Hassle-Free Onboarding

  • Upload
    wso2

  • View
    294

  • Download
    0

Embed Size (px)

Citation preview

App Lifecycle Management with

WSO2 App Manager for

Hassle-Free Onboarding

Technical Lead

Rushmin Fernando

WSO2 App Manager

1

Publish

Subscribe / Install

The Big Picture

2

Lifecycle management ?

Created

Published

Publish

Publisher

ActionState Permissions

Legend

3

Submit for review

initial

created

in-review

approved

rejected

publishedunpublished

deprecated

retired

Create

Submit for review Reject

Approve

Publish

Unpublish Deprecate

Retire

Retire

App Manager’s way of doing it

4

Re-cycle

Re-publish

Demo

5

Meet the team

Martin Developer

Tim Publisher

Beth User

6

initial createdCreate

It begins … Martin creates an app

7

Created state

Attributes

● A playground for the developer

Available actions

8

Submit for review

initial createdCreate

Submit for review in-review

9

Submits for review ...

In-review state

Available actions

10

Reject

Approve

initial createdCreate

Submit for review

in-review rejected

Reject

Submit for review

11

App gets rejected :-(

Rejected state

Attributes

● Developer can try again

Available actions

12

Submit for review

initial createdCreate

Submit for review

rejectedApprove

Reject

approved

Submit for review

in-review

13

Re-submission works :-)

Approved state

Attributes

● About to publish

Available actions

14

Publish

initial createdCreate

Submit for review

rejectedApprove

Reject

approved

published

Publish

Submit for review

in-review

15

App is live !

Published state

Attributes

● Users can subscribe

● Developer can’t do further changes

Available actions

16

Publish

17

Should it stay live anymore ?

initial createdCreate

Submit for review

rejectedApprove

Reject

approved

published

deprecatedunpublishedPublish

Unpublish Deprecate

in-review

Submit for review

Unpublished state

Attributes

● Not visible in the store

● Subscribed users can’t access the app

● Can be re-published

Available actions

18

Retire

Deprecated state

Attributes

● Not visible in the store

● Subscribed users can access the app

● Can’t be re-published

Available actions

19

Retire

20

We will miss you ;-(Submit for review

initial

created

in-review

approved

rejected

publishedunpublished

deprecated

retired

Create

Submit for review Reject

Approve

Publish

Unpublish Deprecate

Retire

Retire

Re-cycle

Re-publish

Retired state

Attributes

● End of the life cycle

Available actions

● None

21

22

What can go wrong if there is no lifecycle management ?

● Martin won’t be able to maintain a draft version until the app is ready to be reviewed

● Tim won’t be able to govern the quality of the published apps

● Martin might accidently edit a published app

● Beth might subscribe to an app which is not meant to be subscribed anymore

● Tim won’t be able to gracefully take his app down when the time comes

Not happy with the existing lifecycle management process ?

Extend !

23

Extend the approval workflow

/_system/governance/appmgt/applicationdata/workflow-extensions.xml

24

org.wso2.carbon.governance.registry.extensions.interfaces.Execution

Extend the life cycle transition

Carbon console => Extensions => Configure => Lifecycles

25

26

Thank you !