Skip to content

RestComm/statistics-service

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

24 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Try Restcomm Cloud NOW for FREE! Zero download and install required.

All Restcomm docs and downloads are now available at Restcomm.com.

Restcomm Statistics Service

The Restcomm Statistics Service is a web application that processes statistics collected on the modules restcomm platform.

This application persists the collected data into a database and displays the results via a dashboard or through a rest api.

This manual describes step by step to install the application on a OpenShift environment.

Installation Instructions (Openshift Enviroment)

First, you need to create an account on OpenShift environment. (https://www.openshift.com/).

Step 01 - Create a New Application

Click on link create you first application now...

Create a new application

Step 02 - Select Wildfly 10 App Server (current version)

Create a new application

Step 03 - Define your Public URL

Create a new application

continue...

Create a new application

And click on Create Application button.

After that, it will be presented the entire information of the new environment.

Create a new application

Step 04 - Add MongoDB

Click on Continue to the application overview Page

Create a new application

And select Add MongoDB 2.4 (current version)

Create a new application

Now your enviroment are complete!

Create a new application

Step 05 - Generate Public SSH KEY

Now you need to create a public SSH Key and add to your environment (for remote access).

Example of Generating Public SSH Key (linux enviroment).

Create a new application

Put the generated key in Openshit Enviroment. Click in Settings menu and add public key button.

Create a new application

Step 06 - Create Application Admin Account

Now you need to create an application administrator account to access the web module. The web portal uses JAAS API to perform user authentication.

Access you enviroment using ssh:

ssh [you enviroment url]

Go to wilfly/bin directory

cd wildfly/bin

Now you need run ./add-user.sh script

Create a new application

  1. Select (b) Application User

  2. Define your username;

  3. Define your password;

  4. Define your group name called Administrator. This is very important because the web module uses this group internally.

Step 07 - Deploy Statistics Web Module

In this step you need make a git clone of https://github.com/RestComm/statistics-service and put .war file into deployments folder.

Finally - Access the web portal

Create a new application

Put you username and password.

Create a new application