Main properties file
The sicrm.properties file is in the bin directory.
This table show the configurable parameters used in SICRM:
Name | Description | Example of usage |
---|---|---|
port | Port of the service. If property is not set, then default port 8080 is used. | port=9000 |
sslport | SSL port. Disabled by default. | sslport=9001 |
keystore | SSL key store. Default to empty string. | keystore=/home/ec2-user/.keystore |
dburl | Connection to the database. If property is not set, then in-memory database is used. | dburl=jdbc:postgresql://localhost/crm_test?user=crm&password=admin |
dbschema | Database schema. Default value is public. | dbschema=schema_la
|
armrebuild | Specify whether transaction history is picked up on re-start or
ignored. If property is not set, then default value false is used. It
must be used together with dburl
and transactions should be already loaded into product_history db
table.
If it is false, then the content of the product_history table is cleared on re-start. |
armrebuild=true |
exclude | NLP: Specify True to exclude purchased products from recommendations.
If property is not set, then default value false is used. |
exclude=true |
rationale | NLP: Number of purchased products given as rationale for each
recommendation.
Required. |
rationale=2 |
maxarmsize | Total number of products handled by SICRM. Currently, up to 1000 products supported.
Higher number can cause memory issues and the application will not
start.
Required. |
maxarmsize=100 |
lsfilepathname |
PL: Purchase Likelihood file path name. Required. |
lsfilepathname=/tmp/lsparams.conf |
resolutionfilepathname | File holds the mapping from alphanumeric product ID into a numeric
index. Used for performance reasons, keep synced with product_mapping
database table. If a file is not specified, then the database table
product_mapping is used.
Required if dburl is not specified. |
resolutionfilepathname=/tmp/100prod.csv |
log4j.configurationFile | File used for logging by Apache Log4j. | log4j.configurationFile=./../log4j2.xml |
debug | You can switch on and off debug output. Default value is false. | debug=true
|
debugsizepushrequest | Number of transactions logged for pushing the request when debug=true. Default value is 2. | debugsizepushrequest=5 |
sparsematrix | You can select matrix implementation algorithm. Default value is false. | sparsematrix=true
|
realtime | If set to false, then support of real-time matrix calculation to improve performance is disabled. Default value is true. | realtime=false
|
userdb | You can link to the users db in SQLite format.
See User management. |
userdb=jdbc:sqlite:c:/userdemo.sqlite |