Branch: refs/heads/master
Home:
https://github.com/hawkular/hawkular-metrics
Commit: bd1674882ee980b56b12e6f25976cee118c3829e
https://github.com/hawkular/hawkular-metrics/commit/bd1674882ee980b56b12e...
Author: Thomas Segismont <tsegismo(a)redhat.com>
Date: 2015-05-13 (Wed, 13 May 2015)
Changed paths:
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/influx/prettyprint/PrettyFilter.java
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/influx/prettyprint/PrettyInterceptor.java
Log Message:
-----------
HWKMETRICS-67 Influx endpoint: support pretty print query parameter
PrettyFilter checks if the output should be formatted and PrettyInterceptor intercepts
JSON response to format it.
I've tried to find how to interact with the RestEasy Jackson mappers directly but the
solution would have been hard to maintain.
Here there's a little overhead due to parsing of the entity stream. But this will only
be used by humans for a fraction of requests.
Commit: 6c911343bc9e54a84571358410add60ee3c93beb
https://github.com/hawkular/hawkular-metrics/commit/6c911343bc9e54a845713...
Author: jsanda <jsanda(a)redhat.com>
Date: 2015-05-18 (Mon, 18 May 2015)
Changed paths:
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/influx/prettyprint/PrettyFilter.java
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/influx/prettyprint/PrettyInterceptor.java
Log Message:
-----------
Merge pull request #211 from tsegismont/jira/HWKMETRICS-67
HWKMETRICS-67 Influx endpoint: support pretty print query parameter
Compare:
https://github.com/hawkular/hawkular-metrics/compare/2765c1b5ca4c...6c911...