Skip to content

camunda BPM Webapplication: Tasklist, Operations, Monitoring and Administration

License

Notifications You must be signed in to change notification settings

AchyuthChaganti/camunda-bpm-webapp

 
 

Repository files navigation

camunda Webapp

This is the camunda BPM web application source. Clean, package and install it via Maven.

Structure of this project

The structure is as follows:

  • ui - HTML, CSS and Javascript sources as well as plugins and tests for the Camunda webapplications Cockpit, Tasklist and Admin.
  • src - Java sources and tests for the Camunda web application.

UI

There are 3 web applications available for the camunda BPM platform:

  • cockpit: an administration interface for processes and decisions
  • tasklist: provides an interface to process user tasks
  • admin: is used to administer users, groups and their authorizations

The webapps above are relying on 2 libraries:

  • camunda-bpm-sdk-js: provides tools for developers who want interact with the platform using Javascript
  • camunda-commons-ui: is a set of shared scripts, templates and assets, used in the different webapps

Plugins

Parts of the web applications can be extended using plugins.

See plugin development guide for details.

Libraries

Has tools to work with the REST API and forms (included transitively via camunda-commons-ui).

Contains resources like images, .less stylesheets as well as some angular.js modules.

Contains the translation files for all application texts in different languages.

Development

Please note that with Camunda 7.14.0 we moved Cockpit to a separate build step. Check out the development build and prerequisites in the Cockpit directory.

Prerequisite

You need node.js and npm. You will also need to install grunt globally using npm install -g grunt-cli.

Setup

Adjusting Maven Settings

See https://github.com/camunda/camunda-bpm-platform#building-camunda-bpm-platform

Using grunt

Installing the webapps is done by grunt:

# cd <path to your workspace>
git clone git@github.com:camunda/camunda-bpm-webapp.git
cd camunda-bpm-webapp
npm install
grunt

To start the server in development mode, call

mvn jetty:run -Pdevelop

The webapps are then available pointing a browser at http://localhost:8080. To login as an admin user, use jonny1 as username and password.

You can now start developing using the grunt auto-build command in the webapp directory. To shorten compile times, you can specify the project you are going to make changes to by calling grunt auto-build:admin

If you are only changing Javascript files, you can set the environment variable FAST_BUILD to 1 to further improve compile times.

Testing

Install the webapps with grunt and start the server in test mode:

mvn jetty:run -Pdev-e2e

Make sure that you terminate the server for development or use another port. You may configure the port the server runs on by passing the argument -Djetty.port=WHICH_PORT to the command line.

To run the tests, call

grunt test-e2e --protractorConfig=ui/common/tests/develop.conf.js

Now, it opens a new browser at http://localhost:8080 and does the test steps. If you want to test only one spec or a part of it then you can annotate the description of the spec with the keyword only:

describe.only('Cockpit Dashboard Spec', function() {
  // ...
}

Browsers support

The supported browsers are:

  • Chrome
  • Firefox
  • Edge 79+

Contributing

Have a look at our contribution guide for how to contribute to this repository.

Help and support

License

The source files in this repository are made available under the Apache License Version 2.0.

About

camunda BPM Webapplication: Tasklist, Operations, Monitoring and Administration

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 72.1%
  • Java 12.5%
  • HTML 11.4%
  • Less 3.8%
  • SCSS 0.1%
  • CSS 0.1%