Enterprise data can be a collection of facts (values or measurements), numbers, observations and descriptions. WSO2 App Factory provides facility to store, manage and analyze data by connecting to WSO2 Business Activity Monitor (BAM). The BAM provides the following statistical dashboards for your enterprise's big data:
- Application portfolio: information about applications, versions per lifecycle stage, owner, type etc.
- Quality: Analyze the quality of your developments through visualizations of issues and build statuses.
- Velocity: The number of builds and commits that happen.
- Efficiency: See the efficiency and resource utilization through visualizations such as the number of apps per member, number of members per app, user registration stats etc.
- Each dashboard has a time slider at the top. You can manually select a time period and the dashboard gadgets will be redrawn accordingly.
An example of the Application Portfolio tab of the dashboard is given below:
Configure WSO2 App Factory with WSO2 BAM
In this section, you configure the App Factory with BAM. WSO2 BAM comes by default with your App Factory build.
See Installing On-Premise to download and set up the App Factory.
<AF_HOME>/repository/conf/appfactory/appfactory.xmlfile and configure the
<BAM>element. For example,
The elements in the above sample configuration are explained below. You can use this information to edit the file according to your requirements:
Defines whether data publishing is enabled or disabled in App Factory.
Server URL of the remote BAM server used to collect statistics. Must be specified in
protocol://hostname:portformat. Can specify multiple URLs in a comma separated list. For example, tcp://localhost:7613,tcp://localhost:7614
Administrator username to the remote BAM server.
Administrator password to the remote BAM server.
Child element <Url> defines the server in which the dashboard is running. This is the WSO2 User Engagement Server (UES) that is shipped with the App Factory. For example,
Enable stats publishing from the issue tracker, which is deployed in the build server to publish stats to BAM by editing the
Enable and configure GitBlit to publish data to BAM using the BAM publishing related configs in
<GITBLIT_HOME>/data/gitblit.propertiesfile. For example,
The properties of the above example are described below:
Defines whether data publishing is enabled or disabled in Gitblit. Set this attribute to true to enable and false to disable.
Endpoint URL of the data stream definition.
Endpoint URL of data publishing.
Admin username of the BAM server
Admin password of the BAM server
Stream name in BAM to which the statistics should be published
Stream version in BAM to which the statistics should be published
- Restart the system.
- On the console, click the Dashboard icon.
The dashboard opens in a separate tab.