Chapter 6. Deploying the pizzaPlace project

The following chapter instructs you how to build and deploy a new instance of the pizzaPlace order business process in Red Hat Process Automation Manager.

Prerequisites

The Process Server is deployed and connected to the Business Central. For more information, see Installing and configuring Red Hat Process Automation Manager on Red Hat JBoss EAP 7.2.

Procedure

  1. In Business Central, go to MenuDesignProjects.
  2. Click the project you want to deploy, for example pizzaPlace.
  3. Click Deploy.

    Note

    You can also select the Build & Install option to build the project and publish the KJAR file to the configured Maven repository without deploying to a Process Server. In a development environment, you can click Deploy to deploy the built KJAR file to a Process Server without stopping any running instances (if applicable), or click Redeploy to deploy the built KJAR file and stop any running instances. The next time you deploy or redeploy the built KJAR, the previous deployment unit (KIE container) is automatically updated in the same target Process Server. In a production environment, the Redeploy option is disabled and you can click Deploy only to deploy the built KJAR file to a new deployment unit (KIE container) on a Process Server.

    To configure the Process Server environment mode, set the org.kie.server.mode system property to org.kie.server.mode=development or org.kie.server.mode=production. To configure the deployment behavior for a corresponding project in Business Central, go to project SettingsGeneral SettingsVersion and toggle the Development Mode option. By default, Process Server and all new projects in Business Central are in development mode. You cannot deploy a project with Development Mode turned on or with a manually added SNAPSHOT version suffix to a Process Server that is in production mode.