Dan Bress created NIFI-638:
------------------------------

             Summary: Rest API documentation is not clickable
                 Key: NIFI-638
                 URL: https://issues.apache.org/jira/browse/NIFI-638
             Project: Apache NiFi
          Issue Type: Bug
          Components: Core Framework
    Affects Versions: 0.1.0
            Reporter: Dan Bress
            Priority: Critical


When I try and access the Rest Api documentation inside of a running instance 
of Apache NiFi none of the links work.  I cannot click on Controller, Process 
Groups, Processors, Connections... etc and get the Rest Api documentation for 
them.

I did a little digging, and if you look here:
https://github.com/apache/incubator-nifi/blob/develop/nifi/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs#L21

You will see that the page is loading jquery with this relative path:
../nifi/js/jquery/jquery-2.1.1.min.js

>From this absolute path:
http://localhost:8080/nifi-docs/nifi/js/jquery/jquery-2.1.1.min.js

When it probably should be this relative path:
../../nifi/js/jquery/jquery-2.1.1.min.js

To get this absolute path:
http://localhost:8080/nifi/js/jquery/jquery-2.1.1.min.js



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to