3321. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:50:05 PM Eastern Daylight Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

3321.1 Files compared

# Location File Last Modified
1 Fri Jun 9 19:50:04 2017 UTC
2 eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-env\src\main\python undeployapp.py Fri Apr 21 20:03:26 2017 UTC

3321.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 0 0
Changed 0 0
Inserted 1 84
Removed 0 0

3321.3 Comparison options

Whitespace
Character case Differences in character case are significant
Line endings Differences in line endings (CR and LF characters) are ignored
CR/LF characters Not shown in the comparison detail

3321.4 Active regular expressions

No regular expressions were active.

3321.5 Comparison detail

        1   import sys
        2   import os
        3   from util  import par ams
        4   from util  import dom ainconfig
        5   from util. propertyhe lp import  PropertyHe lper
        6  
        7   print "[WL ST] ------ ---------- ---------- ---------- ---------- ---------- ---------- ------"
        8   print "[WL ST] "
        9   print "[WL ST] Undepl oying Appl ication fr om Weblogi c"
        10   print "[WL ST] "
        11  
        12   try:
        13       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        14       print  "[WLST] "
        15       print  "[WLST] Lo ading Scri pt Paramet ers"
        16       print  "[WLST] "
        17       
        18       script Params = p arams.getS criptParam eters(sys. argv)
        19       propHe lp = Prope rtyHelper( scriptPara ms['props. file'])
        20       attrs  = propHelp .getAdminS erverAttri butes()
        21       domain Directory  = propHelp .getDomain sDirectory (propHelp. getAdminSe rverAttrib utes()['ma chine']) +  "/" + dom ainName
        22  
        23       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        24       print  "[WLST] "
        25       print  "[WLST] Co nnecting t o Admin Se rver"
        26       print  "[WLST] "
        27       
        28       # Read  Admin Ser ver Attrib utes
        29       adminA ttributes  = propHelp .getAdminS erverAttri butes()
        30       
        31       # Conn ect to Adm in Server
        32       try :
        33           co nnect(admi nAttribute s['usernam e'], admin Attributes ['password '], adminA ttributes[ 'url'])
        34       except  :
        35           pr int "[WLST ] -------- ---------- ---------- ---------- ---------- ---------- ---------- ----"
        36           pr int "[WLST ] "
        37           pr int "[WLST ] Error co nnecting t o " + doma inName + "  Domain Ad min Server  at URL "  + adminAtt ributes['u rl']
        38           pr int "[WLST ] "
        39           pr int "[WLST ] -------- ---------- ---------- ---------- ---------- ---------- ---------- ----"
        40           du mpVariable s()
        41           du mpStack()
        42           sy s.exit(-1)
        43       
        44       # If c onnected,  deploy app lication.
        45       if( co nnected ==  "true") :
        46           ap pName          = scri ptParams[' appName']
        47  
        48           ap pInfo = pr opHelp.get Applicatio nInfo(appN ame)
        49           if (appInfo.g et('versio n') != Non e) : 
        50                appName  = appName  + '#' + ap pInfo['ver sion']
        51           if (appInfo.g et('versio nSpec') !=  None) :
        52                appName  = appName  + '@' + ap pInfo['ver sionSpec']
        53           
        54           pr int "[WLST ] -------- ---------- ---------- ---------- ---------- ---------- ---------- ----"
        55           pr int "[WLST ] "
        56           pr int "[WLST ] Undeploy ing the "  + appName  + " Enterp rise Appli cation."
        57           pr int "[WLST ]    - App lication L ocation: "  + appInfo ['path']
        58           pr int "[WLST ]    - App lication T arget Serv ers: " + a ppInfo['ta rgets']
        59           pr int "[WLST ] "
        60           
        61           #  Undeploy a ny applica tions that  are alrea dy deploye d
        62           cd ("AppDeplo yments")
        63           fo r i in ls( ).split() 
        64                if( i.co unt(appNam e) > 0 ) :
        65                    unde ploy(i)
        66           
        67           di sconnect()
        68       
        69   except :
        70       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        71       print  "[WLST] "
        72       print  "[WLST] Un expected E rror Occur red: ",  s ys.exc_inf o()[1]
        73       print  "[WLST] ",  sys.exc_i nfo()
        74       print  "[WLST] "
        75       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        76       dumpSt ack()
        77       dumpVa riables()
        78       sys.ex it(-1)
        79  
        80   print "[WL ST] ------ ---------- ---------- ---------- ---------- ---------- ---------- ------"
        81   print "[WL ST] "
        82   print "[WL ST] Finish ed undeplo yment of a pplication "
        83   print "[WL ST] "
        84   print "[WL ST] ------ ---------- ---------- ---------- ---------- ---------- ---------- ------"