|
| 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 | + |
| 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 | + |
| 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 | + |
| 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 | + |
| 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. |
0 commit comments