3317. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/9/2017 3:50:04 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.

3317.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 configure-domain-t.py Fri Apr 21 20:03:26 2017 UTC

3317.2 Comparison summary

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

3317.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

3317.4 Active regular expressions

No regular expressions were active.

3317.5 Comparison detail

        1   import sys
        2   import os
        3   from util  import par ams
        4   from util  import con figure
        5   from util. propertyhe lp import  PropertyHe lper
        6  
        7  
        8   try :
        9       
        10       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        11       print  "[WLST] "
        12       print  "[WLST] Co nfiguring  WebLogic S erver Doma in from Te mplate"
        13       print  "[WLST] "
        14       
        15       params  = params. getScriptP arameters( sys.argv)
        16       
        17       homeFo lder = os. environ['H OME']
        18       appNam e = params ['app.name ']
        19       propsF ile = para ms['props. file']
        20       propsP ath = home Folder + ' /' + appNa me + '/' +  propsFile
        21       
        22       loadPr operties(p ropsPath)
        23       
        24       templa teName = p arams['tem plate']
        25       
        26       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        27       print  "[WLST] "
        28       print  "[WLST] Ap plication  Properties  Loaded"     
        29       print  "[WLST]  -  Applicati on Name: "              + appNam e
        30       print  "[WLST]  -  Template  Name: "                 + templa teName
        31       print  "[WLST]  -  Default U sername: "              + defaul tUser
        32       print  "[WLST]  -  Default P assword: "              + defaul tPassword
        33       print  "[WLST]  -  Temporary  Template  Name: "      + tempTe mplateName
        34       print  "[WLST]  -  Domain Di rectory: "  
        35       print  "[WLST] "
        36       print  "[WLST] "
        37       print  "[WLST] Re ading Temp late from  File: " +  templateNa me
        38       print  "[WLST] "
        39       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        40       print  "[WLST] "
        41       
        42       readTe mplate(tem plateName)
        43       
        44       print  "[WLST] "
        45       print  "[WLST] Mo difying th e Domain t o Suite th e Environm ent"
        46       print  "[WLST] "
        47       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        48       print  "[WLST] "
        49        
        50       # TODO : Browse a nd Edit Co mmands go  here
        51       #   1)  Update Do main Setti ngs          -> ?/app .name/app. domain.pro perties
        52       setDom ainAttribu tes()
        53       
        54       #   1)  Update Ma chine Sett ings         -> ~/app .name/mach ines.prope rties
        55       #   2)  Update Cl uster Sett ings         -> ~/app .name/clus ters.prope rties
        56       #   3)  Update JM S Settings              -> ~/app .name/jms. properties
        57       #   4)  Update JD BC Setting s            -> ~/app .name/jdbc .settings
        58       
        59       
        60       print  "[WLST] "
        61       print  "[WLST] Re setting th e Password  for the D efault Use rs - User:  " + defau ltUser
        62       print  "[WLST] "
        63       print  "[WLST] -- ---------- ---------- ---------- ---------- ---------- ---------- ---------- "
        64       print  "[WLST] "
        65       
        66       cd('/S ecurity/'  + domainNa me + '/Use r/' + defa ultUser)
        67       cmo.se tPassword( defaultPas sword)
        68       
        69       print  ""
        70       print  "4: Write  Edited Dom ain to Tem porary Fil e"
        71       print  ""
        72       writeT emplate(te mpTemplate Name)
        73       
        74       print  ""
        75       print  "5. Create  the Domai n"
        76       print  ""
        77       create Domain(tem pTemplateN ame, domai nDir, defa ultUser, d efaultPass word)
        78       
        79   except :
        80       print  "Unexpect  Error Occu red while  Configurin g the Doma in"
        81       dumpSt ack()
        82       for ex cInfo in s ys.exc_inf o():
        83           pr int " ", e xcInfo
        84