Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B53B200D4B for ; Mon, 27 Nov 2017 21:56:32 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 79DBD160C17; Mon, 27 Nov 2017 20:56:32 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id E7176160BFA for ; Mon, 27 Nov 2017 21:56:31 +0100 (CET) Received: (qmail 257 invoked by uid 500); 27 Nov 2017 20:56:31 -0000 Mailing-List: contact notifications-help@accumulo.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jira@apache.org Delivered-To: mailing list notifications@accumulo.apache.org Received: (qmail 245 invoked by uid 99); 27 Nov 2017 20:56:31 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 27 Nov 2017 20:56:31 +0000 From: GitBox To: notifications@accumulo.apache.org Subject: [GitHub] ctubbsii commented on a change in pull request #323: ACCUMULO-4739 Make Monitor resources configurable Message-ID: <151181619056.23400.9739393002243157823.gitbox@gitbox.apache.org> archived-at: Mon, 27 Nov 2017 20:56:32 -0000 ctubbsii commented on a change in pull request #323: ACCUMULO-4739 Make Monitor resources configurable URL: https://github.com/apache/accumulo/pull/323#discussion_r153317791 ########## File path: core/src/main/java/org/apache/accumulo/core/conf/Property.java ########## @@ -417,6 +417,8 @@ "The amount of time to sleep between checking for the Montior ZooKeeper lock"), MONITOR_LOG_DATE_FORMAT("monitor.log.date.format", "yyyy/MM/dd HH:mm:ss,SSS", PropertyType.STRING, "The SimpleDateFormat string used to configure " + "the date shown on the 'Recent Logs' monitor page"), + MONITOR_RESOURCES_EXTERNAL("monitor.resources.external", "", PropertyType.STRING, + "JSON list of HTML tags of external resources (JS and CSS) to be imported by the Monitor. Be sure to wrap with CDATA tags."), Review comment: I assume the CDATA tag wrapping necessary to avoid the values being interpreted as XML? Description could mention that if this is not set, then, the monitor will try to load external resources, such as jquery, bootstrap, etc., from its class path. We could put the default ones here instead of handling that in the template, but it'd be ugly. I'm fine with doing it either way, but the description should be updated to mention where it's loading them from when it's not set. ---------------------------------------------------------------- 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