You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nifi.apache.org by al...@apache.org on 2016/04/22 06:18:25 UTC

nifi git commit: NIFI-1802 Separated /access REST API endpoints into separate section in API docs. Fixed typo in DocGenerator comments.

Repository: nifi
Updated Branches:
  refs/heads/master 531491131 -> 9ea227567


NIFI-1802 Separated /access REST API endpoints into separate section in API docs.
Fixed typo in DocGenerator comments.

This closes #376.

Signed-off-by: Andy LoPresto <al...@apache.org>


Project: http://git-wip-us.apache.org/repos/asf/nifi/repo
Commit: http://git-wip-us.apache.org/repos/asf/nifi/commit/9ea22756
Tree: http://git-wip-us.apache.org/repos/asf/nifi/tree/9ea22756
Diff: http://git-wip-us.apache.org/repos/asf/nifi/diff/9ea22756

Branch: refs/heads/master
Commit: 9ea22756774a69db274513ceb83706ee95c9ed21
Parents: 5314911
Author: Andy LoPresto <al...@apache.org>
Authored: Thu Apr 21 19:52:24 2016 -0700
Committer: Andy LoPresto <al...@apache.org>
Committed: Thu Apr 21 21:18:14 2016 -0700

----------------------------------------------------------------------
 .../java/org/apache/nifi/documentation/DocGenerator.java    | 3 +--
 .../src/main/resources/templates/index.html.hbs             | 9 +++++++++
 2 files changed, 10 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/nifi/blob/9ea22756/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/DocGenerator.java
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/DocGenerator.java b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/DocGenerator.java
index 3b29102..d3fbc6f 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/DocGenerator.java
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-documentation/src/main/java/org/apache/nifi/documentation/DocGenerator.java
@@ -24,7 +24,6 @@ import java.io.IOException;
 import java.io.OutputStream;
 import java.util.HashSet;
 import java.util.Set;
-
 import org.apache.nifi.components.ConfigurableComponent;
 import org.apache.nifi.controller.ControllerService;
 import org.apache.nifi.documentation.html.HtmlDocumentationWriter;
@@ -82,7 +81,7 @@ public class DocGenerator {
     }
 
     /**
-     * Generates the documentation for a particular configurable comopnent. Will
+     * Generates the documentation for a particular configurable component. Will
      * check to see if an "additionalDetails.html" file exists and will link
      * that from the generated documentation.
      *

http://git-wip-us.apache.org/repos/asf/nifi/blob/9ea22756/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs
----------------------------------------------------------------------
diff --git a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs
index 9627415..2e9347e 100644
--- a/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs
+++ b/nifi-nar-bundles/nifi-framework-bundle/nifi-framework/nifi-web/nifi-web-api/src/main/resources/templates/index.html.hbs
@@ -446,6 +446,7 @@
                 organizeEndpoints('labels', $('#label-endpoints'));
                 organizeEndpoints('process-groups', $('#process-group-endpoints'));
                 organizeEndpoints('history', $('#history-endpoints'));
+                organizeEndpoints('access', $('#access-endpoints'));
                 organizeEndpoints(null, $('#controller-endpoints'));
                 
                 
@@ -467,6 +468,14 @@
         <div class="overview">{{info.description}}</div>
         <div class="section">
             <div class="section-header">
+                <div class="title link">Access</div>
+                <div class="sub-title section-description">User authentication and token endpoints</div>
+                <div class="clear"></div>
+            </div>
+            <div id="access-endpoints" class="section-endpoints hidden"></div>
+        </div>
+        <div class="section">
+            <div class="section-header">
                 <div class="title link">Controller</div>
                 <div class="sub-title section-description">Get controller configuration, Search the flow, Manage templates, System diagnostics</div>
                 <div class="clear"></div>