This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.
Discovering Web Applications
The application discovery feature enables you to discover (retrieve the list of applications) from an application server, and import them as proxy applications in a few steps. All the necessary default settings are pre-populated by the discovery system so that you do not need to manually enter the information.
WSO2 AppM 1.0.0 release only supports discovering Web applications from WSO2 Application server, and is fully tested with WSO2 AS 5.2.1.
Configuring WSO2 Application Server permissions
Follow the steps below to provide a set of minimal permissions to query WSO2 AS and retrieve the applications hosted in it.
Download WSO2 AS, and start the server. For instructions on starting WSO2 AS server, see Getting Started.
Create a user role in WSO2 AS with the following permissions as follows. For instructions on creating a user role in WSO2 AS, see Configuring Users and Roles.
set permissions to the user role in WSO2 ASCreate a user by assigning the role created in the above step.
Discovering Web applications
Follow the steps below to discover applications hosted in WSO2 AS from WSO2 AppM.
Log in to the App Publisher of WSO2 AppM as a user with the
internal/publisherrole using the following URL: https://<AppM_HOST>:<AppM_PORT>/publisher
Hover the mouse on the Web Applications button, and click Discover from Server as shown below.
Enter the required details as shown below.
The parameters of the above screen are described below.If the given details are correct, the available applications will be listed as shown below. You can change the created context path if required by changing the value in the Proxy Context column.
list of Web apps hosted in WSO2 ASClick Create Proxy App to trigger an application import procedure. Upon successful creation of the application you view a pop-up notification as follows.
notification message on successful creation of the appHover the mouse on the Web Applications button, and click All Web Applications. You view the created application in the Web Applications list. Now, authorized users can review, approve, and publish the Web application.