Skip to content

Add Cockpit process instance restart#64

Open
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-instance-restart
Open

Add Cockpit process instance restart#64
hauptmedia wants to merge 1 commit into
mainfrom
codex/cockpit-instance-restart

Conversation

@hauptmedia

Copy link
Copy Markdown

Summary

  • add a process-definition Restart tab for completed historic process instances
  • wire Camunda 7 restart and restart-async REST endpoints
  • support default start, start-before/activity, start-after/activity, start-transition, selected historic instances, async batch, initial variables, business-key and listener/IO options
  • add scoped process-page styles, translations, state signal, and tests

Verification

  • node -e "JSON.parse(require('fs').readFileSync('public/locales/en-US/translation.json','utf8')); JSON.parse(require('fs').readFileSync('public/locales/de-DE/translation.json','utf8')); console.log('translations ok')"
  • npx eslint src/api/resources/process_definition.js src/api/resources/process_definition.test.js src/pages/Processes.jsx src/pages/Processes.test.jsx src/state.js src/state.test.js
  • npx vitest run src/api/resources/process_definition.test.js src/pages/Processes.test.jsx src/state.test.js
  • npx vitest run
  • npm run build
  • Browser smoke: /processes/proc:1/restart reaches the login boundary without console errors; authenticated restart workflow requires a running backend accepting the dev login

Reference

  • Camunda 7.24 Cockpit Process Instance Restart
  • Camunda 7.24 REST POST /process-definition/{id}/restart and POST /process-definition/{id}/restart-async

@sonarqubecloud

Copy link
Copy Markdown

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant