Added a test to the scenario addition method and changed it to accept a
JSON object.

Now the scenario addition can be fulfilled with an
experimentdefinitionbuilder convertet to JSON via Jackson.

Added a test to test the addScenario to check the possibility to add a
scenario. And it works! Checked the addition of a scenario in the
database and the scenario is really added to the scenario.


Change-Id: Ice54ce30c9d5ff5aa931335826d65c6f3ea003c7
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Changed account login from pathparams to queryparams.

As queryparams are much nicer in this case as pathparams and each param
between "/", I changed the passing from PathParam to QueryParam (add
params with "?" after request URI).

Needed to change a test (ScenarioTest) where the PathParams were used
and not QueryParams.

Change-Id: I1eee99dfa44b8bcd1c061dabf54e2a7a20aaa2c4
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Surpress unused warning to a logger

As the logger is sometimes just not used, but very useful to test some
feature I start to surpress the warning to be unused for the logger.
Most of the times it's not really necessary to use the logger or commit
to GIT with activated loggin features, which were only used to debug.

Change-Id: If7b6c740a1a0d6e2024e8c3cc1d7eff8ad6e939b
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added another surpressWarning for an unused logger.

See commit before for more information.

Change-Id: Iba77654670ddbf1b05570a3777bb37a6890b0ed1
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed test for a POST+JSON passing example.

The HTTP POST request with JSON POJO passing is now implemented in the
scenario addition feature. So now it's possible to copy the example from
the "testScenarioAddition()" in ScenarioTest.java.

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

Change-Id: I19853bb0633c5a67170d5f61d419ee2930c0bf30
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed the updateQuery in the persitence provider.

Currently the feature it not used. As there must not be any warning in
the project the method is commented out till it's used.
Removed a therefore unused import, too.

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