- fixed issue on ui regarding pagination of results by configuring refuseToFetchThirdPartyUrls
- updated fhir version to R4 and used mysql as datasource with docs updated - transferred jetty plugin to be viewable on intellij - disabled oss snapshots - replaced corsFilter based on new hapi docs
This commit is contained in:
11
README.md
11
README.md
@@ -56,10 +56,13 @@ Much of this HAPI starter project can be configured using the properties file in
|
||||
|
||||
## MySql
|
||||
|
||||
To configure the starter app to use MySQL, instead of the default Derby, update the hapi.properties file to have the following:
|
||||
To configure the starter app to with MySQL, use the commands below to add user and database:
|
||||
|
||||
* datasource.driver=com.mysql.jdbc.Driver
|
||||
* datasource.url=jdbc:mysql://localhost:3306/hapi_dstu3
|
||||
* hibernate.dialect=org.hibernate.dialect.MySQL5Dialect
|
||||
```
|
||||
CREATE USER 'fhirUser'@'localhost' IDENTIFIED BY 'fhirPass';
|
||||
CREATE DATABASE fhir_r4;
|
||||
GRANT ALL PRIVILEGES ON fhir_r4.* to 'fhirUser'@'localhost';
|
||||
FLUSH PRIVILEGES;
|
||||
```
|
||||
|
||||
It is important to use MySQL5Dialect when using MySQL version 5+.
|
||||
|
||||
Reference in New Issue
Block a user