Branch: refs/heads/tenantheader
Home:
https://github.com/hawkular/hawkular-metrics
Commit: 274264557d79f778f94aeb11c1e3d0a36ed93be7
https://github.com/hawkular/hawkular-metrics/commit/274264557d79f778f94ae...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Changed paths:
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/TenantIdFilter.java
Log Message:
-----------
Add a filter to transform requests that have tenantId as a query param when header
information is missing. The fallback mechanism gracefully attempts to recreate the
tenantId header if the param with an identical name is present. This will allow an easy
transition and backwards compatibility for clients that cannot set headers on requests.
Commit: f2c74f3b242f2e2a16cd0bfc1c03716467f1550c
https://github.com/hawkular/hawkular-metrics/commit/f2c74f3b242f2e2a16cd0...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Changed paths:
M
rest-tests/src/test/groovy/org/hawkular/metrics/rest/AvailabilityMetricStatisticsITest.groovy
M rest-tests/src/test/groovy/org/hawkular/metrics/rest/BaseITest.groovy
M rest-tests/src/test/groovy/org/hawkular/metrics/rest/CassandraBackendITest.groovy
M
rest-tests/src/test/groovy/org/hawkular/metrics/rest/GaugeMetricStatisticsITest.groovy
M rest-tests/src/test/groovy/org/hawkular/metrics/rest/TagsITest.groovy
Log Message:
-----------
Fix tests to set the tenant via the header information.
Commit: 9fc8c381edf88d599fcd3e25e58d51535f3d9ef0
https://github.com/hawkular/hawkular-metrics/commit/9fc8c381edf88d599fcd3...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-04-24 (Fri, 24 Apr 2015)
Changed paths:
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/AvailabilityHandler.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/CounterHandler.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/GaugeHandler.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/MetricHandler.java
Log Message:
-----------
The @Path property should be set not the value of @Api annotation.
Compare:
https://github.com/hawkular/hawkular-metrics/compare/28085aa55d64...9fc8c...