Hi Sandeep,
In gateway.log I get this:
2018-08-17 04:49:38,760 DEBUG hadoop.gateway (GatewayFilter.java:doFilter(116))
- Received request: GET /grafana/api/datasources/proxy/1/ws/v1/timeline/metrics
2018-08-17 04:49:38,763 DEBUG hadoop.gateway
(UrlRewriteProcessor.java:rewrite(166)) - Rewrote
Greetings,
I’m facing a weird issue on enabling knox-sso functionality for exposing UI’s
running in AWS EMR. On enabling knox-sso, I tried to access the YARNUI site –
after authentication its throwing java.lang.null.pointer exception but on
submitting the url again (without clearing the
Hello Priyanka,
I am not aware of CDAP UI support for Knox, we would be glad if you could
contribute !
About the filters they can be a bit tricky, try to turn on the debug log
and see what rewrite rules are failing that can narrow down a lot of errors.
For JS filters you can use regex to rewrite
Hello Divya,
Looking at the URL you posted looks like you are using the wrong dispatch
class, URLDecodingDispatch is used for URLs that are already encoded,
looking at your example URL it looks like it is partially encoded (e.g. the
query params &), in-fact looks like it is not properly encoded.
Hello Priyanka,
Sometimes the content types do not match, can you check if the response
type you are getting back is indeed "application/javascript" ?
Also, try using a broader rule on service.xml for testing something like /
Do you see any failures in gateway.log, i.e. failure to apply rules
Hi ,
I tried to integrate grafana UI with knox gateway. I used URLDecodingDispatch
class but there were some calls which were failing like:
Hi,
I need some help on a rewrite rule.I have a java script which is internally
calling other java scripts.So I tried to modify the url of those javascript
using filters.
Java scripts url :
But these requests are not changing.