summaryrefslogtreecommitdiffstats
path: root/docs/Camunda_Cockpit_Enterprise_Edition.rst
blob: 3e2d15bf15376fbdf8f090d52fa70233429d7425 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
.. This work is licensed under a Creative Commons Attribution 4.0 International License.
.. http://creativecommons.org/licenses/by/4.0
.. Copyright 2017 Huawei Technologies Co., Ltd.

Camunda Cockpit Enterprise Edition
==================================

The Community Edition of Camunda is the version normally built into SO.  With the Community Edition, you can see process definitions, but you cannot inspect running or completed process instances, which is an essential debugging capability.  This capability is available only in the Enterprise Edition and requires a commercial license.  If you have such a license, you can build SO with the Enterprise Edition.  Your use must be consistent with the terms of your license, of course.

With the Enterprise Edition cockpit, you can:

  * See a trace of tasks executed by a running or completed process instance.
  * Look at execution variables in a running or completed process instance.
  * Look at called subprocesses in a running or completed process instance.

Maven Repository for Camunda EE Artifacts
------------------------------------------

To build with Camunda EE, you will need a maven repository containing the Camunda EE artifacts.   This can be a nexus repository or a local repository in your filesystem.

To construct a local repository, start with this structure for the 7.7.3-ee version of Camunda:

  camunda-ee-repository.zip_

.. _camunda-ee-repository.zip: https://wiki.onap.org/download/attachments/16001686/camunda-ee-repository.zip?version=1&modificationDate=1507838888000&api=v2

*NOTE*: the zip archive does not contain the actual Enterprise Edition JAR and WAR files.  It contains zero-length files as placeholders.  You will need to replace the zero-length files with files you obtain from Camunda.  The archive does contain all the poms, checksums, and metadata required to make it a functional maven repository.

Here's the minimum set of artifacts you need to build the SO Amsterdam release software:

  camunda-engine-7.7.3-ee.jar

  camunda-webapp-7.7.3-ee-classes.jar

  camunda-webapp-7.7.3-ee.war

  camunda-webapp-ee-jboss-standalone-7.7.3-ee.war

  camunda-engine-cdi-7.7.3-ee.jar

  camunda-engine-rest-7.7.3-ee-classes.jar

  camunda-engine-plugin-spin-7.7.3-ee.jar

  camunda-engine-plugin-connect-7.7.3-ee.jar

  camunda-engine-rest-core-7.7.3-ee.jar

  camunda-engine-feel-api-7.7.3-ee.jar

  camunda-engine-feel-juel-7.7.3-ee.jar

  camunda-engine-dmn-7.7.3-ee.jar

  camunda-engine-spring-7.7.3-ee.jar

  camunda-bpmn-model-7.7.3-ee.jar

  camunda-xml-model-7.7.3-ee.jar

  camunda-dmn-model-7.7.3-ee.jar

  camunda-cmmn-model-7.7.3-ee.jar

Maven settings.xml
------------------

Add a profile to your maven settings.xml to include the repository containing your Camunda EE artifacts.

For example:

.. code-block:: bash

  <profile>
  <!-- profile for artifacts not in public repositories -->
  <id>my-local-artifacts</id>
  <repositories>
    <repository>
      <!-- Local repository for Camunda Enterprise Edition -->
      <!-- YOU MUST HAVE A VALID LICENSE TO USE THIS -->
      <id>camunda-ee</id>
      <name>camunda-ee</name>
      <url>file:///home/john/onap/camunda-ee-repository</url>
    </repository>
  </repositories>
  </profile>

And add your profile to the list of active profiles:

.. code-block:: bash

  <activeProfiles>

  <activeProfile>my-local-artifacts</activeProfile>

  <activeProfile>openecomp-staging</activeProfile>

  <activeProfile>openecomp-public</activeProfile>

  <activeProfile>openecomp-release</activeProfile>

  <activeProfile>openecomp-snapshots</activeProfile>

  <activeProfile>opendaylight-release</activeProfile>

  <activeProfile>opendaylight-snapshots</activeProfile>

  </activeProfiles>

Building
--------

Add these options to the mvn command line when you build "so"

.. code-block:: bash

  -Dcamunda.version=7.7.3-ee -Dcamunda.bpm.webapp.artifact=camunda-webapp-ee-jboss-standalone

Installation
-------------

The cockpit is part of the SO image.  There are no special installation requirements.  When you log in, you will need to enter your license information.  Alternatively, you can insert your license directly into the camundabpmn database before you log in:

.. code-block:: bash

  INSERT INTO camundabpmn.ACT_GE_PROPERTY VALUES ('camunda-license-key','YOUR-LICENCE-KEY-HERE',1);

Logging In
-----------

Because port 8080 on the docker host machine is forwarded to port 8080 in the SO docker container you can log into the Enterprise Edition cockpit by browsing to this URL:

  http://*dockerhost*:8080/camunda

  Where dockerhost is the docker host system.

If you can use a browser on the docker host system, then use a localhost address:

  http://localhost:8080/camunda

The user is "admin" and the password is the same as the jboss admin password, which is not displayed here.

.. image:: images/Camunda_Cockpit_Enterprise_1.png
ctory}</outputDirectory> <includes>**/*.bpmn</includes> </artifactItem> <artifactItem> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-building-blocks</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>false</overWrite> <outputDirectory>${project.build.outputDirectory}</outputDirectory> <includes>**/*.bpmn</includes> </artifactItem> <artifactItem> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-infrastructure-flows</artifactId> <version>${project.version}</version> <type>jar</type> <overWrite>false</overWrite> <outputDirectory>${project.build.outputDirectory}</outputDirectory> <includes>**/*.bpmn</includes> </artifactItem> </artifactItems> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-surefire-plugin</artifactId> <executions> <execution> <id>integration-test</id> <goals> <goal>test</goal> </goals> <configuration> <skip>true</skip> <includes> <include>**/IntegrationTestSuite.java</include> </includes> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-compiler-plugin</artifactId> <executions> <execution> <id>test-compile</id> <phase>compile</phase> <goals> <goal>testCompile</goal> </goals> <configuration> <skip>false</skip> </configuration> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-jar-plugin</artifactId> <executions> <execution> <id>tests</id> </execution> <execution> <id>original</id> </execution> </executions> </plugin> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> <version>${springboot.version}</version> <configuration> <mainClass>org.onap.so.bpmn.infrastructure.MSOInfrastructureApplication</mainClass> </configuration> <executions> <execution> <goals> <goal>repackage</goal> </goals> </execution> </executions> </plugin> <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-dependency-plugin</artifactId> <executions> <execution> <id>extract-docker-file</id> </execution> </executions> </plugin> <plugin> <groupId>io.fabric8</groupId> <artifactId>fabric8-maven-plugin</artifactId> <executions> <execution> <id>start</id> </execution> </executions> </plugin> </plugins> </build> <dependencyManagement> <dependencies> <dependency> <!-- Import dependency management from Spring Boot --> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-dependencies</artifactId> <version>${springboot.version}</version> <type>pom</type> <scope>import</scope> </dependency> </dependencies> </dependencyManagement> <dependencies> <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter</artifactId> <version>${camunda.springboot.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId> <version>${camunda.springboot.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter-rest</artifactId> <version>${camunda.springboot.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm.springboot</groupId> <artifactId>camunda-bpm-spring-boot-starter-webapp</artifactId> <version>2.3.0</version> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-jpa</artifactId> <exclusions> <exclusion> <groupId>org.apache.tomcat</groupId> <artifactId>tomcat-jdbc</artifactId> </exclusion> </exclusions> <optional>true</optional> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-infrastructure-common</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>MSOCommonBPMN</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>MSOCommonBPMN</artifactId> <version>${project.version}</version> <type>test-jar</type> <scope>test</scope> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-building-blocks</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-infrastructure-flows</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> </dependency> <dependency> <groupId>org.springframework.cloud</groupId> <artifactId>spring-cloud-contract-wiremock</artifactId> <version>1.2.4.RELEASE</version> <scope>test</scope> </dependency> <dependency> <groupId>ch.vorburger.mariaDB4j</groupId> <artifactId>mariaDB4j</artifactId> <version>2.2.3</version> <scope>test</scope> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-core</artifactId> </dependency> <dependency> <groupId>io.micrometer</groupId> <artifactId>micrometer-registry-prometheus</artifactId> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>so-bpmn-tasks</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.onap.so</groupId> <artifactId>cxf-logging</artifactId> <version>${project.version}</version> </dependency> <dependency> <groupId>org.camunda.bpm.extension.mockito</groupId> <artifactId>camunda-bpm-mockito</artifactId> <version>3.2.1</version> <scope>test</scope> </dependency> <dependency> <groupId>org.camunda.bpm.extension</groupId> <artifactId>camunda-bpm-assert</artifactId> <version>2.0-alpha2</version> <scope>test</scope> </dependency> <dependency> <groupId>org.assertj</groupId> <artifactId>assertj-core</artifactId> <version>1.7.0</version> <scope>test</scope> </dependency> </dependencies> </project>