-
Support Patch
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
None
PATCH NAME: RHPAM-4562
PRODUCT NAME: Red Hat Process Automation Manager
VERSION: 7.13.2
DESCRIPTION: One-off patch for RHPAM-4562:
- PIM tool allows to migrate process instances with different definitions from source migration plan https://issues.redhat.com/browse/RHPAM-4562
1. Backup and remove the process migration service zip file:
process-migration-service-7.59.0.Final-redhat-00009.zip
2. Replace it with the patched zip file:
process-migration-service-7.59.0.Final-redhat-00009-RHPAM-4562.zip
ADDITIONAL INSTALL INSTRUCTIONS FOR ALL PLATFORMS:
Find and replace the files
process-migration-service-7.59.0.Final-redhat-00009.zip
with the patched files:
process-migration-service-7.59.0.Final-redhat-00009-RHPAM-4562.zip
for all occurences of that file in your project.
HOW EXECUTION CHANGES
This patch can be verified with attached tester
- tester for PIM tool filtering on process instances
-
- Description
This reproducer shows new feature to filter process attempted to be migrated.
creates a kie server with two containers:
- container1
- human-task 1.0.0
- other-human-task 1.0.0
- container2
- human-task 2.0.0
Then migrate human-task from version 1.0.0 to 2.0.0
-
- Current behaviour
All process instances are try for migration
-
- New behavious
Only process matching with source definition are migrated
-
- Usage
run in one terminal:
- postgres:
./run-postgres
- kie server:
./run-kieserver 7.12.1
- old PIM tool
./run-pim-tool-original.sh
- Execute scripts:
$ ./create-process.sh
create instances human-task.human-task in container container1
created process instance: 1
create instances human-task.other-human-task in container container1
created process instance: 2
create instances human-task.human-task in container container2
created process instance: 3
```
$ ./migrate.sh
create migration plan
plan 1 created
running migration for 1
running 1 migration
show result for 1
{ "processInstanceId": 1, "status": true } { "processInstanceId": 2, "status": false } { "processInstanceId": 3, "status": false }```
- Stop old PIM tool and run new one:
./run-pim-tool-patched.sh
- Execute scripts again:
```
$ ./create-process.sh
create instances human-task.human-task in container container1
created process instance: 4
create instances human-task.other-human-task in container container1
created process instance: 5
create instances human-task.human-task in container container2
created process instance: 6
$ ./migrate.sh
create migration plan
plan 1 created
running migration for 1
running 1 migration
show result for 1
{ "processInstanceId": 4, "status": true }```
CREATOR:
Alberto Fanjul
DATE:
24-Oct-2022
- is related to
-
RHPAM-4568 [ONE-OFF] (7.12.1) PIM tool allows to migrate process instances with different definitions from source migration plan + kie-server rest API certificates
- ON_QA
- relates to
-
RHPAM-4544 PIM tool allows to migrate process instances with different definitions from source migration plan
- Closed