# DCwli.ctl:379:Collects Oracle WebLogic Integration Information # $Id: DCwli.ctl,v 1.5 2015/07/03 12:04:44 RDA Exp $ # ARCS: $Header: /home/cvs/cvs/RDA_8/src/scripting/lib/collect/OFM/DCwli.ctl,v 1.5 2015/07/03 12:04:44 RDA Exp $ # # Change History # 20150703 MSC Improve the documentation. =head1 NAME OFM:DCwli - Collects Oracle WebLogic Integration Information =head1 DESCRIPTION This module collects Oracle WebLogic Integration-related information. The following reports can be generated and are regrouped under C: =head1 REPORTS =cut echo tput('bold'),'Processing OFM.WLI module ...',tput('off') # Initialization var $WLI_HOME = ${D_HOME:''} pretoc '1:Oracle WebLogic Integration' =head2 patch_list - Applied Patch List Lists the applied Oracle WebLogic Integration patches. =cut # Generate the job and execute it if $dir = testDir('dr',cleanPath([$WLI_HOME,upDir(),'utils','bsu',''],true)) {debug ' Inside WLI module, gathering applied patches' report patch_list prefix write '---+ List of Patches Applied' if isUnix() {var $opt = concat(' -view -status=applied -prod_dir=',quote($WLI_HOME)) write '---## Using: ',concat(catFile($dir,'bsu.sh'),$opt) var $job = createTemp('PCH','.sh',true) call writeTemp('PCH','cd ',quote($dir)) call writeTemp('PCH','./bsu.sh',$opt) call closeTemp('PCH') call writeCommand($job) call unlinkTemp('PCH') } elsif and(or(isCygwin(),isWindows()),match($WLI_HOME,'^[^"]+$')) {var $opt = concat(' -view -status=applied -prod_dir="',\ getNativePath($WLI_HOME),'"') write '---## Using: ',concat(catFile($dir,'bsu.cmd'),$opt) var $job = createTemp('PCH','.bat',true) call writeTemp('PCH','@echo off') call writeTemp('PCH','cd /d "',getNativePath($dir),'"') call writeTemp('PCH','bsu.cmd',$opt) call closeTemp('PCH') call writeCommand($job) call unlinkTemp('PCH') } if isCreated(true) toc '2:[[',getFile(),'][rda_report][Applied Patch List]]' } =head1 COMMON HOME INFORMATION Includes the reports generated by the L module about the common home. =cut toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Common Product Home")%' toc '%INCLUDE("OFM_IREQ_OFM_WLI_CH_TF.toc")%' toc '%POP2%' =head1 ORACLE WEBLOGIC SERVER DOMAIN COLLECTIONS It includes all reports produced by the L module for the specified Oracle WebLogic Server domain. =cut toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Oracle WebLogic Server Overview")%' toc '%INCLUDE("OFM_WREQ_OFM_WLI_WH_TF.toc")%' toc '%POP2%' toc '%PUSH("%SPLIT%")%' toc '%PUSH("1+:Oracle WebLogic Server Domain")%' toc '%INCLUDE("OFM_WREQ_OFM_WLI_DOM_TF.toc")%' toc '%POP2%' unpretoc =head1 SEE ALSO L, L =begin credits =over 10 =item RDA 4.22: Maria Salzberger. =item RDA 4.24: Greg Cook, Andrew Salt. =back =end credits =head1 COPYRIGHT NOTICE Copyright (c) 2002, 2016, Oracle and/or its affiliates. All rights reserved. =head1 TRADEMARK NOTICE Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners. =cut