Skip to content

Latest commit

 

History

History
20 lines (13 loc) · 1.44 KB

README.md

File metadata and controls

20 lines (13 loc) · 1.44 KB

Dynamic mapping server

Actions Status Coverage Status MPL-2.0 License

To automatically generate the sql schema file you can use the following command:

Please read liquibase usage for instructions to automatically generate changesets. After you generated a changeset do not forget to add it to git and in src/resource/db/changelog/db.changelog-master.yml

Parameters are not yet generated by the app. For now the app will not work as intended without any data.

After creating the database and its tables, load src/main/resources/IEEE14Models.sql to instantiate some.

The old way to automatically generate the sql schema file (directly using hibernate) can still be used for debugging. Use the following command:

mvn package -DskipTests && rm src/main/resources/mappings.sql && java -jar target/gridsuite-mapping-server-1.0.0-SNAPSHOT-exec.jar --spring.jpa.properties.jakarta.persistence.schema-generation.scripts.action=create