Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Web applications should be  added and published in App Manager for users to start using them. Details of the process of adding a web application to App Manager is You can manage the lifecycle of Web applications you create in WSO2 App Manager as described below.

Table of Contents

...

Follow the steps below to a dd the web application to App Manager.

Info

Adding a web application to App Manager doesn’t mean that it is hosted in App Manager. It can be hosted in any server, and the URL will be exposed through App Manager.

  1. Log in to the publisher.
  2. Click Add Web App.
  3. Enter details of the web app as follows and click Add.

Image Removed

The fields on which you need to enter the values accordingly when adding a web application are described below.

 

...

Name of the field

...

Description

...

Name

...

Name of the application. This is the field, which will be used as the SAML2 issuer at the time of logging in.

...

Context

...

Sub context of the web application. Gateway URL of the web application contains the context that should be provided in this field.

...

Version

...

maxLevel3
 

Excerpt

Introduction to app lifecycle management

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.

App lifecycle management action definitions

 You can carry out the following actions in the application approval process.

ActionDefinition
Submit

Creator submits newly created apps to be reviewed.

Approve

The reviewer approves apps that pass the review process.

Reject

The reviewer rejects mobile apps that fail the review process.

Publish

The publisher publishes approved apps. All published apps are visible in the App Store.

Unpublish

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.

Depreciate

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.

Retire

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.

App lifecycle management based on user roles

The transitions in the app approval process, together with the permissions needed at each state are listed as follows:

Transition ProcessAllowed RolesAllowed Actions
Creating a new appAdministrator
Internal/Publisher
Publish
Submitting newly created apps

Administrator
Internal/Publisher

Submit
Reviewing submitted appsAdministrator
Internal/Review
Approve/
Reject 
Publishing approved appsAdministrator
Internal/Publisher
Publish
Re-submitting rejected appsAdministrator
Internal/Publisher
Submit
Unpublishing published appsAdministrator
Internal/Publisher
Unpublish
Re-publishing unpublished appsAdministrator
Internal/Publisher
Publish
Deprecating unpublished appsAdministrator
Internal/Publisher
Deprecate
Deprecating published appsAdministrator
Internal/Publisher
Deprecate
Retiring deprecated appsAdministrator
Internal/Publisher
Retire

App lifecycle management states

After adding the application to the publisher, you need to promote its lifecycle state to published state, to publish it as follows.

Image Modified 

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 'Created'.

...

You can change the state

...

to 'In-Review',

...

 which will automatically initialize

...

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.

Once

...

an application reaches

...

the '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. 

After promoting the lifecycle state of the added web application, you need to configure security for it. For information on configuring security for web Web applications, see Securing with SAML2 SSO.