...
In the
workflow.properties
file enabled with Flowable support (it could becore/src/main/resources/workflow.properties
,core/src/main/resources/all/workflow.properties
or other, depending on your project setup), replaceCode Block language java uwfAdapter=org.apache.syncope.core.workflow.flowable.FlowableUserWorkflowAdapter
with
Code Block language java uwfAdapter=org.apache.syncope.core.flowable.impl.FlowableUserWorkflowAdapter
In both
console/src/main/resources/console.properties
andconsole/src/test/resources/console.properties
, removeCode Block flowableModelerDirectory=${flowable-modeler.directory}
and
Code Block page.workflow=org.apache.syncope.client.console.pages.Workflow
then add
Code Block topology.corePoolSize=10 topology.maxPoolSize=20 topology.queueCapacity=50
Replace the following files with their 2.1.2 counterparts (re-apply any customization previously made):
- core/src/main/resources/restCXFContext.xml
- core/src/main/resources/workflowFlowableContext.xml (if such file is present in your source tree)
- all files under enduser/src/main/webapp/app
Classes
- move all workflow tasks from package
org.apache.syncope.core.workflow.flowable.task
to packageorg.apache.syncope.core.flowable.task
- change parent class from
AbstractFlowableServiceTask
toFlowableServiceTask
Internal Storage
If not using Flowable
Stop the Java EE container running Syncope Core, then execute the following SQL statement:
Code Block | ||
---|---|---|
| ||
DROP VIEW user_search; ALTER TABLE SyncopeUser DROP COLUMN workflowId; CREATE VIEW user_search AS SELECT u.id as any_id, u.* FROM SyncopeUser u; DROP VIEW group_search; ALTER TABLE SyncopeGroup DROP COLUMN workflowId; CREATE VIEW group_search AS SELECT r.id as any_id, r.* FROM SyncopeGroup r; DROP VIEW anyObject_search; ALTER TABLE AnyObject DROP COLUMN workflowId; CREATE VIEW anyObject_search AS SELECT a.id as any_id, a.* FROM AnyObject a; |
...