You can manage the lifecycle of mobile applications you create in WSO2 App Manager as described below.
The application (app) approval process involves all the states in an application life cycle from creation to retirement. Your actions are restricted based on the permissions that are assigned to you. The following topics illustrate the application approval process. You can carry out the following actions in the application approval process. Creator submits newly created apps to be reviewed. The reviewer approves apps that pass the review process. The reviewer rejects mobile apps that fail the review process. The publisher publishes approved apps. All published apps are visible in the App Store. The publisher un-publishes apps if required. Unpublished apps are temporarily removed from the App Store, but are supported by App Manager. Furthermore, you can re-publish these apps to the Store whenever needed. The publisher deprecates mobile apps. All deprecated apps are automatically removed from the Store, to stop all new installations. However, these mobile apps are supported by App Manager. The publisher retires apps. Retired apps are not supported by App Manager in the future. In such instances, all retired apps are automatically removed from the Store, to stop all new installations. The transitions in the app approval process, together with the permissions needed at each state are listed as follows: Administrator After adding the application to the publisher, you need to promote its lifecycle state to published state, to publish it as follows. Once an application is added to App Manager, it is added to the registry as an asset, and a lifecycle is attached to the application. The lifecycle state for a newly created application is Once an application reaches the Introduction to app lifecycle management
App lifecycle management action definitions
Action Definition Submit Approve Reject Publish Unpublish Depreciate Retire App lifecycle management based on user roles
Transition Process Allowed Roles Allowed Actions Creating a new app Administrator
Internal/PublisherPublish Submitting newly created apps
Internal/PublisherSubmit Reviewing submitted apps Administrator
Internal/ReviewApprove/
Reject Publishing approved apps Administrator
Internal/PublisherPublish Re-submitting rejected apps Administrator
Internal/PublisherSubmit Unpublishing published apps Administrator
Internal/PublisherUnpublish Re-publishing unpublished apps Administrator
Internal/PublisherPublish Deprecating unpublished apps Administrator
Internal/PublisherDeprecate Deprecating published apps Administrator
Internal/PublisherDeprecate Retiring deprecated apps Administrator
Internal/PublisherRetire App lifecycle management states
'Created'
. You can change the state to 'In-Review',
which will automatically initialize a work flow event. Once an admin user approves the work flow event, then lifecycle state moves to the 'Published'
state and will appear in the Store for you to consume. This behavior can be extended according to the user requirement with the provided extension points.'Published'
state, an API resource will be created under <PRODUCT_HOME>/repository/deployment/server/synapse-configs/default/api/
directory. Name of the file will be {app created user}–{app name}_v{version}.xml
. This is the REST endpoint, which will be invoked once the gateway URL is accessed.