Branch: refs/heads/HWKMETRICS-225
Home:
https://github.com/hawkular/hawkular-metrics
Commit: abc8165c801560e92b25a689eaeb2d4cccef69aa
https://github.com/hawkular/hawkular-metrics/commit/abc8165c801560e92b25a...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-08-19 (Wed, 19 Aug 2015)
Changed paths:
M api/metrics-api-jaxrs-1.1/pom.xml
Log Message:
-----------
Add plugin configuration to allow running the JAX-RS 1.1 implementation via maven
command line.
Commit: c4cc680b644f602deea8100cd519768795943805
https://github.com/hawkular/hawkular-metrics/commit/c4cc680b644f602deea81...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-08-19 (Wed, 19 Aug 2015)
Changed paths:
M
api/metrics-api-jaxrs-1.1/src/main/java/org/hawkular/metrics/api/jaxrs/filter/CorsFilter.java
M api/metrics-api-jaxrs-1.1/src/main/webapp/WEB-INF/web.xml
Log Message:
-----------
[HWKMETRICS-225] Revert JAX-RS 1.1 CORS filter implementation to simple servlet to be
able to prevent OPTIONS calls from reaching the router. Also, the code is simpler and
easier to debug when implemented like this.
Commit: c4e144f9cc9738644ba9697ad2d93ff81375c977
https://github.com/hawkular/hawkular-metrics/commit/c4e144f9cc9738644ba96...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-08-19 (Wed, 19 Aug 2015)
Changed paths:
A rest-tests/src/test/groovy/org/hawkular/metrics/rest/CORSITest.groovy
Log Message:
-----------
[HWKMETRICS-225] Add a simple test for CORS filters, the response status should always
be 200, because the request should never reach the routers since this is a pre-flight
call.
Commit: a09024aa17602bae31c18b7c81ec0024e5b73fb1
https://github.com/hawkular/hawkular-metrics/commit/a09024aa17602bae31c18...
Author: Stefan Negrea <snegrea(a)redhat.com>
Date: 2015-08-19 (Wed, 19 Aug 2015)
Changed paths:
M
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/HawkularMetricsRestApp.java
R
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/filter/CorsFilter.java
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/filter/CorsRequestFilter.java
A
api/metrics-api-jaxrs/src/main/java/org/hawkular/metrics/api/jaxrs/filter/CorsResponseFilter.java
Log Message:
-----------
[HWKMETRICS-225] Update the JAX-RS 2.0 implementation to match the expected simplified
behaviour already in place in JAX-RS 1.1 implementation.
Compare:
https://github.com/hawkular/hawkular-metrics/compare/abc8165c8015^...a090...