Hi,

I'm currently evaluating the Syncope upgrade procedure from 1.1.X to
1.2.X (see the description in the Wiki[1]).

I'm not sure what is the recommended way to deal with the internal storage
(src/main/resources/content.xml).
The Wiki page says at first that one should "configure the internal storage
as done for the former 1.1.X project", then "change content.xml leaving
only new Entitlements".

Should one have a specific version of content.xml that is only relevant for
the upgrade? (which then cannot be used to set up a new instance from an
empty database)
Should everything be commented out but the new entitlements, or should one
only comment out the entitlements that already exist in the database
and leave other declarations in (such as policies)? If I comment out everything
but the new entitlements, I get an error message about a missing
notificationJob.cronExpression  (NullPointerException) on initialisation
(in JobInstanceLoader).
If I leave other declarations (such as config settings) in, won't they
overwrite the existing configuration in my 1.1.X database?
There seems to be a mechanism in content upgrader that explicitly doesn't
migrate some config settings (such as notificationJob.cronExpression) -
must these then be manually set again to their previous values in the
1.1.X database?

Cheers,
  Guido

[1] 
https://cwiki.apache.org/confluence/display/SYNCOPE/Upgrade+from+1.1.X+to+1.2.X

Reply via email to