| | 83 | The following settings should be set appropriately to access the pmi-lookup: |
| | 84 | {{{ |
| | 85 | # Must be true in order for the "Participant Registry" button to be present. |
| | 86 | org.obiba.onyx.participant.registry.enabled=true |
| | 87 | # The type of "Participant Registry". Values include "fixed" for development and "restful" for deployment. |
| | 88 | org.obiba.onyx.participant.registry.type=restful |
| | 89 | # The url use by the RestfulParticipantRegistry to lookup Participants from a remote service. |
| | 90 | org.obiba.onyx.participant.registry.uriTemplate=http://localhost:8080/patient-lookup/participant/{identifier}/onyx.xml |
| | 91 | }}} |
| | 92 | |
| | 93 | The following settings should be set appropriately to access the database: |
| | 94 | {{{ |
| | 95 | # MySQL |
| | 96 | org.obiba.onyx.datasource.driver=com.mysql.jdbc.Driver |
| | 97 | org.obiba.onyx.datasource.url=jdbc:mysql://localhost:3306/briccs01 |
| | 98 | org.obiba.onyx.datasource.username=someuser |
| | 99 | org.obiba.onyx.datasource.password=******** |
| | 100 | org.obiba.onyx.datasource.dialect=org.hibernate.dialect.MySQL5InnoDBDialect |
| | 101 | org.obiba.onyx.datasource.validationQuery=SELECT 1; |
| | 102 | org.obiba.onyx.datasource.testOnBorrow=true |
| | 103 | }}} |