Merge pull request #94 from AlexanderWert/master

Added dynamic spotter icons
Remove unused plug-ins in dependencies

Change-Id: I43f5cbc6cdaaa7ffb37c1f961008260dafb6f540
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Fix broken paths to resources

Adjusted the path to be in accordance with the path generated by
ResultManager.

Change-Id: If01b00c9f61afdfd73ea75361c3a526e73289231
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Fix display message on diagnosis failure

When the diagnosis fails, an according error message is displayed now.
Maybe the text of the error message should be polished more.

Change-Id: Ie0c4ecc91ff8c164f752644979072a8c8f9a13bc
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Do some clean up and minor fixes for stability

Fixed a bug when loading a file whose extensions were not present.
Replaced all occurrences of MessageDialog to use DialogUtils instead.

Change-Id: I42a078fbfb6c48177ad1bedfde98d5ef9c416481
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Remove caching inside extension items

Whenever the cache is resetted, a timestamp is updated. The next time an
already configured extension item requests a ConfigParameterDescription
it first checks whether it has to fetch fresh data from the DS Service.

Change-Id: Iaf728bca0bbb6607fa204321beed23fa2c43ba32
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #95 from DenisKnoepfle/master

Clean up / Stability fixes
Fix client and launcher test

Had to add a shutdown at begin to ensure that no service is already
using the given port. Changed the port used in SpotterServiceClientTest
to 11337, the same exotic port as in ServerLauncherTest.

Change-Id: I2a7867c47dfe4ff90cce300cf1db331cceab749b
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Fix address in use bug in tests

Added a delay before starting the new server, only starting server once
in ServiceClientTest as it was not required to shutdown each time.
Shutting down let to complete thread termination so that other tests
would not be executed anymore.

Change-Id: I81f538669a8634e4b9add95fda7783fd5b63e72a
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Catch general exception to signal failure

Catching only InstrumentationException, MeasurementException and
WorkloadException would not forward different exceptions that may occur
during initialization of GlobalConfiguration, e.g. for wrong parameters
"" for filename.

Change-Id: I2cf43cbb7468e593ec517f581cbbea84de424ff1
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #96 from DenisKnoepfle/master

Fix bugs concerning ServiceClient and ServerLauncher
Disable startDiagnosis test temporarily

That test and isRunning test are tightly coupled and there is more
testing necessary first to avoid an infinite-loop in testIsRunning. It
is unclear what happens if checkForConcurrentException is called twice.

Change-Id: I08f0d211e67b042d8b7d18b2d49054bdae2f965e
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #97 from DenisKnoepfle/master

Disable startDiagnosis test temporarily
Add plug-in fragment as test plug-in for the UI (#68)

Added a fragment that connects to the host which is the UI.
Removed the server shutdown at the SpotterServiceClientTest which caused
trouble during testing phase.
Added first unit test for Eclipse UI.

Change-Id: I0d925510e6a75d5293025aab1ad9a84b9b80d6e3
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Disable ui test module in parent pom

Change-Id: Id82551bbc7155b746eb594048e65c755455b92c9
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #98 from DenisKnoepfle/master

Add plug-in fragment as test plug-in for the UI (#68)
Minor change

Changed catched exception to error.

Change-Id: I12f4da45dfaa523071cda751cd69e2d9f4a7a64e
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Update DS icons

Change-Id: Idcc41aa13edf8e6467129f9876b6e7c215c930f3
Signed-off-by: Denis Knoepfle <denis.knoepfle@sap.com>
Merge pull request #99 from DenisKnoepfle/master

Update DS icons
renamed Instrumentation and Measurement adapter and changed
workloadAdapter interface

Change-Id: I5ddb3c42900677e74d8ed46ea06948f7c0406ea0
Signed-off-by: Alexander Wert <alexander.wert@sap.com>