Source changes

POM

In the root pom.xml:

  • change parent/version from 2.1.8 to 2.1.9
  • change properties/syncope.version from 2.1.8 to 2.1.9

Files

Replace

virAttrCache=org.apache.syncope.core.provisioning.java.cache.MemoryVirAttrCache

with

virAttrCache=org.apache.syncope.core.provisioning.java.cache.CaffeineVirAttrCache
virAttrCacheSpec=maximumSize=5000,expireAfterAccess=1m

in core/src/main/resources/provisioning.properties

Replace the following files with their 2.1.9 counterparts (if found, re-apply any customization previously made; otherwise, skip):

SQL

In case PostgreSQL with JSONB support is configured for Internal Storage, the following views can be safely dropped:

DROP VIEW user_search;
DROP VIEW anyObject_search;
DROP VIEW group_search;

Connectors

Due to COMMONS-10 it is needed to upgrade any Groovy sync script used with Scripted SQL and REST connectors in order to return an empty attributes map along with DELETE results.

For example, the following code:

      def entity = [:];
      entity.put("operation", "DELETE");
      entity.put("uid", it.ID);
      entity.put("token", it.STATUS_DATE.toString());

shall be upgraded as follows:

      def entity = [:];
      entity.put("operation", "DELETE");
      entity.put("uid", it.ID);
      entity.put("token", it.STATUS_DATE.toString());
      entity.put("attributes", [:]);
  • No labels