Added a new MixIn for ScenarioInstaces.

Change-Id: I04d0e0f8f277b300dff92ab768efd95a41b2c766
Signed-off-by: d061465 <p.merkert@sap.com>
Added output for searching an experiment with an experiment key.
Especially found a string comparison with "==" in ExecutionQueue, which
could caused some failures.

Change-Id: I5de6d326ea9bd02890b6da0d0004235e84c4a99f
Signed-off-by: d061465 <p.merkert@sap.com>
Fixed the MixIn for the ScenarioInstance. Removed an method annotation
and renamed the field inside SPC Core.
However, need a new annotation, because of recursive data structures in
the ScenarioInstanceMixIn. Have a look at the class comment for more
details.

Change-Id: I787a56fbdb44ec7e460a17b5e75e93c5dca6035e
Signed-off-by: d061465 <p.merkert@sap.com>
Added a DataSetInputColumnMixIn and ParameterValueMixIn to enable the
possible to (de)serialize a ScenarioInstance in JSON.

Change-Id: Ic417ee77ec449d8b6c1c4af9ab21ee3634c5b6bb
Signed-off-by: d061465 <p.merkert@sap.com>
Added DataSetInputColumnMixIn for correct JSON (de)serialization. Added
additional ignor method to the DataSetInputColumnMixIn. Added a
FasterXML contructor in ParameterValueMixIn.

Change-Id: I58f8b7ef8414242c78a6a78d86ede1397768854f
Signed-off-by: d061465 <p.merkert@sap.com>
Added additional MixIns to (de)serialize a ScenarioInstance correctly
with JSON.

Change-Id: I65f3ad5a4c62f2b7c98701e3baf39c3477e6a433
Signed-off-by: d061465 <p.merkert@sap.com>
Added a shortcut to the tests, that they are skipped. This is used to
have fast compiling when debugging.

Change-Id: Icac32c015cd6e7df492b7a13afb4f943cc05bc84
Signed-off-by: d061465 <p.merkert@sap.com>
Currently working on the MixIns, to translate the ScenarioInstance
correctly when parsing in JSON.

Change-Id: Ie4e9094872d7c73d5ad48bd6a57246b5f764a842
Signed-off-by: d061465 <p.merkert@sap.com>
The parsing is still running. Now, when adding the ExperimentSeries
list, it will explode.

Change-Id: I638051c428670bfc1caf9d95c33339e4ea93b8d5
Signed-off-by: d061465 <p.merkert@sap.com>
Added a new Service to return a result (DataSetAggregated). This is
mostly called by clients, which requested the ScenarioInstances.

Added a ExperimentSeriesRunDecorator to overwrite certain methods for
the ExperimentSeriesRun class, because it depends on a
PersistenceProvider to the SoPeCo account database. However, the client
should never have a persistence provider. To overwrite these methods,
the ExperimentSeriesRunDecorator has been introduced.
The ExperimentSeriesRunDecorator is injected into the ScenarioInstance
list, the client gets, therefor the ScenarioService has changed.

As the actual results are "lazy loaded", the
ExperimentSeriesRunDecorator calls the Service Layer, when a certein
result is requested.
TODO: Currently, the DataSetAggregated cannot be fetched from the
ServiceLayer, because we have JSON parsing exceptions when
(de)serializing the DataSetAggregated.

Change-Id: Id93ad51acbf48b0a268df056a9cdb2e7c8f2148a
Signed-off-by: d061465 <p.merkert@sap.com>
Removed unused import.

Change-Id: Ia136cb48a1639ad19a59fe1ba9f981a1d87b476e
Signed-off-by: d061465 <p.merkert@sap.com>
Removed unused imports.

Change-Id: Ie443ad2776284c707fcdeae02ca01589d1a42663
Signed-off-by: d061465 <p.merkert@sap.com>
Added size and id to JsonProperties in DataSetAggregatedMixIn, as they
might be not detected automatically because they are private. Added more
methods to JsonIgnore in the file.

Change-Id: If2919ae17f3441e244a4715efbd0fa7c4cafa664
Signed-off-by: d061465 <p.merkert@sap.com>
Reactivated the ParameterValueListMixIn, as the DataSetAggregated still
cannot be parsed correctly to Json. The ParameterValueListMixIn has been
added to the CustomObjectMapper.

The ExperimentSeriesRunDecorator now uses the CustomObjectMapper to
deserialize Json Strings.

Change-Id: Ib70a315449e13f5e28e8b4bf7e5d0f67749ea42c
Signed-off-by: d061465 <p.merkert@sap.com>
Fixed bug in Service, when a single ScenarioInstance is requiested, the
ExperimentSeriesRuns were not converted into
ExperimentSeriesRunDecorators.
Now both methods to fetch the ScenarioInstance convert the
ExperimentSeriesRuns correctly.

Change-Id: I01994f653f5cf0d292fa09e1fab008d6cabc2505
Signed-off-by: d061465 <p.merkert@sap.com>
Added DataSetRowMixIn to fix problems when traversing the results in the
ScenarioInstance. The CustomObjectMapper now uses the DataSetRowMixIn.

For security reasons, in ParameterValueListMixIn the private fields are
now annotated with JsonProperty annotations. This is redundant, as the
fields are already detected by Json automatically, but I was not sure if
this is a reason for a fail when reading experiment results.
Added a MixIn for AbstractDataSetColumnMixIn to respect inheritance when
serializing with JSON.

Change-Id: I0afb770ca4e943ccfda9a0747723dee8e7915d98
Signed-off-by: d061465 <p.merkert@sap.com>
Fixed MixIns to debug the problem, that ObeservationParameters are not
correctly serialized. But actually, they are not even passed!

Change-Id: Ia536a0b3aaa58b2893ca15a3cbc4150cc0c5d805
Signed-off-by: d061465 <p.merkert@sap.com>
Trying to fetch the whole URI of the servlet.

Change-Id: Ia0274f9330fe8bee943afedfd77de146b17422c3
Signed-off-by: d061465 <p.merkert@sap.com>
Removed the context injector for UriInfo. It does not contain the whole
URI.

Change-Id: Ieb5df2ab60b3c4ae48d695602d1387576b2cec6c
Signed-off-by: d061465 <p.merkert@sap.com>