You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aurora.apache.org by ma...@apache.org on 2014/04/05 02:05:20 UTC

[34/50] [abbrv] git commit: Removed DisplayUtils page.

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 <sk...@twitter.com>
Authored: Sun Mar 30 21:48:12 2014 -0700
Committer: Suman Karumuri <sk...@twitter.com>
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<String> VIZ_JOB_URL_PREFIX = Arg.create("");
-
-  private DisplayUtils() {
-    // Utility class.
-  }
-
-  static String getJobDashboardUrl(IJobKey jobKey) {
-    return VIZ_JOB_URL_PREFIX.get() + MesosTaskFactoryImpl.getJobSourceName(jobKey);
-  }
-}