Need a special offer?Find out if your project fits.
+
All documentation
  • Introduction
  • Connecting to Data Source
    1. Supported data sources
    2. Connecting to other data sources
  • Browser compatibility
  • Documentation for older versions
  • Configurations reference

    This guide describes the available configurations for Flexmonster Accelerator. To install the Accelerator, refer to the installation guide.

    Available configurations

    Flexmonster Accelerator can be configured in the flexmonster.config file. It contains the following parameters:

    Parameter Description
    CONNECTION_STRING The connection string for Microsoft Analysis Services. Example: Data Source=localhost;. This parameter is required.
    PORT optional The port number for the proxy service endpoint.
    Default value: 50005.
    CACHE_ENABLED optional Indicates whether caching is enabled.
    Default value: true (caching is enabled).
    CACHE_MEMORY_LIMIT optional the maximum memory size available for caching (in MB).
    Default value: 0 (unlimited).
    GZIP optional Indicates whether server response compression is enabled.
    Default value: true (compression is enabled).
    HTTPS optional Indicates whether the HTTPS connection is enabled.
    Default value: false (HTTPS is disabled).
    WINDOWS_AUTH optional Indicates whether Windows authentication is enabled.
    Note: when you are changing WINDOWS_AUTH from true to false, the Windows service restart is needed to apply the changes.
    Default value: false (Windows authentication is disabled).
    ALLOW_ORIGIN optional The origin from which the server accepts the requests.
    If ALLOW_ORIGIN is set to *, requests from all origins are accepted. Note that if authentication is enabled (WINDOWS_AUTH=true), * cannot be set as the origin. In this case, specific origins must be defined. Several origins can be defined as follows: ALLOW_ORIGIN = http://localhost, https://example.com.
    Default value: *.

    Azure Analysis Services configurations

    To connect to Azure Analysis Services with Flexmonster Accelerator, additionally specify the following parameters:

    Parameter Description
    AZURE_AUTHORITY The Azure authority URL (e.g., https://login.microsoftonline.com/<your_domain>). Learn more in the Microsoft guide.
    AZURE_CLIENT_ID The client ID of the service principal registered in Azure Active Directory.
    AZURE_CLIENT_SECRET The client secret of the service principal registered in Azure Active Directory.

    Setting configurations

    Flexmonster Accelerator can be configured via the flexmonster.config file. To open this file, use Flexmonster Accelerator Manager:

    Step 1. Run Flexmonster Accelerator Manager:

    fm-accelerator-manager

    Step 2. Click the Config button to open the flexmonster.config file.

    Step 3. Set the necessary configuration parameters.

    Step 4. Restart the Accelerator using the Accelerator Manager: click the Stop button and then click Start.

    When the configuration is finished, you can close Flexmonster Accelerator Manager.

    What’s next?

    You may be interested in the following articles: