Configuration Settings Overview
Overview
A sample configuration file with inline documentation explaining each section
Details
A standard config file is shown below with inline comments indicating what each section is for. Note, when deploying a file like this, the EDIT_THIS sections should be replaced with actual values.
## Database Connection Parameters# Configrations for MySQL and require editing database connection paramse, username, and password#hibernate.dialect=org.hibernate.dialect.MySQLDialecthibernate.connection.useUnicode=truehibernate.connection.characterEncoding=UTF-8hibernate.connection.charSet=UTF-8javax.persistence.jdbc.driver=com.mysql.jdbc.Driverjavax.persistence.jdbc.url=jdbc:mysql://127.0.0.1:3306/refsetdb?useUnicode=true&characterEncoding=UTF-8&rewriteBatchedStatements=true&useLocalSessionState=truejavax.persistence.jdbc.user=EDIT_THISjavax.persistence.jdbc.password=EDIT_THIS
## JPA settings# Used by Java JPA/Hibernate to improve performance#hibernate.show_sql=falsehibernate.format_sql=truehibernate.use_sql_comments=falsehibernate.jdbc.batch_size=500hibernate.jdbc.default_batch_fetch_size=32hibernate.order_inserts=truehibernate.order_updates=truehibernate.jdbc.batch_versioned_data=truehibernate.id.new_generator_mappings=true
## Envers auditing setting# Set to false if history is not important#hibernate.listeners.envers.autoRegister=true
## Connection pooling parameters# c3p0 config - http://www.mchange.com/projects/c3p0/# For optimizing the connection pool, generally no need to change#hibernate.connection.provider_class=org.hibernate.connection.C3P0ConnectionProviderhibernate.c3p0.acquire_increment=1hibernate.c3p0.max_size=64hibernate.c3p0.min_size=5hibernate.c3p0.timeout=3600hibernate.c3p0.idle_test_period=1800hibernate.c3p0.testConnectionOnCheckin=truehibernate.c3p0.maxConnectionAge=3600hibernate.c3p0.preferredTestQuery=select 1;
## Lucene index base directory# Choose where you want Lucene indexes to live.#hibernate.search.default.indexBase=C:/refset/data/indexes/hibernate.search.default.directory_provider=filesystem
## For integration tests, this should be enabled to force background# name lookup processes to finish before proceeding##lookup.background=false
## Validation Service Settings# Multiple are allowed# Configure universe of installed validation checks.# Within the application, these are still choosable-by-project #validation.service.handler=DEFAULTvalidation.service.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.validation.DefaultValidationCheck
## Workflow listener# - Multiple are allowed# - Not really used at the moment, forward looking feature# - Can be implemented to respond to life-cycle events in the application#workflow.listener.handler=DEFAULTworkflow.listener.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.DefaultWorkflowListener
## Workflow action handler# - Multiple are allowed# - Implementations of workflow#workflow.action.handler=DEFAULT,SNOMEDworkflow.action.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.DefaultWorkflowActionHandlerworkflow.action.handler.SNOMED.class=org.ihtsdo.otf.refset.jpa.services.handlers.SnomedWorkflowActionHandler
## Identifier assignment handler# - Only one is allowed# - This is the algorithm that computes model object identifiers.# - The default selection is an integration with the IHTSDO component identifier service.# - Configure the URL of the REST API as well as username/password#identifier.assignment.handler=DEFAULTidentifier.assignment.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.IhtsdoComponentIdentifierServiceHandleridentifier.assignment.handler.DEFAULT.url=https://dev-cis.ihtsdotools.org/api identifier.assignment.handler.DEFAULT.userName=EDIT_THISidentifier.assignment.handler.DEFAULT.password=EDIT_THIS
## Handlers for accessing terminology# Handler for accessing calls related to the underlying terminology edition/version# Configure the defaultUrls and other parameters#terminology.handler=BROWSER,SNOWOWL,SNOWOWL-SEterminology.handler.BROWSER.class=org.ihtsdo.otf.refset.jpa.services.handlers.BrowserTerminologyHandlerterminology.handler.BROWSER.defaultUrl=https://sct-rest.ihtsdotools.org/apiterminology.handler.BROWSER.apiKey=EDIT_THISterminology.handler.SNOWOWL.class=org.ihtsdo.otf.refset.jpa.services.handlers.SnowowlTerminologyHandlerterminology.handler.SNOWOWL.defaultUrl=https://authoring.ihtsdotools.org/snowowl/snomed-ct/v2terminology.handler.SNOWOWL.authHeader=Basic EDIT_THISterminology.handler.SNOWOWL.apiKey=EDIT_THISterminology.handler.SNOWOWL-SE.class=org.ihtsdo.otf.refset.jpa.services.handlers.SnowowlTerminologyHandlerterminology.handler.SNOWOWL-SE.defaultUrl=https://se-authoring.ihtsdotools.org/snowowl/snomed-ct/v2terminology.handler.SNOWOWL-SE.apiKey=EDIT_THIS
## Switch for enabling the lookup of concept names and active statuses# on refset/translation import or completion of migration. Should be# set to true for prod environments. Can be false for dev environments# to improve performance.#terminology.handler.DEFAULT.assignNames=true
## Refset I/O handlers# - Multiple are allowed# - Supported formats and handlers for importing and exporting refset members and defs.# - Additional handlers can implemented in the code and added here# - RF2 is supported by default# import.refset.handler=DEFAULT,RF1,DELTAimport.refset.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImportRefsetRf2Handlerimport.refset.handler.RF1.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImportRefsetRf1Handlerimport.refset.handler.DELTA.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImportRefsetRf2DeltaHandlerexport.refset.handler=DEFAULT,WITHNAME,EXCELexport.refset.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.ExportRefsetRf2Handlerexport.refset.handler.WITHNAME.class=org.ihtsdo.otf.refset.jpa.services.handlers.ExportRefsetRf2WithNameHandlerexport.refset.handler.EXCEL.class=org.ihtsdo.otf.refset.jpa.services.handlers.ExportRefsetRf2WithNameExcelHandler
## Translation I/O handlers# - Multiple are allowed# - Supported formats and handlers for importing and exporting translation concepts# - Additional handlers can implemented in the code and added here# - RF2 is supported by default - though this requires a .zip file containing # a descriptions file and a langauge refset file.# import.translation.handler=DEFAULT,DELTAimport.translation.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImportTranslationRf2Handlerimport.translation.handler.DELTA.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImportTranslationRf2DeltaHandlerexport.translation.handler=DEFAULTexport.translation.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.ExportTranslationRf2Handler
## Spelling configuration# - Only one is allowed# - Handler for spelling correction. This can be customized in code and overridden here#spelling.handler=DEFAULTspelling.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.DefaultSpellingCorrectionHandler
## PhraseMemory configuration# - Only one is allowed# - Handler for phrase-level translation memory. This can be customized in code and overridden here#phrasememory.handler=DEFAULTphrasememory.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.DefaultPhraseMemoryHandler
## Security configuration# - Only one is allowed# - The timeout is the period before a valid auth token becomes invalid# - The default security handler has users/roles specified by its properties# - The IMS security handler integrates with IHTSDO identity management, configure the url# security.timeout=7200000security.handler=DEFAULTsecurity.handler.DEFAULT.class=org.ihtsdo.otf.refset.jpa.services.handlers.DefaultSecurityServiceHandlersecurity.handler.DEFAULT.users.admin=admin,admin1security.handler.DEFAULT.users.user=user1,author1,reviewer1,author2,reviewer2,author3,reviewer3,admin2,admin3security.handler.DEFAULT.users.viewer=guest,guest1,guest2,guest3
security.handler.IMS.class=org.ihtsdo.otf.refset.jpa.services.handlers.ImsSecurityServiceHandlersecurity.handler.IMS.url=...
## This setting will allow users to access the application as a "guest"# without having to log in. default value is "false"#security.guest.disabled=false
# Switch for allowing un-logged in access to the application# Default is "true" (if not present)security.guest.disabled=false
## Webapp base URL and logout URL# Configure as needed for your environment (see other config projects for alternatives)#base.url=EDIT_THIS (e.g. http://localhost:8080/refset-rest)logout.url=EDIT_THIS (e.g. http://localhost:8080/refset-rest/index.html)help.url=https://confluence.ihtsdotools.org# Feature for multiple deployments on same tomcat server - generally DO NOT USErefset.config.label=
# # Deployment customization# Settings used when building the application for deployment.# Mostly, these are things that appear on header and footer# Customize as needed for your environment#deploy.link=http://ihtsdo.orgdeploy.footer.copyright=Copyright @2016deploy.title= IHTSDO Reference Set and Translation Servicedeploy.password.reset=n/adeploy.presented.by=Presented by \ <a href="http://ihtsdo.org">IHTSDO>site.verification.file=tbd.htmlsite.tracking.code=<!-- sample tracking \ code -->
## Configuration for mapping between moduleId/namespace and flag icons# Configure this as needed for your env# Flag icons for all countries are in rest/src/main/webapp/images/icons#icons.1000039=images/icons/au.pngicons.32570231000036109=images/icons/au.pngicons.999000051000000104=images/icons/gb.pngicons.1000001=images/icons/gb.pngicons.731000124108=images/icons/us.pngicons.1000124=images/icons/us.pngicons.450829007=images/icons/es.pngicons.45991000052106=images/icons/se.pngicons.1000052=images/icons/se.pngicons.554471000005108=images/icons/dk.pngicons.1000005=images/icons/dk.pngicons.1000179=images/icons/uy.pngicons.31000146106=images/icons/nl.pngicons.1000146=images/icons/nl.pngicons.900000000000207008=images/icons/ihtsdo.pngicons.900000000000012004=images/icons/ihtsdo.png
## Only needed in dev configuration file and used for default integration testing# DO NOT CHANGE#admin.user=adminadmin.password=adminviewer.user=guestviewer.password=guestbad.user=i_am_a_bad_userbad.password=i_am_a_bad_password
## Mail configuration# Used by application to send error emails and for handling feedback emails# Configure as needed for your mail server. Supports secure mail#mail.enabled=falsemail.smtp.user=EDIT_THISmail.smtp.password=mail.smtp.host=localhostmail.smtp.port=587mail.smtp.starttls.enable=falsemail.smtp.auth=falsemail.smtp.to=EDIT_THIS
Copyright © 2026, SNOMED International