25. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 3/25/2019 8:58:01 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.

25.1 Files compared

# Location File Last Modified
1 C:\AraxisMergeCompare\Pri_un\IMAG_Source\VISA\Java\FederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource AbstractFederationWorkListDataSourceService.java Mon Mar 18 20:39:05 2019 UTC
2 C:\AraxisMergeCompare\Pri_re\IMAG_Source\VISA\Java\FederationDataSourceProvider\main\src\java\gov\va\med\imaging\federationdatasource AbstractFederationWorkListDataSourceService.java Tue Mar 19 12:03:36 2019 UTC

25.2 Comparison summary

Description Between
Files 1 and 2
Text Blocks Lines
Unchanged 3 260
Changed 2 4
Inserted 0 0
Removed 0 0

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

25.4 Active regular expressions

No regular expressions were active.

25.5 Comparison detail

  1   /**
  2    * 
  3     Package:  MAG - Vis tA Imaging
  4     WARNING:  Per VHA D irective 2 004-038, t his routin e should n ot be modi fied.
  5     Date Cre ated: Jun  8, 2018
  6     Site Nam e:  Washin gton OI Fi eld Office , Silver S pring, MD
  7       Developer:     DNS     tjahjb
  8     Descript ion: 
  9  
  10           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  11           ;;  Property  of the US  Government .
  12           ;;  No permis sion to co py or redi stribute t his softwa re is give n.
  13           ;;  Use of un released v ersions of  this soft ware requi res the us er
  14           ;;   to execu te a writt en test ag reement wi th the Vis tA Imaging
  15           ;;   Developm ent Office  of the De partment o f Veterans  Affairs,
  16           ;;   telephon e (301) 73 4-0100.
  17           ;;
  18           ;;  The Food  and Drug A dministrat ion classi fies this  software a s
  19           ;;  a Class I I medical  device.  A s such, it  may not b e changed
  20           ;;  in any wa y.  Modifi cations to  this soft ware may r esult in a n
  21           ;;  adulterat ed medical  device un der 21CFR8 20, the us e of which
  22           ;;  is consid ered to be  a violati on of US F ederal Sta tutes.
  23           ;;  +-------- ---------- ---------- ---------- ---------- ---------- ---------- +
  24  
  25    */
  26   package go v.va.med.i maging.fed erationdat asource;
  27  
  28   import gov .va.med.Ro utingToken ;
  29   import gov .va.med.im aging.arti factsource .ResolvedA rtifactSou rce;
  30   import gov .va.med.im aging.core .interface s.exceptio ns.Connect ionExcepti on;
  31   import gov .va.med.im aging.core .interface s.exceptio ns.MethodE xception;
  32   import gov .va.med.im aging.data source.Wor kListDataS ourceSpi;
  33   import gov .va.med.im aging.data source.exc eptions.Un supportedS erviceMeth odExceptio n;
  34   import gov .va.med.im aging.exch ange.busin ess.*;
  35   import gov .va.med.im aging.fede ration.pro xy.Federat ionProxyUt ilities;
  36   import gov .va.med.im aging.fede ration.pro xy.IFedera tionProxy;
  37   import gov .va.med.im aging.prox y.services .ProxyServ ices;
  38  
  39   import jav a.util.Lis t;
  40  
  41   import org .apache.lo gging.log4 j.LogManag er;
  42   import org .apache.lo gging.log4 j.Logger;
  43  
  44   /**
  45    * @author   DNS     tjahjb
  46    *
  47    */
  48   public abs tract clas s Abstract Federation WorkListDa taSourceSe rvice
  49   extends Ab stractFede rationData SourceServ ice
  50   implements  WorkListD ataSourceS pi 
  51   {
  52           pr ivate Prox yServices  federation ProxyServi ces = null ;
  53           pr otected fi nal static  String FE DERATION_P ROXY_SERVI CE_NAME =  "Federatio n";
  54           
  55           pu blic final  static St ring SUPPO RTED_PROTO COL = "vft p";
  56           
  57           pr ivate fina l static L ogger logg er = LogMa nager.getL ogger(Abst ractFedera tionImageD ataSourceS ervice.cla ss);
  58           
  59           pr otected ab stract Str ing getDat aSourceVer sion();
  60           
  61           pr otected ab stract IFe derationPr oxy getFed erationPro xy()
  62           th rows Conne ctionExcep tion;
  63           
  64           /* *
  65            *  
  66            *  @param re solvedArti factSource
  67            *  @param pr otocol
  68            *  @throws U nsupported OperationE xception i f the Reso lvedArtifa ctSource i s not an i nstance of  ResolvedS ite
  69            * /
  70           pu blic Abstr actFederat ionWorkLis tDataSourc eService(
  71                    Reso lvedArtifa ctSource r esolvedArt ifactSourc e,
  72                    Stri ng protoco l)
  73           th rows Unsup portedOper ationExcep tion
  74           {
  75                    supe r(resolved ArtifactSo urce, prot ocol);
  76                    if(!  (resolved ArtifactSo urce insta nceof Reso lvedSite)  )
  77                             throw  new Unsupp ortedOpera tionExcept ion("The a rtifact so urce must  be an inst ance of Re solvedSite  and it is  a '" + re solvedArti factSource .getClass( ).getSimpl eName() +  "'.");
  78           }
  79  
  80           /* *
  81            *  The artif act source  must be c hecked in  the constr uctor to a ssure that  it is an  instance
  82            *  of Resolv edSite.
  83            *  
  84            *  @return
  85            * /
  86           pr otected Re solvedSite  getResolv edSite()
  87           {
  88                    retu rn (Resolv edSite)get ResolvedAr tifactSour ce();
  89           }
  90           
  91           pr otected Si te getSite ()
  92           {
  93                    retu rn getReso lvedSite() .getSite() ;
  94           }
  95           
  96           /*  (non-Java doc)
  97            *  @see gov. va.med.ima ging.datas ource.Imag eDataSourc e#isVersio nCompatibl e()
  98            * /
  99           @O verride
  100           pu blic boole an isVersi onCompatib le() 
  101           {
  102                    if(g etFederati onProxySer vices() ==  null)
  103                             return  false;            
  104                    retu rn true;
  105           }
  106           
  107           pr otected St ring getFe derationPr oxyName()
  108           {
  109                    retu rn FEDERAT ION_PROXY_ SERVICE_NA ME;
  110           }
  111           
  112           /* *
  113            *  Returns t he proxy s ervices av ailable, i f none are  available  then null  is return ed
  114            * /
  115           pr otected Pr oxyService s getFeder ationProxy Services()
  116           {
  117                    if(f ederationP roxyServic es == null )
  118                    {
  119                             federa tionProxyS ervices = 
  120                                      Federati onProxyUti lities.get Federation ProxyServi ces(getSit e(), 
  121                                                       ge tFederatio nProxyName (), getDat aSourceVer sion());
  122                    }
  123                    retu rn federat ionProxySe rvices;
  124           }
  125           
  126           
  127           pr otected Lo gger getLo gger()
  128           {
  129                    retu rn logger;
  130           }
  131  
  132   }