Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Additionally, in the admin panel of the billing system, you'll need to add a User for each Reseller in the System→Users section. For each such user, set the API - Client Portal Role. From settings set up there, you will also get a login, password, and CoreAPI token values for the customer-params.json file.

Panel
borderColor#ffffb3
bgColor#ffffb3
borderWidth2px

(warning)   Attention

Please note that for correct work each Reseller has to have its own separate redis databases (redisMain and redisCache are at db 1 and 2 respectively by default). Redis instance supports 16 databases (0-15 in numeric values) by default. You can increase the number of available databases in Redis config if needed.

Configuration Options

As mentioned above, you can use /opt/jerasoft/vcs/portal-backend/config/customer-params.default.json file as a reference for all available parameters. The table below describes each of them. Please put all settings into your config file and do not change customer-params.default.json as it will be overwritten on the system update.

...

Setting Name

Description

Example

localeDefault locale to start with. Available settings: en, ru
"en"
perPageQuantity of rows to display per page. Allowed values: an integer from 1 to 1000
10
roundRatesQuantity of digits after the decimal point for display of rates. Allowed values: an integer from 0 to 16
4
roundAmountsQuantity of digits after the decimal point for display of amounts. Allowed values: an integer from 0 to 16
2

Date and Time Formatting

The following settings are located under "dateTimeConfig" key of the configuration file. Please refer to the following guide for a list of possible values.

Date and Time Formatting [section: dateTimeConfig]

Setting Name

Description

Example

monthFormat
Format string to display "Month Year" strings
"F Y"
dateFormat
Format string to display dates
"m/d/Y"
dateTimeFormat
Format string to display dates with time
"m/d/Y, h:i A"

...

Setting Name

Description

Example

dateRangeDefault
Default dates range in the filter, in days. Allowed values: an integer from 1 to 90
30

Section: Usage History / Detailed

...

Setting Name

Description

Example

redisMain.hostnameThe hostname or IP address to use for connecting to the Redis server.
"localhost"
redisMain.portThe port to use for connecting to the Redis server.
6379 
redisMain.databaseThe Redis database to use.
1
redisCache.hostnameThe hostname or IP address to use for connecting to the Redis server.
"localhost"
redisCache.portThe port to use for connecting to the Redis server.
6379 
redisCache.databaseThe Redis database to use.
2


Knowledge Base Articles

Content by Label
showLabelsfalse
spaces+KB
showSpacefalse
sortmodified
reversetrue
cqllabel = "paypal" and space = "KB"
labels+stats_summary