Migrating from Community to Enterprise Edition
If you’re hoping to utilize features of Enterprise Edition (such as see how many process instances have been run, token history, heatmaps, and migrate model versions) you may be interested in migrating from Camunda Platform 7 Community Edition to the Enterprise Edition.
In this guide, we’ll step through migration from Camunda Platform 7 Community Edition to Enterprise Edition.
Prerequisites
- IDE or code editor of your choice (in this example, we’ll use Visual Studio Code.)
- Access to Camunda Modeler.
- Access to GitHub for our tutorial example.
- Java 17
- Maven
If needed, you can obtain a license key and start a 30-day trial of Camunda Platform 7 Enterprise Edition.
Set up
To get started, take the following steps:
- Clone our example repository, where we’ll take part in assisting some mock revolutions.
- Open the repo in your preferred IDE.
- Within
src > main > java
, clickApplication.java
and run the application in your terminal to ensure it functions properly with your environment. - After the application successfully runs, open your browser and visit http://localhost:8080/. You can log in with the username and password
demo
. Click Cockpit, where you’ll notice the four appropriate process instances are running from our application.
Migration
To officially begin migrating from Camunda Platform 7 Community Edition to the Enterprise Edition, take the following steps:
- Return to the example repository you cloned in your preferred IDE.
- Run the
Application.java
application. - Navigate to your
pom.xml
file. - Add
-ee
to the version. For example,<version>7.16.0-ee</version>
. You’ll need to make these changes below the followingartifactIds
:camunda-bom
,camunda-bpm-spring-boot-starter-rest
,camunda-bpm-spring-boot-starter-webapp
(you’ll also adjust this particular artifactID itself tocamunda-bpm-spring-boot-starter-webapp-ee
.) ```xmlorg.camunda.bpm camunda-bom 7.15.0-ee import pom
5. We need to tell it where to find these new dependencies. Therefore, we’ll add the location of the repository at the end of the dependencies in the `pom.xml` file as follows:
```xml
<repositories>
<repository>
<id>Camunda-bpm-nexus-ee</id>
<name>camunda-bpm-nexus</name>
<url>
https://camunda.jfrog.io/artifactory/private/
</url>
</repository>
</repositories>
- Add the username and password you received when you were granted a license to your Maven settings. To do this, go the Maven
config
file, usually located at${user.home}/.m2/settings.xml
. Then, add your information similar to the following:xml <servers> <server> <id>camunda-bpm-nexus-ee</id> <username>trial_your_name_here</username> <password>YoUrPaSsWoRd</password> </server> </servers>
You can find more details on this step here. - In your terminal, run
mvn clean install
to remove the old content and add the new content. - Go back to
Application.java
and run Java once more to see the changes complete.
Add your license key
Now that you’ve made the physical adjustments in your IDE to update to Enterprise Edition, let’s make a few final changes in Camunda Platform 7.
- Return to http://localhost:8080/ and refresh the page.
- If you don’t see the version
7.18-ee
in the bottom corner, clear your browser cache. - Enter your credentials once more to update. You’ll notice you’re updated successfully when you reopen Cockpit and see a request message in the middle of the page for a license key.
- Click Enter your license key now.
- Paste your license key into the prompted text field, or if you haven’t already, obtain a license key and start a 30-day trial of Camunda Platform Enterprise Edition.
- Click Save Key.
Next steps
After you’ve made the required changes above, return to Camunda Cockpit. You’ll notice the migration has completed as you can now view the section titled Metrics.
You’ll notice your process instances are still the same, but you don’t have any running instances yet. You can learn more about stepping through a process and the features of Enterprise Edition (see how many process instances have been run, token history, heatmaps, and migrate model versions) by watching our video on migration from Community Edition to Enterprise Edition.