118. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 6/21/2017 10:24:37 AM Central 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.

118.1 Files compared

# Location File Last Modified
1 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\test\integration\java\gov\va\med\vds TestConfig.java Wed Jun 7 15:11:32 2017 UTC
2 JLV_2.5.3.0.2_cif.zip\JLV_2.5.3.0.2_src\VistaDataService\src\test\integration\java\gov\va\med\vds TestConfig.java Wed Jun 21 14:43:40 2017 UTC

118.2 Comparison summary

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

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

118.4 Active regular expressions

No regular expressions were active.

118.5 Comparison detail

  1   /**
  2    * Janus 4 .0 (c)
  3    * Copyrig ht (c) 201 1 Hawaii R esource Gr oup LLC. A ll Rights  Reserved.
  4    * Develop ed for the  Pacific T elehealth  & Technolo gy Hui and  the Pacif ic Joint I nformation  Technolog y Center
  5    * Contrib utors:
  6    *     Hon orable Sen ator Danie l K. Inouy e
  7    *     VA  Pacific Is lands Heal th Care Sy stem
  8    *     Tri pler Army  Medical Ce nter
  9    */
  10    
  11    
  12   package go v.va.med.v ds;
  13  
  14   import org .slf4j.Log ger;
  15   import org .slf4j.Log gerFactory ;
  16  
  17   import jav a.io.IOExc eption;
  18   import jav a.io.Input Stream;
  19   import jav a.util.Pro perties;
  20  
  21   /**
  22    * User:  R E D AC TED
  23    * Date: 8 /2/11
  24    * Time: 1 0:39 AM
  25    */
  26   public cla ss TestCon fig
  27   {
  28       privat e static f inal Logge r logger =  LoggerFac tory.getLo gger(TestC onfig.clas s);
  29  
  30       static
  31       {
  32           // point to d ebug prope rties
  33           Sy stem.setPr operty("lo g4j.config uration",  "log4j-deb ug.xml");
  34       }
  35  
  36       privat e static P roperties  testConfig Prop = new  Propertie s();
  37  
  38       public  static fi nal String  PROVIDER_ ACCESS_COD E = "testc onfig.prov ider.acces s.code";
  39       public  static fi nal String  PROVIDER_ VERIFY_COD E = "testc onfig.prov ider.verif y.code";
  40       public  static fi nal String  PROVIDER_ SITE_CODE    = "testc onfig.prov ider.sitec ode";
  41       public  static fi nal String  PROVIDER_ LOGIN_SITE _CODE = "t estconfig. provider.l ogin.sitec ode";
  42       public  static fi nal String  PATIENT_N AME = "tes tconfig.pa tient.name ";
  43       public  static fi nal String  PATIENT_S SN  = "tes tconfig.pa tient.ssn" ;
  44       public  static fi nal String  PATIENT_I CN  = "tes tconfig.pa tient.icn" ;
  45       public  static fi nal String  EHR_PATIE NT_IEN = " testconfig .ehr.patie nt.ien";
  46       public  static fi nal String  EHR_SITEC ODE = "tes tconfig.eh r.datasour ce.sitecod e";
  47  
  48       public  static fi nal String  RPC_SITES _FILE = "t estconfig. sites.rpc. file";
  49       public  static fi nal String  CACHE_SIT ES_FILE =  "testconfi g.sites.ca che.file";
  50  
  51       public  static fi nal String  ENTERPRIS E_SITE = " testconfig .enterpris e.site";
  52       public  static fi nal String  ENTERPRIS E_USER_IEN  = "testco nfig.enter prise.user .ien";
  53       public  static fi nal String  ENTERPRIS E_USER_NAM E = "testc onfig.ente rprise.use r.name";
  54       public  static fi nal String  ENTERPRIS E_PATIENT_ IEN = "tes tconfig.en terprise.p atient.ien ";
  55  
  56       public  static St ring get(S tring prop erty)
  57       {
  58           if  (testConf igProp.isE mpty())
  59           {
  60                init();
  61           }
  62  
  63           re turn (Stri ng) testCo nfigProp.g et(propert y);
  64  
  65       }
  66  
  67       privat e static v oid init()
  68       {
  69           Cl assLoader  classLoade r = TestCo nfig.class .getClassL oader();
  70  
  71           if  (classLoa der == nul l) throw n ew Runtime Exception( "Classload er is null ");
  72  
  73           In putStream  inputStrea m = null;
  74  
  75           tr y {
  76                inputStr eam = clas sLoader.ge tResourceA sStream("t estconfig. properties ");
  77  
  78                testConf igProp.loa d(inputStr eam);
  79           }  catch (IOE xception e ) {
  80                throw ne w RuntimeE xception(e );
  81           }
  82           fi nally {
  83                if (inpu tStream !=  null)
  84                {
  85                    try  {
  86                         inputStrea m.close();
  87                    } ca tch (IOExc eption e)  {
  88                         logger.err or(e.getMe ssage());
  89                    }
  90                }
  91           }
  92       }
  93   }