A plugin based application with multi-modules :
- launcher
- rest-api-module
- provider-api-module
- plugin-module
The main module to run the project.
- Include the application launcher and the layyry configuration file layers.yml
The REST API module based on spring boot, spring web and spring data
Theis Service Provider Interfaces (SPI) provides services definition module for plugins.
plugin sql service provider module: the plug-in that handle sql data source. We use H2 for demo.
- Java 11
- Spring Boot 2.4.1
- Layrry : 1.0.0.Alpha1
Build project (without tests)
mvn clean install -DskipTests=true
plugin is installed in layrry-demo/launcher/target/layrry-demo/plugin
Run launcher jar from it build directory
cd launcher/target
java -jar launcher-0.0.1-SNAPSHOT.jar