Class PrometheusLifecycleDescriptorTest
java.lang.Object
test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
test.de.iip_ecosphere.platform.monitoring.prometheus.PrometheusLifecycleDescriptorTest
public class PrometheusLifecycleDescriptorTest
extends test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
Testing
PrometheusLifecycleDescriptor.- Author:
- bettelsc, Holger Eichelberger, SSE
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionprivate classLocal exporter test mock.private classImplements the lifecycle for prometheus test.Nested classes/interfaces inherited from class test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest.MonitoringRecieverLifecycle -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected de.iip_ecosphere.platform.support.ServercreateBroker(de.iip_ecosphere.platform.support.ServerAddress broker) protected intstatic voidsetup()Sets up the plugins.voidTests the descriptor.Methods inherited from class test.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
runScenario
-
Constructor Details
-
PrometheusLifecycleDescriptorTest
public PrometheusLifecycleDescriptorTest()
-
-
Method Details
-
setup
public static void setup()Sets up the plugins. -
testDescriptor
public void testDescriptor()Tests the descriptor. -
createBroker
protected de.iip_ecosphere.platform.support.Server createBroker(de.iip_ecosphere.platform.support.ServerAddress broker) - Specified by:
createBrokerin classtest.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
-
getSleepTime
protected int getSleepTime()- Overrides:
getSleepTimein classtest.de.iip_ecosphere.platform.monitoring.AbstractMonitoringReceiverTest
-