You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by GitBox <gi...@apache.org> on 2018/12/28 17:24:43 UTC

[GitHub] kkhatua commented on a change in pull request #1588: DRILL-6921: Add Clear button for /options filter

kkhatua commented on a change in pull request #1588: DRILL-6921: Add Clear button for /options filter
URL: https://github.com/apache/drill/pull/1588#discussion_r244368465
 
 

 ##########
 File path: exec/java-exec/src/main/java/org/apache/drill/exec/server/rest/StatusResources.java
 ##########
 @@ -118,27 +124,35 @@ public int compare(OptionWrapper o1, OptionWrapper o2) {
     return getSystemOptionsJSONHelper(true);
   }
 
-  private Viewable getSystemOptionsHelper(boolean internal) {
+  //Generate model-view for WebUI (PATH_OPTIONS and PATH_INTERNAL_OPTIONS)
+  private Viewable getSystemOptionsHelper(boolean internal, UriInfo uriInfo) {
+    List<OptionWrapper> options = getSystemOptionsJSONHelper(internal);
+    List<String> fltrList = new ArrayList<String>(work.getContext().getConfig().getStringList(ExecConstants.HTTP_WEB_OPTIONS_FILTERS));
 
 Review comment:
   Done

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


With regards,
Apache Git Services