Branch: refs/heads/implicit-tenants
Home:
https://github.com/hawkular/hawkular-metrics
Commit: 67a373346b0c81ea6c2c8f03c7a7eb48cb6b9c8b
https://github.com/hawkular/hawkular-metrics/commit/67a373346b0c81ea6c2c8...
Author: John Sanda <jsanda(a)redhat.com>
Date: 2015-08-17 (Mon, 17 Aug 2015)
Changed paths:
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricsServiceLifecycle.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/handler/VirtualClockHandler.java
M
core/metrics-core-impl/src/test/java/org/hawkular/metrics/core/impl/GenerateRateITest.java
M core/metrics-core-impl/src/test/java/org/hawkular/metrics/core/impl/RatesITest.java
M rest-tests/src/test/groovy/org/hawkular/metrics/rest/CountersITest.groovy
M rest-tests/src/test/groovy/org/hawkular/metrics/rest/TenantITest.groovy
Log Message:
-----------
[HWKMETRICS-204] adding and updating tests
Adding REST API tests to verify tenants are created after inserting counter and
availability data points.
There are some changes and fixes with the virtual clock stuff.
MetricsServiceLifecycle now starts the task scheduler even when a virtual
clock is being used. The /hawkular/metrics/clock/wait endpoint now advances the
clock and then blocks for the specified duration.
Lastly, this commit fixes the set up in some of the core/impl tests.
DateTimeService now has to be injected into MetricsServiceImpl.