The following section contains migration notes for Imixs-Office-Workflow.
Wildfily Image has changed! For that reason the volume mapping need to be changed. This is an example for Kubernetes:
volumeMounts:
- mountPath: /opt/jboss/wildfly/lucene
name: index
restartPolicy: Always
volumes:
- name: index
persistentVolumeClaim:
claimName: index
Note: This path mapping assumes that the property imixs-office.IndexDir
points to lucene/office-workflow-index
- New Main Layout - New CSS Class names for header and content container!
- Upgrade Imixs-Archive API to 2.4.1-SNAPSHOT - This change requires a new Backup-Service Setup in the Archive Deployment too.
-
Changed Security Model - core access roles are now mandatory, empty passwords are no longer supported
DELETE FROM userid_usergroup WHERE id='imixs-workflow-service'; DELETE FROM userid WHERE id='imixs-workflow-service';
-
changed imixs.properties default entries:
model.default.data=system-de-1.2.0.bpmn ..... ..... index.fields.store=process.name,txtProcessName,txtWorkflowImageURL
- changed Maven GroupID from com.imixs.workflow => org.imixs.workflow
- Upgrade Imixs-Workflow 5.2.5 => 5.2.6
- Upgrade Lucene from version 7.5.0 => 7.7.3 - An index update is NOT necessary
Docker image changed to the official Wildfly version 20. For that reason the lucene index location has changed:
#Old
/home/imixs/
# New
/opt/jboss/lucene/
For that reason the volume mapping need to be changed. This is an example for Kubernetes:
volumeMounts:
- mountPath: /opt/jboss/lucene
name: lucene
restartPolicy: Always
volumes:
- name: lucene
persistentVolumeClaim:
claimName: lucene
Note: This path mapping assumes that the property imixs-office.IndexDir points to "lucene/office-workflow-index"
No migration needed
No migration needed
Based on Imixs-Workflow 5.0.3
New Imixs.properties:
model.default.data=system-de-1.1.0.bpmn
setup.system.model=system-de-1.1
system model version can be removed from resource bundle 'app'
-
new imixs.property parameter
lucence.indexFieldListStore=txtProcessName,txtWorkflowImageURL
Version 3.2.0 introduces the new Imixs-Archive concept. A migration of data is not necessary. But some configuration issues:
<!-- Workflow Versions -->
<org.imixs.workflow.version>4.2.4</org.imixs.workflow.version>
<org.imixs.marty.version>3.2.0-SNAPSHOT</org.imixs.marty.version>
<org.imixs.office.version>3.2.0-SNAPSHOT</org.imixs.office.version>
<lucene.version>6.6.1</lucene.version>
<org.imixs.adapters.version>1.5.2-SNAPSHOT</org.imixs.adapters.version>
<!-- Imixs-Archive -->
<org.imixs.archive.version>0.0.2-SNAPSHOT</org.imixs.archive.version>
<apache.poi.version>3.17</apache.poi.version>
<apache.pdfbox.version>2.0.7</apache.pdfbox.version>
<apache.tika.version>1.16</apache.tika.version>
.....
<!-- Imixs-Archive -->
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-archive-api</artifactId>
<version>${org.imixs.archive.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-archive-ui</artifactId>
<version>${org.imixs.archive.version}</version>
<scope>provided</scope>
</dependency>
<!-- Core Document Parser -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<version>${apache.poi.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<version>${apache.poi.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<version>${apache.poi.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<version>${apache.pdfbox.version}</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-adapters-documents</artifactId>
<version>${org.imixs.adapters.version}</version>
<scope>provided</scope>
</dependency>
snapshot.history=1
snapshot.overwriteFileContent=false
Take care about the lucene index field txtUsername
lucence.indexFieldListAnalyze=txtUsername
new Jar Moduels:
<JarModule>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-workflow-jax-rs</artifactId>
<bundleDir>/</bundleDir>
</JarModule>
<JarModule>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-archive-api</artifactId>
<bundleDir>/</bundleDir>
</JarModule>
<JarModule>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-adapters-documents</artifactId>
<bundleDir>/</bundleDir>
</JarModule>
and add dependencies....
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-workflow-jax-rs</artifactId>
<type>jar</type>
</dependency>
<!-- Imixs-Archive -->
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-archive-api</artifactId>
<scope>compile</scope>
</dependency>
<!-- Core Document Parser -->
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-ooxml</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.poi</groupId>
<artifactId>poi-scratchpad</artifactId>
<scope>compile</scope>
</dependency>
<dependency>
<groupId>org.apache.pdfbox</groupId>
<artifactId>pdfbox</artifactId>
<scope>compile</scope>
</dependency>
<!-- Imixs-Adapters -->
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-adapters-documents</artifactId>
<type>jar</type>
<scope>compile</scope>
</dependency>
also add the imixs-workflow-jax-rs dependencies
in the ejb pom.xml, the add dependencies:
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-archive-api</artifactId>
</dependency>
<dependency>
<groupId>org.imixs.workflow</groupId>
<artifactId>imixs-adapters-documents</artifactId>
</dependency>
add EJB MANIFEST entries:
...imixs-workflow-jax-rs-${org.imixs.workflow.version}.jar imixs-archive-api-${org.imixs.archive.version}.jar imixs-adapters-documents-${org.imixs.adapters.version}.jar...
remove the web.xml if possible... (jax-rs servlets no longer needed)
-
Update properties lucence.indexFieldListAnalyze - txtusername - moved from properties lucence.indexFieldListNoAnalyze
-
Update Fulltextindex for type=profile
This is a migration guide to migrate a existing Imixs-Office-Workflow instance from Imixs-Workflow Version 3.x to 4.x
-
Undeploy Application (with Imixs-Office-Workflow with Imixs-Workflow version 3.x)
-
Update imixs.properties equal to the current master release of Imixs-Office-Workflow (See extend properties lucence.indexFieldListAnalyze and lucence.indexFieldListNoAnalyse)
3a. update lucene version to 6.6.0 remove lucene adapter project
3b. java compiler plugin version 1.7
3c. change ejb-jar.xml - class 'org.imixs.workflow.engine.WorkflowService', remove PropertyService and LucenService Refs change interceptor Binding tu DocumentService
3d. change persistenc.xml - persistence-unit=org.imixs.workflow.jpa
3e. Update web module resource bundle app with entry: workflowversion_system=system-de-1.0.0
-
Restart Server and deploy new Application (with Imixs-Workflow 4.x)
-
Start Migration Job from Imixs-Admin Interface
-
Upload new Models
-
Call SystemCheck form Web UI
To upload a model file manually via rest api:
curl --user admin:adminadmin --request POST -Tsystem-de.bpmn http://localhost:8080/office-rest/model/bpmn
Search for entity type 'Kernprozess' and remove