26. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 8/31/2017 11:16:52 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.

26.1 Files compared

# Location File Last Modified
1 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLVQoS\src\main\java\gov\va\med\jmeadows\dataservicehandler JMeadowsServiceHandler.java Thu Aug 31 12:13:58 2017 UTC
2 JLV_2.6.zip\JLV_2.6\JLV_2.6\Joint Legacy Viewer\JLVQoS\src\main\java\gov\va\med\jmeadows\dataservicehandler JMeadowsServiceHandler.java Thu Aug 31 13:26:07 2017 UTC

26.2 Comparison summary

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

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

26.4 Active regular expressions

No regular expressions were active.

26.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    *              Honor able Senat or Daniel  K. Inouye
  7    *              VA Pa cific Isla nds Health  Care Syst em
  8    *              Tripl er Army Me dical Cent er
  9    *
  10    * License d under th e Apache L icense, Ve rsion 2.0  (the "Lice nse"); you  may not u se this fi le except  in complia nce with t he License .
  11    *
  12    * You may  obtain a  copy of th e License  at:
  13    *
  14    *             http:/ /www.apach e.org/lice nses/LICEN SE-2.0.txt
  15    *
  16    * Unless  required b y applicab le law or  agreed to  in writing , software
  17    * distrib uted under  the Licen se is dist ributed on  an "AS IS " BASIS,
  18    * WITHOUT  WARRANTIE S OR CONDI TIONS OF A NY KIND, e ither expr ess or imp lied.
  19    * See the  License f or the spe cific lang uage gover ning permi ssions and  limitatio ns under t he License .
  20    */
  21  
  22  
  23   package go v.va.med.j meadows.da taserviceh andler;
  24  
  25   import gov .va.med.jm eadows.web service.JM eadowsData ;
  26   import gov .va.med.jm eadows.web service.JM eadowsData Service;
  27   import org .apache.lo g4j.Logger ;
  28  
  29   import jav ax.xml.nam espace.QNa me;
  30   import jav ax.xml.ws. BindingPro vider;
  31   import jav a.util.Map ;
  32  
  33   public cla ss JMeadow sServiceHa ndler
  34   {
  35  
  36       privat e static f inal Logge r logger =  Logger.ge tLogger(JM eadowsServ iceHandler .class.get Name());
  37       privat e String s erviceURL;
  38       privat e String m _ServiceNa me;
  39       privat e String m _namespace ;
  40       privat e QName m_ QserviceNa me;
  41       privat e int conn ectionTime outMS;
  42       privat e int requ estTimeout MS;
  43       privat e JMeadows DataServic e m_jmeado wsDataServ ice;
  44  
  45       public  JMeadowsS erviceHand ler(String  url)
  46       {
  47           se rviceURL =  url;
  48           m_ ServiceNam e = "JMead owsDataSer vice";
  49             m_namespac e = "http: //webservi ce.jmeadow s. URL         /";
  50           m_ QserviceNa me = new Q Name(m_nam espace, m_ ServiceNam e);
  51  
  52           co nnectionTi meoutMS =  45000;
  53           re questTimeo utMS = 100 000;
  54  
  55           m_ jmeadowsDa taService  = new JMea dowsDataSe rvice();
  56       }
  57  
  58       privat e JMeadows Data getJM eadowsData Port()
  59       {
  60  
  61           JM eadowsData  port = m_ jmeadowsDa taService. getJMeadow sDataPort( );
  62  
  63           // set connec tion timeo ut
  64           Ma p<String,  Object> ct xt = ((Bin dingProvid er) port). getRequest Context();
  65           ct xt.put(Bin dingProvid er.ENDPOIN T_ADDRESS_ PROPERTY,  serviceURL );
  66  
  67           ct xt.put("co m.sun.xml. internal.w s.connect. timeout",  connection TimeoutMS) ;
  68           ct xt.put("co m.sun.xml. internal.w s.request. timeout",  requestTim eoutMS);
  69           ct xt.put("co m.sun.xml. ws.connect .timeout",  connectio nTimeoutMS );
  70           ct xt.put("co m.sun.xml. ws.request .timeout",  requestTi meoutMS);
  71  
  72           re turn port;
  73       }
  74  
  75       public  String ge tVersion()
  76       {
  77           tr y
  78           {
  79                JMeadows Data port  = getJMead owsDataPor t();
  80                return p ort.getVer sion();
  81           }
  82           ca tch (Excep tion e)
  83           {
  84                throw ne w RuntimeE xception(e );
  85           }
  86       }
  87   }