| /* |
| * |
| * Licensed to the Apache Software Foundation (ASF) under one or more contributor license |
| * agreements. See the NOTICE file distributed with this work for additional information regarding |
| * copyright ownership. The ASF licenses this file to You 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.geode.tools.pulse.tests; |
| |
| import static org.apache.geode.cache.Region.SEPARATOR; |
| |
| public class PulseTestData { |
| |
| public static class TopNavigation { |
| |
| } |
| |
| public static class ClusterStatus { |
| |
| public static final String membersProperty = "members"; |
| } |
| public static class Topology { |
| public static final String hotSpotHeapLbl = "Heap Usage"; |
| public static final String hotSpotCPULbl = "CPU Usage"; |
| |
| public static final String cpuUsagePaintStyleM1 = "left: 497px; top: 0px;"; |
| public static final String cpuUsagePaintStyleM2 = "left: 0px; top: 0px;"; |
| public static final String cpuUsagePaintStyleM3 = "left: 265px; top: 0px;"; |
| |
| public static final String heapUsagePaintStyleM1 = "left: 0px; top: 0px;"; |
| public static final String heapUsagePaintStyleM2 = "left: 559px; top: 0px;"; |
| public static final String heapUsagePaintStyleM3 = "left: 280px; top: 0px;"; |
| } |
| |
| public static class ServerGroups { |
| public static final String hotSpotHeapLbl = "Heap Usage"; |
| public static final String hotSpotCPULbl = "CPU Usage"; |
| |
| // Cpu Usage sorting |
| // public static final String cpuUsagePaintStyleM1 = "left: 497px; top: 0px;"; |
| // public static final String cpuUsagePaintStyleM2 = "left: 0px; top: 0px;"; |
| // public static final String cpuUsagePaintStyleM3 = "left: 265px; top: 0px;"; |
| |
| public static final String cpuUsagePaintStyleSG1M1 = "left: 0px; top: 295px;"; |
| public static final String cpuUsagePaintStyleSG1M2 = "left: 0px; top: 30px;"; |
| public static final String cpuUsagePaintStyleSG1M3 = "left: 0px; top: 171px;"; |
| |
| public static final String cpuUsagePaintStyleSG2M1 = "left: 240px; top: 239px;"; |
| public static final String cpuUsagePaintStyleSG2M2 = "left: 240px; top: 30px;"; |
| |
| public static final String cpuUsagePaintStyleSG3M3 = "left: 479px; top: 30px;"; |
| |
| // heap usage sorting |
| public static final String heapUsagePaintStyleSG1M1 = "left: 0px; top: 30px;"; |
| public static final String heapUsagePaintStyleSG1M2 = "left: 152px; top: 179px;"; |
| public static final String heapUsagePaintStyleSG1M3 = "left: 0px; top: 179px;"; |
| |
| public static final String heapUsagePaintStyleSG2M1 = "left: 240px; top: 30px;"; |
| public static final String heapUsagePaintStyleSG2M2 = "left: 240px; top: 274px;"; |
| |
| public static final String heapUsagePaintStyleSG3M3 = "left: 479px; top: 30px;"; |
| } |
| |
| public static class RedundancyZone { |
| |
| public static final String hotSpotHeapLbl = "Heap Usage"; |
| public static final String hotSpotCPULbl = "CPU Usage"; |
| |
| public static final String heapUsagePaintStyleRZ1RZ2M1 = "left: 0px; top: 30px;"; |
| public static final String heapUsagePaintStyleRZ1RZ2M2 = "left: 0px; top: 274px;"; |
| |
| public static final String heapUsagePaintStyleRZ3M3 = "left: 360px; top: 30px;"; |
| |
| public static final String cpuUsagePaintStyleRZ1RZ2M1 = "left: 0px; top: 239px;"; |
| public static final String cpuUsagePaintStyleRZ1RZ2M2 = "left: 0px; top: 30px;"; |
| |
| |
| } |
| |
| public static class DataPerspectiveView { |
| |
| } |
| |
| public static class DataBrowser { |
| public static final String partialRgnName = "R"; |
| public static final String chkRgnClassName = "bttn chk checkbox_true_full"; |
| public static final String notChkRgnClassName = "bttn chk checkbox_false_full"; |
| public static final String resultClusterHeadingsXPath = "//div[@id='clusterDetails']/div/div"; |
| public static final String resultClusterCellXPath = |
| "//tr/td[contains(@title, '<script>alert')]"; |
| |
| public static final String regName = "R1"; |
| public static final String query1Text = "select * from " + SEPARATOR + "R1"; |
| |
| public static final String datePattern = "EEE, MMM dd yyyy, HH:mm:ss z"; |
| |
| } |
| } |