Added service to get Account related to a given usertoken. The Account
is e.g. needed to setup a scheduled scenario an might be userful
afterwards.

Change-Id: I9b66b56a7a61e23d201c4cd522f9776060c19604
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added comment for an execution service method.

Change-Id: I9250543b7cedb695d1c26ba5dac99ed619daa0d8
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a test for the execution service removing the whole scheduling
list for an account. The test works fine, but for more security a
cleanup method was added, too. The database scheduling events for the
test account are always cleaned up after a test.

Change-Id: I8d7fab05b8a68912119d8909a36f5a67bd221442
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added the local database host and port to local configuration. Before
these configuration were taken from METADATA entries in the sopeco core
persistence configuration.
Changed the default persistence.xml configuration to the sopeco-service
database. As the sopeco-jpa database is not used anyway and the
configuration always overwritten, then it can be sopeco-service by
default.

Change-Id: I792bb71e012fe6089f73e2a0c2a31c6a7addc6e6
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added classwide variable to ScenarioService.

Change-Id: If3d2b21f82652fd7d550d8df5300e6c4fa04fde7
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Changed getControllerList method in MeasurementControllerService to PUT
(begore GET). Needed to do this, to pas an JSON Object (in this case
MEControllerProtocol) to the method. GET methods does not support
passing JSON objects to them.

Change-Id: Ica9a901610e6e9079c1ec83c8025aeef7091fcc1
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Fixed the equals method of ScheduledExperiment, because the string
comparison was wrong.

Change-Id: Ia793a9424baf822a25af7c7334c07552a0d42898
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added loadScheduledExperiment method to load a single schedulede
experiment with a given id out of the database.

Change-Id: I54815ca35c0b3c93913d5c88f79cd19f4d31e799
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added configuration properties for the ExecutionService.

Change-Id: I6ba46cf8c3d1266667262f6505c2acda372d5497
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added method to activate and deactivate a singkle scheduelde experiment.
Added test for this method, too.

TODO: Catch null values on REST interfaces. Now, a 204 is returned when
a null-value is returned. But I want to catch the null value, to check
it and not to stop the program because of an error.

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