...
All local classes extending default implementations such as DefaultPropagationActions, DefaultPullActions, DefaultPushActions, ... must be changed to implement the related interfaces, e.g. PropagationActions, PullActions, PushActions, ...
Pull correlation rules
For each custom JAVA PullCorrelationRule add a configuration class in package org.apache.syncope.common.lib.policy
in common module of the project. For example, if you have a custom pull correlation rule class TestPullRule
create a configuration class TestPullRuleConf
like this:
Code Block | ||||
---|---|---|---|---|
| ||||
package org.apache.syncope.common.lib.policy;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
@XmlRootElement(name = "testPullRuleConf")
@XmlType
public class TestPullRuleConf extends AbstractCorrelationRuleConf implements PullCorrelationRuleConf {
private static final long serialVersionUID = 429126085793346273L;
} |
Then reference the latter class from your correlation rule code with the specific annotation like this:
Code Block | ||||
---|---|---|---|---|
| ||||
package org.apache.syncope.core.persistence.jpa.dao;
...
@PullCorrelationRuleConfClass(TestPullRuleConf.class)
public class TestPullRule implements PullCorrelationRule {
@Override
public SearchCond getSearchCond(SyncDelta syncDelta, Provision provision) {
// your custom pull search condition
}
} |
Optional
Various methods now return Optional, rather than nullable values as before; for example:
...
Code Block | ||
---|---|---|
| ||
DELETE FROM AccessToken; |
Remove also all templates assigned to Realms and/or Pull tasks
Code Block | ||
---|---|---|
| ||
DELETE FROM ANYTEMPLATEPULLTASK;
DELETE FROM ANYTEMPLATEREALM; |
Note: if you want tamplates back you should re-create them once the procedure has finished successfully.
Workflow
Note |
---|
The procedure outlined here is only required if Syncope 2.0 was configured to use the Activiti user workflow adapter. |
The changes outlined below will allow the new Flowable user workflow adapter to deal with the Activiti workflow definition from Syncope 2.0; more details are available in the Flowable website.
...