[refactoring] XMLDiffUtil#assertEquals() obsolete boolean parameter

Change-Id: Id710ee0e971e8f1b5f2d2a1d9452bcfbb9bf5c04
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
XMLDiffUtil should support alternative diff options

By default only the DEFAULT_DIFF_OPTIONS are excluded from the
diff, but in some cases one might need more control of the
diff options to apply.

Differences in whitespace, comments and attribute order are now
always ignored.

Some javadoc improvements.

Change-Id: I09921cb7c3fe47faeb1b3802ec825e4a2c04ddda
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
[refactoring] Extract DiffOptions as class XMLDiffOptions

Change-Id: I44cef11f4372306d18a8f40690268678bb6eb88a
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Potential NPE in DestinationComponent#setProxy()

If a configuration service is available but no proxy
configuration defined, a NullPointerException will be thrown.
In that case, the algorithm should fall back to the system
properties.

Change-Id: I7d5762ea86868be7fef299b70020da5d1978a619
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>
Unit tests for comparing v1 and v2 XML REST output

This patch adds a test that connects to a running Skalli instance
specified with a system property "skalli.itest.host", for example
http://localhost:8080, iterates over all projects in chunks of
10 projects and compares the XML response produced by the old (v1)
and the new (v2) REST writers. Since the output is expected to
be slightly different, a dedicated XMLUnit DfferenceListener must
be applied.

Note, for running this test in Tycho, add something like

  -Dskalli.itest.host=http://localhost:8080

to the <testArgLine> property in the reactor POM because surefire
tests are executed in a separate process.

Change-Id: I0296f468a4b055fb1eedd3d6597e9c7b98d02d70
Signed-off-by: Michael Ochmann <michael.ochmann@sap.com>