Demo Data: How does the Hot Sauce data get loaded?
By default, one of the supporting services defined in this project is a Postgres DB. For this project, each individual Flex Package is configured to point to the same Postgres instance with a unique schema. The default schemas that correspond to each service can be found in the corresponding's Flex Package's /src/main/resources/application-default.yml
(or the corresponding RDBMS platform config).
All of the Broadleaf services come with a set of default demo data provided via a liquibase demo changelog file. The seed data scripts are contained within each of the individual services dependency .jar
and are loaded via a property configured in application-default.yml
(or the corresponding RDBMS platform config)
broadleaf: service_abc: liquibase: change-log: 'classpath:/db/changelog/serviceabc.flexdemo.postgresql.changelog-master.yaml'