virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { data.setProp("@appName", "EclWatch"); data.setProp("@start_page", "/WsSMC/Activity"); IPropertyTree *folder = ensureNavFolder(data, "Clusters", NULL, NULL, false, 1); ensureNavLink(*folder, "Activity", "/WsSMC/Activity", "Display Activity on all target clusters in an environment", NULL, NULL, 1); ensureNavLink(*folder, "Scheduler", "/WsWorkunits/WUShowScheduled", "Access the ECL Scheduler to view and manage scheduled workunits or events", NULL, NULL, 2); IPropertyTree *folderTools = ensureNavFolder(data, "Resources", NULL, NULL, false, 8); ensureNavLink(*folderTools, "Browse", "/WsSMC/BrowseResources", "Browse a list of resources available for download, such as the ECL IDE, documentation, examples, etc. These are only available if optional packages are installed on the ESP Server.", NULL, NULL, 1); }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { if (!batchWatchFeaturesOnly) { IPropertyTree *folder = ensureNavFolder(data, "ECL", "Run Ecl code and review Ecl workunits", NULL, false, 2); ensureNavLink(*folder, "Search Workunits", "/WsWorkunits/WUQuery?form_", "Search Workunits", NULL, NULL, 1); ensureNavLink(*folder, "Browse Workunits", "/WsWorkunits/WUQuery", "Browse Workunits", NULL, NULL, 2); IPropertyTree *folderQueryset = ensureNavFolder(data, "Query Sets", NULL, NULL, false, 3); ensureNavLink(*folderQueryset, "Browse", "/WsWorkunits/WUQuerySets", "Browse Published Queries"); } }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { if (!batchWatchFeaturesOnly) { IPropertyTree *folder = ensureNavFolder(data, "ECL", "Run Ecl code and review Ecl workunits", NULL, false, 2); ensureNavLink(*folder, "Search Workunits", "/WsWorkunits/WUQuery?form_", "Search Workunits", NULL, NULL, 1); ensureNavLink(*folder, "Browse Workunits", "/WsWorkunits/WUQuery", "Browse Workunits", NULL, NULL, 2); ensureNavLink(*folder, "ECL Playground", "/esp/files/ECLPlayground.htm", "ECL Editor, Executor, Graph and Result Viewer", NULL, NULL, 4); IPropertyTree *folderQueryset = ensureNavFolder(data, "Queries", NULL, NULL, false, 3); ensureNavLink(*folderQueryset, "Browse", "/WsWorkunits/WUQuerySets", "Browse Published Queries"); } }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { #ifdef _USE_OPENLDAP bool isFF = false; StringBuffer browserUserAgent; context.getUseragent(browserUserAgent); if ((browserUserAgent.length() > 0) && strstr(browserUserAgent.str(), "Firefox")) isFF = true; IPropertyTree *folder = ensureNavFolder(data, "My Account", "My Account"); const char* build_level = getBuildLevel(); if (!stricmp(m_authType.str(), "none") || !stricmp(m_authType.str(), "local")) { ensureNavLink(*folder, "Change Password", "/Ws_Access/SecurityNotEnabled?form_", "Change Password", NULL, NULL, 0, true);//Force the menu to use this setting if (!isFF) ensureNavLink(*folder, "Relogin", "/Ws_Access/SecurityNotEnabled?form_", "Relogin", NULL, NULL, 0, true);//Force the menu to use this setting else ensureNavLink(*folder, "Relogin", "/Ws_Access/FirefoxNotSupport?form_", "Relogin", NULL, NULL, 0, true);//Force the menu to use this setting ensureNavLink(*folder, "Who Am I", "/Ws_Access/SecurityNotEnabled?form_", "WhoAmI", NULL, NULL, 0, true);//Force the menu to use this setting } else { ensureNavLink(*folder, "Change Password", "/Ws_Account/UpdateUserInput", "Change Password", NULL, NULL, 0, true);//Force the menu to use this setting if (!isFF) ensureNavLink(*folder, "Relogin", "/Ws_Account/LogoutUser", "Relogin", NULL, NULL, 0, true);//Force the menu to use this setting else ensureNavLink(*folder, "Relogin", "/Ws_Access/FirefoxNotSupport?form_", "Relogin", NULL, NULL, 0, true);//Force the menu to use this setting ensureNavLink(*folder, "Who Am I", "/Ws_Account/WhoAmI", "WhoAmI", NULL, NULL, 0, true);//Force the menu to use this setting } #endif }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { IPropertyTree *folder = ensureNavFolder(data, "Topology", NULL, NULL, false, 4); ensureNavLink(*folder, "Target Clusters", "/WsTopology/TpTargetClusterQuery?Type=ROOT", "View details about target clusters and optionally run preflight activities", NULL, NULL, 1); ensureNavLink(*folder, "Cluster Processes", "/WsTopology/TpClusterQuery?Type=ROOT", "View details about clusters and optionally run preflight activities", NULL, NULL, 2); ensureNavLink(*folder, "System Servers", "/WsTopology/TpServiceQuery?Type=ALLSERVICES", "View details about System Support Servers clusters and optionally run preflight activities", NULL, NULL, 3); }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { if (!batchWatchFeaturesOnly) { IPropertyTree *folder = ensureNavFolder(data, "ECL", "Run Ecl code and review Ecl workunits", NULL, false, 2); ensureNavLink(*folder, "Search Workunits", "/WsWorkunits/WUQuery?form_", "Search Workunits", NULL, NULL, 1); ensureNavLink(*folder, "Browse Workunits", "/WsWorkunits/WUQuery", "Browse Workunits", NULL, NULL, 2); ensureNavLink(*folder, "ECL Playground", "/esp/files/stub.htm?Widget=ECLPlaygroundWidget", "ECL Editor, Executor, Graph and Result Viewer", NULL, NULL, 4); IPropertyTree *folderQueryset = ensureNavFolder(data, "Queries", NULL, NULL, false, 3); ensureNavLink(*folderQueryset, "Browse", "/WsWorkunits/WUQuerySets", "Browse Published Queries"); IPropertyTree *folderTP = CEspBinding::ensureNavFolder(data, "Tech Preview", "Technical Preview"); IPropertyTree *eclWatchTP = CEspBinding::ensureNavLink(*folderTP, "ECL Watch", "/esp/files/stub.htm?Widget=HPCCPlatformWidget", "ECL Watch", NULL, NULL, 1); eclWatchTP->setProp("@target", "_blank"); } }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { IPropertyTree *folder = ensureNavFolder(data, "Roxie Queries", NULL, NULL, false, 7); StringBuffer path = "/WsSMC/NotInCommunityEdition?form_"; if (m_portalURL.length() > 0) path.appendf("&EEPortal=%s", m_portalURL.str()); ensureNavLink(*folder, "Search Roxie Files",path.str(), "Search Roxie Files", NULL, NULL, 2); ensureNavLink(*folder, "View Roxie Files", path.str(), "View Roxie Files", NULL, NULL, 3); }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { StringBuffer path = "/WsSMC/NotInCommunityEdition?form_"; if (m_portalURL.length() > 0) path.appendf("&EEPortal=%s", m_portalURL.str()); IPropertyTree *folder0 = ensureNavFolder(data, "DFU Workunits", NULL, NULL, false, 5); ensureNavLink(*folder0, "Search", "/FileSpray/DFUWUSearch", "Search for DFU workunits ", NULL, NULL, 1); ensureNavLink(*folder0, "Browse", "/esp/files/stub.htm?Widget=GetDFUWorkunitsWidget", "Browse a list of DFU workunits", NULL, NULL, 2); IPropertyTree *folder = ensureNavFolder(data, "DFU Files", NULL, NULL, false, 6); ensureNavLink(*folder, "Upload/download File", "/FileSpray/DropZoneFiles", "Upload or download File from a Drop Zone in the environment", NULL, NULL, 1); ensureNavLink(*folder, "View Data File", "/WsDfu/DFUGetDataColumns?ChooseFile=1", "Allows you to view the contents of a logical file", NULL, NULL, 2); ensureNavLink(*folder, "Search File Relationships", path.str(), "Search File Relationships", NULL, NULL, 3); ensureNavLink(*folder, "Browse Space Usage", "/WsDfu/DFUSpace", "View details about Space Usage", NULL, NULL, 4); ensureNavLink(*folder, "Search Logical Files", "/WsDfu/DFUSearch", "Search for Logical Files using a variety of search criteria", NULL, NULL, 5); ensureNavLink(*folder, "Browse Logical Files", "/esp/files/stub.htm?Widget=DFUWUQueryWidget", "Browse a list of Logical Files", NULL, NULL, 6); ensureNavLink(*folder, "Browse Files by Scope", "/WsDfu/DFUFileView", "Browse a list of Logical Files by Scope", NULL, NULL, 7); ensureNavLink(*folder, "Spray Fixed", "/FileSpray/SprayFixedInput", "Spray a fixed width file", NULL, NULL, 8); ensureNavLink(*folder, "Spray CSV", "/FileSpray/SprayVariableInput?submethod=csv", "Spray a comma separated value file", NULL, NULL, 9); ensureNavLink(*folder, "Spray XML", "/FileSpray/SprayVariableInput?submethod=xml", "Spray an XML File", NULL, NULL, 10); ensureNavLink(*folder, "Remote Copy", "/FileSpray/CopyInput", "Copy a Logical File from one environment to another", NULL, NULL, 11); ensureNavLink(*folder, "XRef", "/WsDFUXRef/DFUXRefList", "View Xref result details or run the Xref utility", NULL, NULL, 12); }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { StringBuffer path = "/WsSMC/NotInCommunityEdition?form_"; if (m_portalURL.length() > 0) path.appendf("&EEPortal=%s", m_portalURL.str()); IPropertyTree *folder0 = ensureNavFolder(data, "DFU Workunits", "DFU Workunits", NULL, false, 5); ensureNavLink(*folder0, "Search", "/FileSpray/DFUWUSearch", "Search Workunits", NULL, NULL, 1); ensureNavLink(*folder0, "Browse", "/FileSpray/GetDFUWorkunits", "Browse Workunits", NULL, NULL, 2); IPropertyTree *folder = ensureNavFolder(data, "DFU Files", "DFU Files", NULL, false, 6); ensureNavLink(*folder, "Upload/download File", "/FileSpray/DropZoneFiles", "Upload/download File", NULL, NULL, 1); ensureNavLink(*folder, "View Data File", "/WsDfu/DFUGetDataColumns?ChooseFile=1", "View Data File", NULL, NULL, 2); ensureNavLink(*folder, "Search File Relationships", path.str(), "Search File Relationships", NULL, NULL, 3); ensureNavLink(*folder, "Browse Space Usage", "/WsDfu/DFUSpace", "Browse Space Usage", NULL, NULL, 4); ensureNavLink(*folder, "Search Logical Files", "/WsDfu/DFUSearch", "Search Logical Files", NULL, NULL, 5); ensureNavLink(*folder, "Browse Logical Files", "/WsDfu/DFUQuery", "Browse Logical Files", NULL, NULL, 6); ensureNavLink(*folder, "Browse Files by Scope", "/WsDfu/DFUFileView", "Browse Files by Scope", NULL, NULL, 7); ensureNavLink(*folder, "Spray Fixed", "/FileSpray/SprayFixedInput", "Spray Fixed", NULL, NULL, 8); ensureNavLink(*folder, "Spray CSV", "/FileSpray/SprayVariableInput?submethod=csv", "Spray CSV", NULL, NULL, 9); ensureNavLink(*folder, "Spray XML", "/FileSpray/SprayVariableInput?submethod=xml", "Spray XML", NULL, NULL, 10); ensureNavLink(*folder, "Remote Copy", "/FileSpray/CopyInput", "Remote Copy", NULL, NULL, 11); ensureNavLink(*folder, "XRef", "/WsDFUXRef/DFUXRefList", "XRef", NULL, NULL, 12); }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { IPropertyTree *folder = ensureNavFolder(data, "Users/Permissions", "Permissions"); if (!stricmp(m_authType.str(), "none") || !stricmp(m_authType.str(), "local")) { ensureNavLink(*folder, "Users", "/ws_access/SecurityNotEnabled?form_", "Users"); ensureNavLink(*folder, "Groups", "/ws_access/SecurityNotEnabled?form_", "Groups"); ensureNavLink(*folder, "Permissions", "/ws_access/SecurityNotEnabled?form_", "Permissions"); } else { ensureNavLink(*folder, "Users", "/ws_access/Users", "Users"); ensureNavLink(*folder, "Groups", "/ws_access/Groups", "Groups"); ensureNavLink(*folder, "Permissions", "/ws_access/Permissions", "Permissions"); } }
virtual void getNavigationData(IEspContext &context, IPropertyTree & data) { bool isFF = false; StringBuffer browserUserAgent; context.getUseragent(browserUserAgent); if ((browserUserAgent.length() > 0) && strstr(browserUserAgent.str(), "Firefox")) isFF = true; IPropertyTree *folder = ensureNavFolder(data, "My Account", "My Account"); StringBuffer path = "/WsSMC/NotInCommunityEdition?form_"; if (m_portalURL.length() > 0) path.appendf("&EEPortal=%s", m_portalURL.str()); ensureNavLink(*folder, "Change Password", path.str(), "Change Password"); if (!isFF) ensureNavLink(*folder, "Relogin", path.str(), "Relogin"); ensureNavLink(*folder, "Who Am I", path.str(), "WhoAmI"); }