This example shows how to use CUBA's application components in order to build customizations to the Petclinic product on a customer-by-customer basis.
The petclinic-core directory contains the regular CUBA Petclinic project. In order to act as an application component the app-component.xml has been created (via CUBA studio).
The alabastia-petclinic project is a CUBA application, that uses the Petclinic as a basis. It contains some customizations, that are described in the README of the project.
The way it uses the petclinic-core is by adding it as a application-component in the build.gradle.
The kanto-petclinic project is a CUBA application, that uses the Petclinic as a basis. It contains some customizations, that are described in the README of the project.
The way it uses the petclinic-core is by adding it as a application-component in the build.gradle.
In order to run the different applications locally, the petclinic-core project has to be installed into the local Maven repository. This can be achieved via running the shell script ./install-petclinic-core.sh
. Alternatively the petclinic-core project can be opened in CUBA Studio and installed from there via the Main Menu: CUBA > Advanced > Install App Component
.