<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="menus.xsl"?>
<!-- 
Filename: weblogic_j2eeserver.xml
Author:   R Williams
Created:  07-Feb 2012

Change History 

08-Feb-12 rjwillia - Bug 13693094; added title and descr text 
01-Mar-12 merickso - minor updates to meet current menu standards
01-Mar-12 rjwillia - Bug 13784466 - ADD COMMAND TITLE/DESCR FOR RDA COMMAND
05-Mar-12 rjwillia - Bug 13693094; correction to titles
08-Mar-12 rjwillia - Bug 13822253 - MENU ALIGNMENT ISSUES
31-May-12 rjwillia - Bug 13830295 - WLS: IMPLEMENT WEBLOGIC_J2EESERVER.XML MENU 
06-Jul-12 rjwillia - Bug 14283030 - REMOVE PROPMPTING FOR WLS_DOMAIN_ROOT
-->

<menus>

<!--  
     WebLogic Main Menu
-->  
<menu>
   <menu_name>main</menu_name>
   <menu_title>WebLogic Main Menu</menu_title>   
   <menu_text><![CDATA[
    The WebLogic Menu allows users direct access to supported 
    diagnostic tools.
    
    Select one of the following options:
      (1) Run WebLogicServer profile in offline mode - default
      (2) Run WebLogicServer profile using WLS connection 
      
      (H)elp   (E)xit  
   ]]>
   </menu_text>
      <menu_help>
    Explanation of available options:

    (1) Run WebLogicServer profile in offline (default) mode
        This option only requires the location of the directory where the 
        domains to analyze are located. 

    (2) Run WebLogicServer profile using WLS connection 
        This option will prompt the user for;
          o  a specific domain
          o  a server for the domain
          o  a user name
          o  a password for the user
          
        For a successful WLS connection, ensure that the domain Admin Server 
        is up and running before selecting this option.

   </menu_help>
   <menu_map>1:command:rda_332</menu_map>
   <menu_map>2:command:rda_333</menu_map>
   <menu_map>M:menu:main</menu_map>
   <menu_map>B:menu:WebLogicMain WLS_TYPE=OFF</menu_map>
   
</menu> 



 
<commands>
  <!-- RDA Module Commands  rda_300 - rda_399 -->

    <command>
    <command_menu>rda_332</command_menu>
    <command_title>WebLogicServer (Off-Line)</command_title> 
    <command_descr> 
    Command Summary
    
    Calling WebLogicServer Profile in default (off-line) mode
    using these modules: 
    OS        Collects the Operating System Information
    PROF      Collects the User Profile
    PERF      Collects Performance Information
    NET       Collects Network Information
    WLS       Collects Oracle WebLogic Server Information
    WREQ      Handles the Oracle WebLogic Server Collection Requests
    
    Input Requirements 
      o  *WLS_DOMAIN_ROOT - Directory where the domains to analyze are located
      
      Note: *Stored in properties files by DA and not re-prompted.
      
    Output Details
      o Shows a summary of the collection process
      o Generates a collection of files in the "WebLogicServer" 
        subdirectory under the Diagnostic Assistant output directory
      
  </command_descr> 
    <command_type>Rda</command_type>
    <command_args>run_profile=WebLogicServer WLS_TYPE=OFF</command_args>
  </command>
  <command>
    <command_menu>rda_333</command_menu>
    <command_title>WebLogicServer (Single Domain)</command_title> 
    <command_descr>
    Command Summary
    
    Calling WebLogicServer profile for a single domain and 
    server using these modules:
    
    OS        Collects the Operating System Information
    PROF      Collects the User Profile
    PERF      Collects Performance Information
    NET       Collects Network Information
    WLS       Collects Oracle WebLogic Server Information
    WREQ      Handles the Oracle WebLogic Server Collection Requests
      
    Input Requirements
      o  a specific domain
      o  a server in the domain
      o  domain user name
      o  password for the user      
      o  *WLS_DOMAIN_ROOT - Directory where the domains to analyze are located
      
    Note: *Stored in properties files by DA and not re-prompted.
    
    Ouput Details
      o Shows a summary of the collection process
      o Generates a collection of files in the "WebLogicServer" 
        subdirectory under the Diagnostic Assistant output directory
    </command_descr>
    <command_type>Rda</command_type>
    <command_prompt1>PREREQ_301|Enter a specific domain by number|PREREQ_301:name</command_prompt1>
    <command_prompt2>PREREQ_302|Enter a specific server for domain %%PREREQ_301%%|PREREQ_302:value</command_prompt2>
    <command_prompt3>USER|Enter the user name for this domain|</command_prompt3>
    <command_prompt4>PASS|Enter the user password for this domain|</command_prompt4>
    <command_args>run_profile=WebLogicServer WLS_TYPE=ONE DOMAIN=%%PREREQ_301%% SERVERS=%%PREREQ_302%% USER=%%USER%% PASS=%%PASS%%</command_args>
  </command>
  <command>
    <command_menu>PREREQ_301</command_menu>
    <command_title>Internal Only LOV: Pick Domains</command_title>
    <command_descr>TODO</command_descr>
    <command_type>System</command_type>
    <command_args>wls_lovs domains</command_args>
  </command>
  <command>
    <command_menu>PREREQ_302</command_menu>
    <command_title>Internal Only LOV: Pick Servers from Domain</command_title>
    <command_descr>TODO</command_descr>
    <command_type>System</command_type>
    <command_args>wls_lovs servers domain=%%PREREQ_301%%</command_args>
  </command>
  
  </commands>  
</menus>