Page History
...
See the canonical heavily annotated shrine.conf file in source code control.
...
Missing Default Properties
Add this these section within the shrine block to properly log problems
Code Block | ||
---|---|---|
| ||
shrine{ problem { problemHandler = "net.shrine.problem.LogAndDatabaseProblemHandler$" } dashboard { gruntWatch = false //false for production, true for mvn tomcat7:run . Allows the client javascript and html files to be loaded via gruntWatch . happyBaseUrl = "https://localhost:6443/shrine/rest/happy" statusBaseUrl = "https://localhost:6443/shrine/rest/internalstatus" database { dataSourceFrom = "JNDI" //Can be JNDI or testDataSource . Use testDataSource for tests, JNDI everywhere else jndiDataSourceName = "java:comp/env/jdbc/problemDB" //or leave out for tests slickProfileClassName = "slick.driver.MySQLDriver$" // Can be // slick.driver.H2Driver$ // slick.driver.MySQLDriver$ // slick.driver.PostgresDriver$ // slick.driver.SQLServerDriver$ // slick.driver.JdbcDriver$ // freeslick.OracleProfile$ // freeslick.MSSQLServerProfile$ // // (Yes, with the $ on the end) createTablesOnStart = false //for testing with H2 in memory, when not running unit tests. Set to false normally } } |
Static Data Service
To add static data for SHRINE's new static data service to share, add it to shrine.conf within
...
Overview
Content Tools