From a2f5a35c06a526b05e4efd9fe275d6639bf22cd3 Mon Sep 17 00:00:00 2001 From: st782s Date: Mon, 14 Aug 2017 11:41:04 -0400 Subject: DDL updates and cleanup - remove unused javascript libraries - remove contentious icons and images - Remove constraints to support Role Centralization Issue: PORTAL-21, Portal-17 Change-Id: I347accb04343d1c866c075ee716c46fea9e0d036 Signed-off-by: st782s --- .../WEB-INF/fusion/raptor/wizard_definition.jsp | 1122 -------------------- 1 file changed, 1122 deletions(-) delete mode 100644 ecomp-sdk/epsdk-app-overlay/src/main/webapp/WEB-INF/fusion/raptor/wizard_definition.jsp (limited to 'ecomp-sdk/epsdk-app-overlay/src/main/webapp/WEB-INF/fusion/raptor/wizard_definition.jsp') diff --git a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/WEB-INF/fusion/raptor/wizard_definition.jsp b/ecomp-sdk/epsdk-app-overlay/src/main/webapp/WEB-INF/fusion/raptor/wizard_definition.jsp deleted file mode 100644 index ec61e3fd..00000000 --- a/ecomp-sdk/epsdk-app-overlay/src/main/webapp/WEB-INF/fusion/raptor/wizard_definition.jsp +++ /dev/null @@ -1,1122 +0,0 @@ -<%-- - ================================================================================ - eCOMP Portal SDK - ================================================================================ - Copyright (C) 2017 AT&T Intellectual Property - ================================================================================ - 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. - ================================================================================ - --%> -<%-- - Name: wizard_definition.jsp - Use : Shows edit page of the meta information of the report. - - Change Log - ========== - - 14-Jul-2009 : Version 8.4 (Sundar); - - ---%> -<%@ page import="org.openecomp.portalsdk.analytics.xmlobj.DataColumnType" %> -<%@ page import="org.openecomp.portalsdk.analytics.util.AppConstants" %> -<%@ page import="org.openecomp.portalsdk.analytics.model.definition.ReportDefinition" %> -<%@ page import="org.openecomp.portalsdk.analytics.system.AppUtils" %> -<%@ page import="org.openecomp.portalsdk.analytics.controller.WizardSequence" %> -<%@ page import="java.util.List" %> -<%@ page import="java.util.Iterator" %> -<%@ page import="org.openecomp.portalsdk.analytics.system.Globals" %> -<%@ page import="org.openecomp.portalsdk.analytics.util.Utils" %> -<%@ page import="java.util.Vector" %> -<%@ page import="org.openecomp.portalsdk.analytics.model.ReportLoader" %> -<%@ page import="org.openecomp.portalsdk.analytics.model.base.IdNameValue" %> -<%@ page import="java.util.HashMap" %> -<%@ page import="java.util.Map" %> -<%@ page import="java.util.Set" %> -<%@ page import="org.openecomp.portalsdk.analytics.xmlobj.Reports"%> -<% - ReportDefinition rdef = (ReportDefinition) request.getAttribute(AppConstants.SI_REPORT_DEFINITION); - WizardSequence ws = rdef.getWizardSequence(); - String curSubStep = ws.getCurrentSubStep(); - String reportID = rdef.getReportID(); - String dbInfo = null; - dbInfo = rdef.getDBInfo(); - HashMap hashMap = ReportLoader.loadReportsToAddInDashboard(request); - Set mapSet = hashMap.entrySet(); - Map.Entry me; - - HashMap pdfImgMap = ReportLoader.loadPDFImgLookUp(); -%> -<% /*boolean displayAdditionalFields = AppUtils.getRequestNvlValue(request, "showAdditionalFields").equals("Y")|| - AppUtils.getRequestNvlValue(request, "additionalFieldsShown").equals("Y")|| - rdef.isRuntimeColSortDisabled()|| - rdef.isDisplayOptionHideForm()|| - rdef.isDisplayOptionHideChart()|| - rdef.isDisplayOptionHideData()|| - rdef.isDisplayOptionHideBtns()|| - (rdef.getNumFormColsAsInt()>1)|| - (nvl(rdef.getReportTitle()).length()>0)|| - (nvl(rdef.getReportSubTitle()).length()>0)|| - (nvl(rdef.getReportHeader()).length()>0)|| - (nvl(rdef.getReportFooter()).length()>0); */%> - - -<% - boolean displayDashboard = false; - /*displayDashboard = AppUtils.getRequestNvlValue(request, "showDashboardOptions").equals("Y")|| - AppUtils.getRequestNvlValue(request, "dashboardOptionsShown").equals("Y")|| - rdef.isDashboardOptionHideBtns()|| - rdef.isDashboardOptionHideChart()|| - rdef.isDashboardOptionHideData(); - */ - //displayDashboard = AppUtils.getRequestNvlValue(request, "showDashboardOptions").equals("Y"); - boolean dashboard = rdef.isDashboardType(); - //if(AppUtils.getRequestNvlValue(request, "showDashboardOptions").length()>0) dashboard=displayDashboard; -%> - - - - - - - - - - - <% if(nvl(rdef.getReportID()).length()>0 && (! rdef.getReportID().equals("-1"))) { %> - - - - - <% } %> - - - - - 0)? - (!(AppUtils.getRequestNvlValue(request, "folder_id").equals(rdef.getFolderId()))? - AppUtils.getRequestNvlValue(request, "folder_id"):rdef.getFolderId()): - rdef.getFolderId() %>"> - - - - - - - - - - <% if((AppUtils.getRequestNvlValue(request, "reportType").length() > 0) || (rdef.getReportType().length() > 0)) { %> - - <% if (AppUtils.getRequestNvlValue(request, "reportType").equals(AppConstants.RT_DASHBOARD) || rdef.getReportType().equals(AppConstants.RT_DASHBOARD)) { %> - - - - - - - - - - - - - <% } else { %> - - - - - - - - - - - - <% if(Globals.getAllowSQLBasedReports()||AppUtils.isAdminUser(request)) { %> - - - - - <% } // if - %> - - - - - - - - -<%-- - - - --%> - - - - - - -<%-- - - - --%> - - - - - - - - - - - - <% if(rdef.getReportType().equals(AppConstants.RT_CROSSTAB)) { %> - - - - - - - - - <% } %> - - - - - - - - <% - if(pdfImgMap.size() > 0) { - %> - - <%-- dbInfo.equals(AppConstants.DB_PROD)? "selected":"" --%> - - - - <% } - } - %> - - <% - } -%> - - - - - - - <% } %> - - - - - - - - - - - - - - - - -<%-- - - - --%> - - - <% if (!(AppUtils.getRequestNvlValue(request, "reportType").equals(AppConstants.RT_DASHBOARD) || rdef.getReportType().equals(AppConstants.RT_DASHBOARD))) { %> - -<%-- - - - --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -<%-- - - - - - - - --%> - - - - - -<% } // else -%> - -<% } // if report type is empty %> - -
Step <%= ws.getCurrentStepIndex() %> of <%= ws.getStepCount() %> - Report <%= ws.getCurrentStep() %>
- Report ID: - - <%= rdef.getReportID() %> -
- Report Name: - - 0)? - (!(AppUtils.getRequestNvlValue(request, "reportName").equals(rdef.getReportName()))? - AppUtils.getRequestNvlValue(request, "reportName"):rdef.getReportName()): - rdef.getReportName() %>"> -
- Report Description: - - -
- Report Type - - <% if(nvl(rdef.getReportType()).length()>0) { %> - <%= rdef.getReportType().equals(AppConstants.RT_LINEAR)?"Linear":(rdef.getReportType().equals(AppConstants.RT_CROSSTAB)?"Cross-tab":(rdef.getReportType().equals(AppConstants.RT_DASHBOARD)?"Dashboard":rdef.getReportType())) %> - - <% } else { %> - - <% } %> -
Select HTML Template:
Dashboard HTML: -
-
- -
-   -   -
-
- Data Source: - - <% - org.openecomp.portalsdk.analytics.util.RemDbInfo remDbInfo = new org.openecomp.portalsdk.analytics.util.RemDbInfo(); - HashMap remDbMap = remDbInfo.getDbHash(); - - %> - <% if (dbInfo != null && dbInfo.length()>0 && !dbInfo.equalsIgnoreCase("null") && !remDbMap.isEmpty()) { %> - <%= (AppUtils.nvl(remDbInfo.getDesc(dbInfo)).length()>0)?remDbInfo.getDesc(dbInfo):" No Desc " %> - <% - } - else { - %> - <%-- dbInfo.equals(AppConstants.DB_PROD)? "selected":"" --%> - - <% if(!remDbMap.isEmpty() && nvl(AppUtils.getRequestNvlValue(request, "dataSource")).length() <= 0){ %> - - - <% } %> - - <% } %> -
- Form Help Text: - - -
- Report Definition: - - - <% if(rdef.getReportDefType().length()>0) { %> - <%= rdef.getReportDefType().equals(AppConstants.RD_VISUAL)?"Visual":(rdef.getReportDefType().equals(AppConstants.RD_SQL_BASED)?"SQL-based":rdef.getReportDefType()) %> - <% } else { %> - - >SQL-based - - <% } %> - -
- Page Size: - - -
- Display Area: - - -<%--       - <%= AppUtils.isAdminUser(request)?"":" disabled onClick='checked="+(rdef.isMenuApproved()?"true":"false")+"';" %>> - Approved? --%> -
- Generate report in a New Window? - - > -
- Hide Form fields after run? - - > -
- Display Folder Tree? - - - > -
- Max Rows in Excel/CSV Download - - -
- Columns to be Frozen: - - -
- Record # column width: - - 0)? - (!(AppUtils.getRequestNvlValue(request, "widthNo").equals(rdef.getWidthNoColumn()))? - AppUtils.getRequestNvlValue(request, "widthNo"):rdef.getWidthNoColumn()): - rdef.getWidthNoColumn() %>"> -
- Data Grid Align: - - -
- Select logo for PDF download: - - -
- Empty message: - - 0)? - (!(AppUtils.getRequestNvlValue(request, "emptyMessage").equals(rdef.getEmptyMessage()))? - AppUtils.getRequestNvlValue(request, "emptyMessage"):rdef.getEmptyMessage()): - rdef.getEmptyMessage() %>"> -
- Height of the Data Container - - <% if (nvl(rdef.getDataContainerHeight(), "100").equals ("auto") || nvl(rdef.getDataContainerHeight(), "100").equals ("100")) { rdef.setDataContainerHeight("100"); } %> -
- Width of the Data Container - - <% if (nvl(rdef.getDataContainerWidth(), "100").equals ("auto") || nvl(rdef.getDataContainerWidth(), "100").equals ("100")) { rdef.setDataContainerWidth("100"); } %> -
- Allow Schedule? - - /> -
- Column Multi Group? - - /> -
- Render Top - Down - - /> -
- Sized By Content - - /> -
- Display Options: - - > - Hide Form Fields - > - Hide Chart - > - Hide Report Data - > - Hide Download Buttons - > - Hide Map - > - Hide Excel Icons - > - Hide PDF Icons -
-   - - > - Disable column sort at runtime? -
- Run-time Form Number Columns: - - -
- Report Title
(if blank, the Report Name will be displayed):
-
- -
- Report Sub-Title: - - -
- Page Header (HTML): - - -
- Page Footer (HTML): - - -
- Allowed Recurrance in Schedule: - - checked <%} %>>One Time
- checked<%} %> >Hourly
- checked<%} %> >Daily
- checked<%} %> >Daily Monday - Friday
- checked<%} %> >Weekly
- checked<%} %> >Monthly
-
-
- - - - - - - - - - -<%! - private String nvl(String s) { return (s==null)?"":s; } - private String nvl(String s, String sDefault) { return nvl(s).equals("")?sDefault:s; } -%> -- cgit 1.2.3-korg