Page History
...
Code Block | ||
---|---|---|
| ||
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 } } |
If you are using hub-and-spoke SHRINE architecture add this setting to shrine.queryEntryPoint
Code Block | ||
---|---|---|
| ||
trustModelIsHub = true
|
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