This is a variation of CUBA Petclinic application working with the CUBA Bproc add-on.
Video tutorial demonstrates creating and testing this demo project.
To run and test the project follow the steps:
- Clone the repository of the demo project and open it in CUBA Studio.
- In case you don't have a subscription, get and install the trial version of the Bproc add-on according to the How to Install the Bproc Add-on Trial Version section.
- Create database and run the application.
- Login as admin. Three extra users are added while database creation.
- with the Chief role:
- login:
oak
, password:oak
- login:
- with the Vet role:
- login:
birch
, password:birch
- login:
rowan
, password:rowan
- login:
- Expand the Bproc section in the main menu and choose Modeler. Click the Download button in the upper-right corner.
- Find the
bpmn
folder in the root directory of the demo project and select thenew-visit.bpmn20
file. - Click the Deploy button. The business process model will be deployed.
You can get trial subscription from CUBA Marketplace to run this application on your local environment. After getting trial subscription you'll receive an email with a link for downloading ZIP archive with artifacts.
To install the trial version of BProc add-on:
-
Get trial subscription from CUBA Marketplace. You'll get an email with a link and instructions.
-
Download ZIP archive with artifacts at link from the email.
-
Clone the repository of this demo project.
-
Open demo project in CUBA Studio.
-
Create a directory called
repository
in the root directory of the demo project. -
Unzip the file with artifacts into this directory. You should get the following directory structure:
- Open
build.gradle
file and register a new Maven repository.
maven {
url './repository'
}
- Find a string with add-on coordinates and replace the add-on version with the latest one. Check the latest version on CUBA Marketplace.
- Then add
.trial
to the end of add-on coordinates.
- Go to CUBA -> Build Tasks -> Deploy to check that the add-on was installed successfully.