Return-Path: X-Original-To: apmail-aurora-commits-archive@minotaur.apache.org Delivered-To: apmail-aurora-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C715510BE0 for ; Sat, 5 Apr 2014 00:06:20 +0000 (UTC) Received: (qmail 87326 invoked by uid 500); 5 Apr 2014 00:05:51 -0000 Delivered-To: apmail-aurora-commits-archive@aurora.apache.org Received: (qmail 86715 invoked by uid 500); 5 Apr 2014 00:05:34 -0000 Mailing-List: contact commits-help@aurora.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@aurora.incubator.apache.org Delivered-To: mailing list commits@aurora.incubator.apache.org Received: (qmail 86303 invoked by uid 99); 5 Apr 2014 00:05:23 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2014 00:05:23 +0000 X-ASF-Spam-Status: No, hits=-2000.5 required=5.0 tests=ALL_TRUSTED,RP_MATCHES_RCVD X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO mail.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with SMTP; Sat, 05 Apr 2014 00:05:18 +0000 Received: (qmail 85397 invoked by uid 99); 5 Apr 2014 00:04:49 -0000 Received: from tyr.zones.apache.org (HELO tyr.zones.apache.org) (140.211.11.114) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 05 Apr 2014 00:04:49 +0000 Received: by tyr.zones.apache.org (Postfix, from userid 65534) id 6F038943767; Sat, 5 Apr 2014 00:04:48 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: mansu@apache.org To: commits@aurora.incubator.apache.org Date: Sat, 05 Apr 2014 00:05:20 -0000 Message-Id: In-Reply-To: <5fdaab79d57e42c185ff60c632bdc6f2@git.apache.org> References: <5fdaab79d57e42c185ff60c632bdc6f2@git.apache.org> X-Mailer: ASF-Git Admin Mailer Subject: [34/50] [abbrv] git commit: Removed DisplayUtils page. X-Virus-Checked: Checked by ClamAV on apache.org Removed DisplayUtils page. Project: http://git-wip-us.apache.org/repos/asf/incubator-aurora/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-aurora/commit/f6306ab0 Tree: http://git-wip-us.apache.org/repos/asf/incubator-aurora/tree/f6306ab0 Diff: http://git-wip-us.apache.org/repos/asf/incubator-aurora/diff/f6306ab0 Branch: refs/heads/mansu/job_page Commit: f6306ab024fca29c1cac4edb75468dcab8dc54e6 Parents: d317de5 Author: Suman Karumuri Authored: Sun Mar 30 21:48:12 2014 -0700 Committer: Suman Karumuri Committed: Sun Mar 30 21:48:12 2014 -0700 ---------------------------------------------------------------------- .../aurora/scheduler/http/DisplayUtils.java | 39 -------------------- 1 file changed, 39 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-aurora/blob/f6306ab0/src/main/java/org/apache/aurora/scheduler/http/DisplayUtils.java ---------------------------------------------------------------------- diff --git a/src/main/java/org/apache/aurora/scheduler/http/DisplayUtils.java b/src/main/java/org/apache/aurora/scheduler/http/DisplayUtils.java deleted file mode 100644 index 306c81d..0000000 --- a/src/main/java/org/apache/aurora/scheduler/http/DisplayUtils.java +++ /dev/null @@ -1,39 +0,0 @@ -/** - * Copyright 2013 Apache Software Foundation - * - * Licensed under the Apache License, Version 2.0 (the "License"); - * you may not use this file except in compliance with the License. - * You may obtain a copy of the License at - * - * http://www.apache.org/licenses/LICENSE-2.0 - * - * Unless required by applicable law or agreed to in writing, software - * distributed under the License is distributed on an "AS IS" BASIS, - * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. - * See the License for the specific language governing permissions and - * limitations under the License. - */ -package org.apache.aurora.scheduler.http; - -import com.twitter.common.args.Arg; -import com.twitter.common.args.CmdLine; - -import org.apache.aurora.scheduler.MesosTaskFactory.MesosTaskFactoryImpl; -import org.apache.aurora.scheduler.storage.entities.IJobKey; - -/** - * Utility class to hold common display helper functions. - */ -public final class DisplayUtils { - - @CmdLine(name = "viz_job_url_prefix", help = "URL prefix for job container stats.") - private static final Arg VIZ_JOB_URL_PREFIX = Arg.create(""); - - private DisplayUtils() { - // Utility class. - } - - static String getJobDashboardUrl(IJobKey jobKey) { - return VIZ_JOB_URL_PREFIX.get() + MesosTaskFactoryImpl.getJobSourceName(jobKey); - } -}