Wiki
Clone wikijummp / configuration
Configuration options
Jummp is configurable at runtime and reads its configuration from a Properties file. The location of the file can be specified through the JUMMP_CONFIG environment variable. If this location is not specified, the application looks for the file at ~/.jummp.properties. If this is also not found, then Jummp assumes that the configuration file does not exist, and expects the user to create one using the setup process. Unfortunately the Jummp application is not able to pick up changes of the configuration (either by editing the file directly or using config interfaces), so the web application needs to be restarted (e.g. by restarting the Tomcat server).
#!bash ## Example Configuration file ## #Jummp Configuration #Wed Nov 20 15:44:01 GMT 2013 jummp.authenticationHash.maxInactiveTime=1800000 jummp.authenticationHash.removeInterval=1800000 jummp.authenticationHash.startRemoveOffset=300000 jummp.database.type=MYSQL jummp.database.database=jummp jummp.database.password=your_password jummp.database.port=3306 jummp.database.server=localhost jummp.database.username=jummp jummp.export.jms=false jummp.plugins.sbml.validation=false jummp.remote=false # Model identifier settings jummp.model.id.submission.part1.type=literal jummp.model.id.submission.part1.suffix=MODEL jummp.model.id.submission.part2.type=numerical jummp.model.id.submission.part2.fixed=false jummp.model.id.submission.part2.width=10 # end model identifier settings # Search settings ## strategy: omicsdi/solr jummp.search.strategy=omicsdi jummp.search.exportFolder=/path/to/folder/where/OmicsDIXML/will/be/stored/file.xml jummp.search.url=http://addressOf.solr.machine:$SOLR_PORT/solr/ jummp.search.folder=/path/to/folder/where/the/search/index/should/be/stored/ jummp.search.pathToIndexerExecutable=/path/to/fat/indexer.jar # end Search settings ## You must have two following attributes if you choose omicsdi as your search strategy jummp.metadata.officialDatabaseName=Your Repository Name jummp.metadata.officialDatabaseDescription=Short description of your model repository jummp.security.anonymousRegistration=true jummp.security.authenticationBackend=database # The security policy is available in the scripts/ folder in the source code. jummp.security.cms.policy=/path/to/WeceemSecurity.groovy jummp.security.mailer.auth=true jummp.security.mailer.host=your.smtp.server jummp.security.mailer.password=mailPassword jummp.security.mailer.port=587 jummp.security.mailer.tlsrequired=true jummp.security.mailer.username=myUserName jummp.security.curatorByDefault=false jummp.security.certificationRole=ROLE_QC_PROVIDER jummp.security.registration.email.adminAddress=admin@org.ac.uk jummp.security.registration.email.body=Dear {{REALNAME}},\r\n\r\nAn account to access the Model Repository has been created for you. Your username is\: {{USERNAME}}.\r\n\r\nYour automatically generated password is\: {{PASSWORD}} (you can easily change it after your first login).\r\n\r\nGood luck\! jummp.security.registration.email.send=true jummp.security.registration.email.sendToAdmin=false jummp.security.registration.email.sender=admin@org.ac.uk jummp.security.registration.email.subject=[My Model Repository] new account activation jummp.security.resetPassword.email.body=Dear {{REALNAME}}, \r\n\r\nA password reset request was received for your account. Please reset your password by going to {{URL}}.\r\n\r\nMy Model Repository jummp.security.resetPassword.email.subject=[My Model Repository] password reset request jummp.server.protection=false jummp.server.url=http\://localhost\:8080/jummp/ jummp.vcs.exchangeDirectory=/home/user/reps/exchange jummp.vcs.plugin=git jummp.vcs.workingDirectory=/home/user/reps/working ################# Context specific help info # root URL for help jummp.context.help.root=http://wwwdev.ebi.ac.uk/compneur-srv/docs-ddmore-repository/ # all other pages jummp.context.help.browse=model_browsing.html jummp.context.help.search=model_search.html jummp.context.help.login=login.html jummp.context.help.display=model_display.html jummp.context.help.archives=model_archives.html jummp.context.help.submission=model_submission.html jummp.context.help.update=model_update.html jummp.context.help.profile=user_profiles.html jummp.context.help.sharing=model_sharing.html jummp.context.help.teams=teams.html jummp.context.help.notifications=notifications.html
Updated