Skip to content

Commit 8bba915

Browse files
committed
docs(guides): data migrator add cockpit plugin
related to camunda/camunda-bpm-platform/issues/5378
1 parent d7ce596 commit 8bba915

File tree

7 files changed

+111
-0
lines changed

7 files changed

+111
-0
lines changed
Lines changed: 106 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,106 @@
1+
---
2+
id: cockpit-plugin
3+
title: Cockpit Plugin
4+
sidebar_label: Cockpit Plugin
5+
description: "Web-based interface to view information about skipped entities during the migration process."
6+
---
7+
8+
:::warning Experimental Feature
9+
The Cockpit plugin is currently an **EXPERIMENTAL** feature and should be used with caution in production environments.
10+
:::
11+
12+
The Cockpit plugin provides a web-based interface to view information about skipped entities during the migration process. This plugin integrates with Camunda 7 Cockpit to give you visibility into which process instances, variables, or other entities were skipped during migration and why.
13+
14+
Visit the [Camunda 7 documentation](https://docs.camunda.org/manual/latest/webapps/cockpit/extend/plugins/) to learn more about Camunda 7 plugins.
15+
16+
## Prerequisites
17+
18+
To use the Cockpit plugin, you must configure the migrator with the following setting:
19+
20+
```yaml
21+
camunda.migrator:
22+
save-skip-reason: true
23+
```
24+
25+
:::info Required Configuration
26+
The `save-skip-reason: true` configuration is **required** for the Cockpit plugin to function properly. Without this setting, skip reasons will not be persisted to the database and the plugin will not display it.
27+
:::
28+
29+
## Installation
30+
31+
1. **Download the latest release** from the [releases page](https://github.com/camunda/camunda-7-to-8-data-migrator/releases)
32+
or **Build the plugin**:
33+
34+
```bash
35+
cd plugins/cockpit
36+
mvn clean install
37+
```
38+
39+
2. **Deploy the plugin** to your Camunda 7 installation by copying the generated JAR file to the Camunda 7 plugins directory.
40+
41+
3. **Configure the migrator** with `save-skip-reason: true` in your `application.yml`.
42+
43+
4. **Run your migration** with the skip reason saving enabled.
44+
45+
5. **Inspect skipped entities in Cockpit**
46+
47+
## Using the Cockpit Plugin
48+
49+
Once installed and configured, the Cockpit plugin provides:
50+
51+
- **Skipped Entity Overview**: View all entities that were skipped during migration
52+
- **Detailed Skip Reasons**: Understand why specific entities were not migrated
53+
- **Migration Status Tracking**: Monitor the overall progress and health of your migration
54+
55+
## Limitations
56+
57+
The Cockpit plugin has the following limitations in its current experimental state:
58+
59+
- **Performance Impact**: Saving skip reasons may impact migration performance for large datasets
60+
- **Storage Requirements**: Additional database storage is required to persist skip reason data
61+
- **Camunda 7 Dependency**: The plugin requires a running Camunda 7 instance with Cockpit
62+
- **Limited Customization**: UI customization options are currently limited
63+
64+
## Screenshots
65+
66+
The following screenshots demonstrate the Cockpit plugin interface and functionality:
67+
68+
### Migrated Process Instances View
69+
70+
This view shows a table of successfully migrated process instances from Camunda 7 to Camunda 8. The table includes Process Instance ID, Process Definition Key, and the corresponding Camunda 8 Key.
71+
72+
![Runtime Migrated Instances](img/runtime-migrated.png)
73+
74+
### Skipped Process Instances Overview
75+
76+
This view shows process instances that were skipped during migration, allowing users to identify which instances failed migration and need attention.
77+
78+
![Runtime Skipped Instances](img/runtime-skipped.png)
79+
80+
### Entity Type Selection
81+
82+
When viewing historic entities, it is possible to filter them by specific types (such as process instances, variables, tasks, etc.), making it easier to analyze migration issues by category.
83+
84+
![Skipped Entity Type Selection](img/skipped-select-type.png)
85+
86+
### Variable-Specific Skip Analysis
87+
88+
When viewing historic variable data, the type and value of primitives are also retrieved to provide additional context.
89+
90+
![Skipped Variables](img/skipped-variables.png)
91+
92+
## Troubleshooting
93+
94+
**Plugin Not Visible in Cockpit**
95+
96+
- Verify the plugin JAR is in the correct Camunda 7 plugins directory
97+
- Check Camunda 7 logs for plugin loading errors
98+
- Ensure Camunda 7 has been restarted after plugin deployment
99+
100+
**No Skip Data Displayed**
101+
102+
- Confirm `save-skip-reason: true` is set in migrator configuration
103+
- Verify migration has been run with this setting enabled
104+
- Check database connectivity between plugin and migrator database
105+
106+
For additional support with the Cockpit plugin, please refer to the main [troubleshooting section](troubleshooting.md) or create an issue in the project repository.
346 KB
Loading
483 KB
Loading
531 KB
Loading
485 KB
Loading

docs/guides/migrating-from-camunda-7/data-migrator/index.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,3 +61,7 @@ As part of this step, you might also need to extract big payloads and binaries (
6161
## Repository
6262

6363
You can track progress and releases in the repository: https://github.com/camunda/camunda-7-to-8-data-migrator
64+
65+
## Cockpit Plugin
66+
67+
The [Cockpit plugin](cockpit-plugin.md) provides a web-based interface to view information about skipped entities during the migration process (experimental).

sidebars.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,7 @@ module.exports = {
4949
"guides/migrating-from-camunda-7/data-migrator/config-properties",
5050
],
5151
},
52+
"guides/migrating-from-camunda-7/data-migrator/cockpit-plugin",
5253
"guides/migrating-from-camunda-7/data-migrator/troubleshooting",
5354
],
5455
},

0 commit comments

Comments
 (0)