Details
-
Task
-
Status: Closed
-
Normal
-
Resolution: Fixed
-
None
-
None
-
None
-
5
-
Orion
-
Orion.Cycle4.Sprint
-
Medium
-
Medium (3-5)
Description
The developer's tool Configuration Verifier exists to check changes on upgrade, see https://xmdocumentation.bloomreach.com/library/enterprise/enterprise-features/enterprise-configuration-management/configuration-verifier.html
It's basically a "verify-configuration" profile in the Enterprise release pom that runs Cargo in a customized way, on a local database, then sets system property repo.verify.configuration which is responded to by the internal com.onehippo.cm.engine.verifier.ConfigurationVerifier class.
It will write any found differences to "configuration-verifier-output" subfolder.
This is not working yet on 16, probably because of the customized Cargo which sed Tomcat 8/9 implementations, and these should be on Tomcat 10:
<profile> <!-- the verify-configuration profile must be combined with profile cargo:run to run the Configuration Verifier: $ mvn -P cargo.run,verify-configuration --> <id>verify-configuration</id> <build> <!-- // snipped --> <plugins> <plugin> <groupId>org.codehaus.cargo</groupId> <artifactId>cargo-maven2-plugin</artifactId> <configuration> <configuration> <implementation>org.onehippo.cms.cargo.tomcat.SkippingWarsTomcat8x9xStandaloneLocalConfiguration</implementation> <!-- // snipped --> </configuration> <container> <implementation>org.onehippo.cms.cargo.tomcat.OrderedWarDeployingTomcat8x9xInstalledLocalContainer</implementation> <!-- // snipped --> </container> </configuration> </plugin> </plugins> </build> </profile>
SkippingWarsTomcat8x9xStandaloneLocalConfiguration and OrderedWarDeployingTomcat8x9xInstalledLocalContainer is custom code from https://code.bloomreach.com/engineering/xm/hippo-cargo-extensions so a new release there is in order.