Produced by Araxis Merge on 9/15/2018 10:47:18 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.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\wlst\_remote_configuration | change_domain.py | Thu Aug 23 21:39:14 2018 UTC |
| 2 | MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_devops\src\main\wlst\_remote_configuration | change_domain.py | Sat Sep 15 20:32:28 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 3 | 94 |
| Changed | 2 | 4 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| 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 |
No regular expressions were active.
| 1 | import jav a.io.File; | |
| 2 | import jav a.io.FileW riter; | |
| 3 | import jav a.io.IOExc eption; | |
| 4 | import jav a.io.Write r; | |
| 5 | ||
| 6 | def create File(direc tory_name, file_name , content) : | |
| 7 | dedire ctory = ja va.io.File (directory _name); | |
| 8 | defile = java.io .File(dire ctory_name + '/' + f ile_name); | |
| 9 | ||
| 10 | writer = None; | |
| 11 | try: | |
| 12 | de directory. mkdirs(); | |
| 13 | de file.creat eNewFile() ; | |
| 14 | wr iter = jav a.io.FileW riter(defi le); | |
| 15 | wr iter.write (content); | |
| 16 | finall y: | |
| 17 | tr y: | |
| 18 | print 'W RITING FIL E ' + file _name; | |
| 19 | if write r != None: | |
| 20 | writ er.flush() ; | |
| 21 | writ er.close() ; | |
| 22 | ex cept java. io.IOExcep tion, e: | |
| 23 | e.printS tackTrace( ); | |
| 24 | ||
| 25 | print 'CRE ATE PATHS' ; | |
| 26 | domain_nam e=os.geten v('DOMAIN_ NAME'); | |
| 27 | java_home= os.getenv( 'JAVA_HOME '); | |
| 28 | middleware _home=os.g etenv('MID DLEWARE_HO ME'); | |
| 29 | weblogic_h ome=os.get env('WEBLO GIC_HOME') ; | |
| 30 | fusion_mid dleware_ho me=os.gete nv('FUSION _MIDDLEWAR E_HOME'); | |
| 31 | configurat ion_home = os.getenv ('CONFIGUR ATION_HOME '); | |
| 32 | ||
| 33 | domain_hom e=configur ation_home + '/domai ns/' + dom ain_name; | |
| 34 | domain_app lication_h ome=config uration_ho me + '/app lications/ ' + domain _name; | |
| 35 | node_manag er_home=do main_home + '/nodema nager'; | |
| 36 | ||
| 37 | print 'CRE ATE FILES' ; | |
| 38 | directory_ name = dom ain_applic ation_home ; | |
| 39 | file_name = 'readme. txt'; | |
| 40 | content = 'This dire ctory cont ains deplo yment file s and depl oyment pla ns.\nTo se t-up a dep loyment, c reate a di rectory wi th the nam e of the a pplication .\nSubsequ ently, cre ate two su b-director ies called app and p lan.\nThe app direct ory contai ns the dep loyment ar tifact.\nT he plan di rectory co ntains the deploymen t plan.'; | |
| 41 | createFile (directory _name, fil e_name, co ntent); | |
| 42 | ||
| 43 | directory_ name = nod e_manager_ home; | |
| 44 | file_name = 'nodeman ager.prope rties'; | |
| 45 | if node_ma nager_mode == 'plain ': | |
| 46 | content='D omainsFile =' + node_ manager_ho me + '/nod emanager.d omains\nLo gLimit=0\n Properties Version=12 .1\nAuthen ticationEn abled=true \nNodeMana gerHome=' + node_man ager_home + '\nJavaH ome=' + ja va_home +' \nLogLevel =INFO\nDom ainsFileEn abled=true \nStartScr iptName=st artWebLogi c.sh\nList enAddress= \nNativeVe rsionEnabl ed=true\nL istenPort= PORT \nLogToStd err=true\n SecureList ener=false \nLogCount =1\nStopSc riptEnable d=false\nQ uitEnabled =false\nLo gAppend=tr ue\nStateC heckInterv al=500\nCr ashRecover yEnabled=t rue\nStart ScriptEnab led=true\n LogFile=' + node_man ager_home + '/nodema nager.log\ nLogFormat ter=weblog ic.nodeman ager.serve r.LogForma tter\nList enBacklog= 50'; | |
| 47 | else: | |
| 48 | content='D omainsFile =' + node_ manager_ho me + '/nod emanager.d omains\nLo gLimit=0\n Properties Version=12 .1\nAuthen ticationEn abled=true \nNodeMana gerHome=' + node_man ager_home + '\nJavaH ome=' + ja va_home +' \nLogLevel =INFO\nDom ainsFileEn abled=true \nStartScr iptName=st artWebLogi c.sh\nList enAddress= \nNativeVe rsionEnabl ed=true\nL istenPort= PORT \nLogToStd err=true\n SecureList ener=false \nLogCount =1\nStopSc riptEnable d=false\nQ uitEnabled =false\nLo gAppend=tr ue\nStateC heckInterv al=500\nCr ashRecover yEnabled=t rue\nStart ScriptEnab led=true\n LogFile=' + node_man ager_home + '/nodema nager.log\ nLogFormat ter=weblog ic.nodeman ager.serve r.LogForma tter\nList enBacklog= 50'; | |
| 49 | createFile (directory _name, fil e_name, co ntent); |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.