In the root pom.xml:
Remove
console.reconciliationReportKey=c3520ad9-179f-49e7-b315-d684d216dd97 |
Add
console.realms-full-tree-threshold=20 |
Remove
cas.authn.syncope.url=${cas.server.name}/syncope
cas.authn.syncope.name=DefaultSyncopeAuthModule |
The changes described below are only needed when starting with an empty Internal Storage. |
AttrReleasePolicyAuthModuleAttrRepoRealm: add fullPath attributeConnInstancenet.tirasa.connid.bundles.db.table → net.tirasa.connid.bundles.dbnet.tirasa.connid.bundles.db.scriptedsql → net.tirasa.connid.bundles.dbconnid.database.version → connid.db.versionAdd Implementation as follows:
<Implementation id="GenerateRandomPasswordPropagationActions" type="PROPAGATION_ACTIONS" engine="JAVA"
body="org.apache.syncope.core.provisioning.java.propagation.GenerateRandomPasswordPropagationActions"/> |
ExternalResourcerandomPwdIfNotProvided attributeExternalResourcePropAction element with implementation_id="GenerateRandomPasswordPropagationActions"REALM_LIST with REALM_SEARCHALTER TABLE Realm ADD fullPath VARCHAR(255); |
For each row in the Realm table, provide a sensible value for the fullPath column, with the following logic:
/
for the root realm, e.g. the only row where the parent column has NULL valuefullPath value}/{current row's name value}For example:
| id | name | parent | fullPath |
|---|---|---|---|
8915e471-9683-4356-8c92-d2a6e1993de5 | / | NULL | / |
345f0a30-5a32-442c-bd7f-c1bbcdedf293 | child1 | 8915e471-9683-4356-8c92-d2a6e1993de5 | /child1 |
d419af73-fe15-4774-95be-131b6b1f1044 | child2 | 8915e471-9683-4356-8c92-d2a6e1993de5 | /child2 |
28807a32-1314-4a85-8fe2-0d59a1a05479 | nephew1 | 8915e471-9683-4356-8c92-d2a6e1993de5 | /child1/nephew1 |
DROP TABLE ReportReportlet; -- this statement might be needed and adjusted to the effective constraint name ALTER TABLE Report DROP CONSTRAINT Report_ibfk_1; ALTER TABLE Report DROP COLUMN template_id; DROP TABLE ReportTemplate; |
New indexes shall be created to improve overall performance.
CREATE INDEX Realm_parent_id ON Realm(parent_id);
CREATE INDEX Realm_fullPath ON Realm(fullPath);
CREATE INDEX Realm_fullPath_startsWith ON Realm USING GIN (to_tsvector('english', fullPath)); |
Oracle | MySQL | MariaDB
CREATE INDEX Realm_parent_id ON Realm(parent_id); CREATE INDEX Realm_fullPath ON Realm(fullPath); |