Skip to content

cuba-labs/petclinic-bproc

Repository files navigation

CUBA Petclinic: Bproc

This is a variation of CUBA Petclinic application working with the CUBA Bproc add-on.

Video tutorial demonstrates creating and testing this demo project.

Domain model

CUBA Petclinic Domain model

Testing demo project

To run and test the project follow the steps:

  1. Clone the repository of the demo project and open it in CUBA Studio.
  2. 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.
  3. Create database and run the application.
  4. Login as admin. Three extra users are added while database creation.
  • with the Chief role:
    • login: oak, password: oak
  • with the Vet role:
    • login: birch, password: birch
    • login: rowan, password: rowan
  1. Expand the Bproc section in the main menu and choose Modeler. Click the Download button in the upper-right corner.
  2. Find the bpmn folder in the root directory of the demo project and select the new-visit.bpmn20 file.
  3. Click the Deploy button. The business process model will be deployed.

How to Install the Bproc Add-on Trial Version

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:

  1. Get trial subscription from CUBA Marketplace. You'll get an email with a link and instructions.

  2. Download ZIP archive with artifacts at link from the email.

  3. Clone the repository of this demo project.

  4. Open demo project in CUBA Studio.

  5. Create a directory called repository in the root directory of the demo project.

  6. Unzip the file with artifacts into this directory. You should get the following directory structure:

structure

  1. Open build.gradle file and register a new Maven repository.
maven {
    url './repository'
}

buildscript

  1. Find a string with add-on coordinates and replace the add-on version with the latest one. Check the latest version on CUBA Marketplace.

version

  1. Then add .trial to the end of add-on coordinates.

trial

  1. Go to CUBA -> Build Tasks -> Deploy to check that the add-on was installed successfully.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published