public abstract class AbstractStorageIntegrationTest extends Object
| Modifier and Type | Field and Description |
|---|---|
protected List<org.opennms.integration.api.v1.timeseries.Metric> |
metrics |
protected List<org.opennms.integration.api.v1.timeseries.Sample> |
samplesOfFirstMetric |
protected org.opennms.integration.api.v1.timeseries.TimeSeriesStorage |
storage |
| Constructor and Description |
|---|
AbstractStorageIntegrationTest() |
| Modifier and Type | Method and Description |
|---|---|
protected abstract org.opennms.integration.api.v1.timeseries.TimeSeriesStorage |
createStorage()
Create the TimeSeriesStorage implementation.
|
void |
setUp() |
void |
shouldDeleteMetrics() |
void |
shouldGetSamplesForMetric() |
void |
shouldLoadMetricsByWildcardTag() |
void |
shouldLoadMultipleMetricsWithSameTag() |
void |
shouldLoadOneMetricsWithUniqueTag() |
protected void |
waitForPersistingChanges()
Default implementation does nothing.
|
protected List<org.opennms.integration.api.v1.timeseries.Metric> metrics
protected List<org.opennms.integration.api.v1.timeseries.Sample> samplesOfFirstMetric
protected org.opennms.integration.api.v1.timeseries.TimeSeriesStorage storage
public void setUp()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionprotected abstract org.opennms.integration.api.v1.timeseries.TimeSeriesStorage createStorage()
protected void waitForPersistingChanges()
public void shouldLoadMultipleMetricsWithSameTag()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionpublic void shouldLoadOneMetricsWithUniqueTag()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionpublic void shouldLoadMetricsByWildcardTag()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionpublic void shouldGetSamplesForMetric()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionpublic void shouldDeleteMetrics()
throws org.opennms.integration.api.v1.timeseries.StorageException
org.opennms.integration.api.v1.timeseries.StorageExceptionCopyright © 2020. All rights reserved.