Branch: refs/heads/HWKMETRICS-478
Home:
https://github.com/hawkular/hawkular-metrics
Commit: bdaf0268582cfd7a35fc2392a5c8034e8fa14e9a
https://github.com/hawkular/hawkular-metrics/commit/bdaf0268582cfd7a35fc2...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-09-28 (Wed, 28 Sep 2016)
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/filter/TenantFilter.java
M
api/metrics-api-util/src/main/java/org/hawkular/metrics/api/jaxrs/config/ConfigurationKey.java
M
core/configuration-service/src/main/java/org/hawkular/metrics/sysconfig/ConfigurationService.java
M
core/metrics-core-service/src/main/java/org/hawkular/metrics/core/service/MetricsServiceImpl.java
M integration-tests/rest-tests-jaxrs/pom.xml
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CassandraBackendITest.groovy
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/CountersITest.groovy
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/GaugesITest.groovy
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/RESTTest.groovy
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/TenantITest.groovy
Log Message:
-----------
[HWKMETRICS-478] Protect /tenants endpoint with a secret admin token. The token can be
set or reset at startup via configuration property.
Commit: 4d922f88a61b59756d061b8ea4a1bc2f633a626c
https://github.com/hawkular/hawkular-metrics/commit/4d922f88a61b59756d061...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2016-09-28 (Wed, 28 Sep 2016)
Changed paths:
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/filter/AdminFilter.java
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/filter/TenantFilter.java
M containers/metrics-api-jaxrs-openshift/pom.xml
M
integration-tests/rest-tests-jaxrs/src/test/groovy/org/hawkular/metrics/rest/TenantITest.groovy
Log Message:
-----------
[HWKMETRICS-478] Make a separate admin filter that does not get packaged in the
container distribution.
Compare:
https://github.com/hawkular/hawkular-metrics/compare/c4570b57b7f0...4d922...