rfellows commented on issue #211: NIFIREG-295 Add support for proxying via 
Apache Knox
URL: https://github.com/apache/nifi-registry/pull/211#issuecomment-521759290
 
 
   > @rfellows @mcgilman Do you have any solution to handle this? A possible 
one would be changing how webpack inject the resource links. For example, 
injecting a script block that will add 'link' and 'script' tags dynamically 
after the 'base' tag is added, so that the relative paths are evaluated 
correctly. I don't know where to change to do that, though... How do you think?
   
   @ijokarumawak I spent some time working this and came up with an alternative 
approach. It basically uses URL fragments rather than the entire URL... making 
everything work from the same "base" location.
   
   I added 2 commits on top of yours in my own fork (but i rebased your work on 
to the latest from master first):
   
https://github.com/ijokarumawak/nifi-registry/compare/nifireg-295...rfellows:pr211?expand=1
   
   So, if you rebase your work on apache master, you should be able to 
cherry-pick my last 2 commits from my branch 
(https://github.com/rfellows/nifi-registry/tree/pr211) and have it work for you.
   
   I tested normal mode, dev mode, and through knox. I was not able to 
successfully test a secured version of registry through knox however. I am not 
sure it that is supported or not and if it is, how to configure it properly.
   
   Let me know if you have any questions.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to