Removed commented out code referencing the UserManager.

Change-Id: Ia60af082683eea4341c3b0efd5a1cc060ded1e88
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Edited the information page for SPC SVC.

Change-Id: Iaa3037c0c39b919139fe560f984a6d32e161d485
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added first MeasurementSpecificationServices.

The first services (listing and switching) have been implemented, but
not yet tested.

Change-Id: Ia26ca13dcfc0cdd65452ba6a297e488381e62508
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removec unused import from AccountServiceTest.

Change-Id: Ifcb1f32c0d105725f7757ce422de425013cba5b9
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a simple tester to test the information service.

Motto: Better test simple rather than no testing.

Change-Id: I6c7d52b25c477d7d05d4686a90d093e2a39e4c33
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Renamed the information service class, to have a service suffix.

With the suffix it's fast spossible to detec REST service classes.

Change-Id: I891379d2d4319dc6c65dc820c5dc6ad61ad62e5e
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Append from commit before: Renamed the scenario service class to
ScenarioService to detect REST classes much faster.

Changes the name for the test class, too.

Change-Id: I6c380ad574e60d4f91933b000a7f68e4f38e20f9
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed the drop table function on program start by EclipseLink. This
caused an error in a test where I used a fixed token.

As all tokens were reset at the beginning, the chosen fixed token was
corrupt after a new start. So the function has been disabled now as we
are not in database development any more.

Change-Id: I830bc308629fb803a57a5a4c992758ec520e22a1
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Double definition of a method found. Redirected one service method to
the other. The methods can not be merged, as one is a REST service an
listening to requests and the other methods used by other REST services,
too. Otherwise a REST service must call another one which is quite
nasty.

Change-Id: Ieadc383bd49a587105631d0da6b792fe06143896
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Removed an unused comment to the old fashion UserManager.

Change-Id: I48ceacd63aa58df01a5f29fdc348c5db6e56a901
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Fixed the constructor of the User which leaded to
Null-Pointer-Exceptions! We need to initialize a default
ScenarioDefinitionBuilder, as otherwise a request to this one by a fresh
created account is a NullPointer-Request!
A default Account creation was added for safety, too.

Change-Id: I4580b5f6d425bb67a7822fb57538d288541b913e
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added a token parameter name to the service configuration.

Change-Id: I219e2afa9efd5a83c9c1aae64fb2a4d225f138aa
Signed-off-by: Peter Merkert <p.merkert@sap.com>
Added test to the MeasurementSpecService REST services.

The test creates a new scenario and checks if there is afterwards at
least one measurementSpecification. At least one must be there, because
the newly created or available scenario need one
MeasurementSpecification.

TODO: Check the other methods in the MeasurementSpecService, too.

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