bbende commented on issue #211: NIFIREG-295 Add support for proxying via Apache 
Knox
URL: https://github.com/apache/nifi-registry/pull/211#issuecomment-519958603
 
 
   @ijokarumawak one more thing to consider is that some of the entities 
returned by the REST API have a Link object which gets populated from 
LinkService. Some of the links are relative, but some are full:
   
   
https://github.com/apache/nifi-registry/blob/master/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/link/LinkService.java#L337
   
   The baseURI comes from ApplicationResource getBaseUri() which looks at the 
proxy headers:
   
   
https://github.com/apache/nifi-registry/blob/master/nifi-registry-core/nifi-registry-web-api/src/main/java/org/apache/nifi/registry/web/api/ApplicationResource.java#L80-L83
   
   So I think we just need to make sure these links are correct when proxying 
through Knox.

----------------------------------------------------------------
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