Moved a QueryParam name to a static class field. This makes refactoring
easier and the code looks much nicer.

Change-Id: I106c0bb872604375ed3da3616c30f9208192b585
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed unused import of JacksonJaxbJsonProvider.

Change-Id: Ie1dea3e5744621ab86b99bb7bac72147878e0aa9
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added an @After run in the MeasurementControllerServiceTest class to
clean up the database from a default created scenario by the tests.

There is one thing, that's not the best: A new empty scenario to switch
to must be created in the cleanup. The scenario focus must the switched
and therefore we need a empty scenario in the database.

Change-Id: Id6fd46f1600c14f2311d5dba49d8e52fcd4969bc
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Moved test for adding scenario into the ScenarioService. The database
must never be in an unstable state and therefor, there are now several
tests for a newly added scenario to have a valid state.

Valid state means: The scenario can be safly exported via XML. This
feature is implemented in SoPeCo Core and a valid scenario is there: A
scenario with an (non-null) ExperiementSeriesDefinition and (non-null)
ExplroationStrategy.

Change-Id: I0954e0e9e340b53961d2d1f60a24510a2994af4a
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Moved MeasurementDefinition stuff out of the
MeasurementControllerService into MeasurementDefinitionService. Both
were mixed up, but are seperated. This is now changed. The test were
changed to the new URIs.

Change-Id: I7dd2f7819e839bcd8b1d282bf990d251fd208d22
Signed-off-by: Peter Merkert <p.merkert@sap.com>