Changing application default values
Default URLs and authentication to an iHub server are set in the main.js file of the project. You can build the application for use with your own iHub server by changing the values in this file. You can also change the file path location of BIRT resources used in the application in this file.
The following values are contained in this file:
*ihubHost , you can change this value using the following URL format:
aviatioexample.actuate.com
*ihubPort, you can change the port to access the actuate JSAPI library:
:8700
*restPort, you can change the port to access the REST API endpoints:
\\:5000
*username, the user name to log in to the iHub server:
flightdemo
*password, the password to log in to the iHub server:
Demo1234
*report_refresh_Time, number of minutes before requesting new data:
15
*idle_time, number of minutes to maintain a connection to the iHub server:
20