120. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 9/15/2018 10:47:54 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.

120.1 Files compared

# Location File Last Modified
1 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-ws\src\main\java\gov\va\med\mhv\phrmgr\jms JmsQueryService.java Thu Aug 23 21:20:42 2018 UTC
2 MHV_2018.4.0.0.zip\2018.4.0.0\national portal\mhv_source\mhv_integration\mhv-integration-phr\mhv-integration-phrmgr-ws\src\main\java\gov\va\med\mhv\phrmgr\jms JmsQueryService.java Sat Sep 15 21:42:53 2018 UTC

120.2 Comparison summary

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

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

120.4 Active regular expressions

No regular expressions were active.

120.5 Comparison detail

  1   /**
  2    * 
  3    */
  4   package go v.va.med.m hv.phrmgr. jms;
  5  
  6   import gov .va.med.mh v.integrat ion.phr.se rvice.Quer yService;
  7   import gov .va.med.mh v.integrat ion.phr.se rvice.Quer yServiceRe sponse;
  8   import gov .va.med.mh v.integrat ion.phr.se rvice.Refr eshDataSer vice;
  9   import gov .va.med.mh v.integrat ion.phr.se rvice.Serv iceRespons e;
  10   import gov .va.med.mh v.integrat ion.phr.se rvice.Stag ingService ;
  11   import gov .va.med.mh v.integrat ion.phr.st age.enumer ation.Stag eExtractSt atusType;
  12   import gov .va.med.mh v.integrat ion.phr.st age.enumer ation.Stag eMessageTy pe;
  13   import gov .va.med.mh v.integrat ion.phr.st age.enumer ation.Stag eRoutingSt atusType;
  14   import gov .va.med.mh v.integrat ion.phr.st age.transf er.StageMe ssageContr ol;
  15   import gov .va.med.mh v.integrat ion.phr.tr ansfer.Que ryRequest;
  16  
  17   import jav a.util.Dat e;
  18  
  19   import org .springfra mework.jms .JmsExcept ion;
  20   import org .springfra mework.jms .core.JmsT emplate;
  21  
  22   /**
  23    * @author   DNS
  24    * 
  25    */
  26   public cla ss JmsQuer yService i mplements  QueryServi ce {
  27  
  28           pr ivate JmsT emplate de stination;
  29           
  30           pr ivate Stag ingService  stagingSe rvice;
  31  
  32           /*
  33            *  (non-Java doc)
  34            *  
  35            *  @see
  36            *  gov.va.me d.mhv.inte gration.ph r.service. QueryServi ce#process (gov.va.me d
  37            *  .mhv.inte gration.ph r.transfer .QueryRequ est)
  38            * /
  39           pu blic Query ServiceRes ponse proc ess(QueryR equest req uest) {
  40                    
  41                    Quer yServiceRe sponse res ponse = ne w QuerySer viceRespon se(Service Response.N EW);
  42                    Stag eMessageCo ntrol stag eMessageCo ntrol = ne w StageMes sageContro l(
  43                                      RefreshD ataService .messageNa me, 
  44                                      0L,                                                                   // n o valid re cord count  yet. 
  45                                      StageRou tingStatus Type.NEW, 
  46                                      StageMes sageType.R EQUEST , 
  47                                      request. getIcn(), 
  48                                      request. getStation Number(), 
  49                                      request. getExtract Type(), 
  50                                      new Date (),                                                 //  start dat e / time o f now
  51                                      null);                                                                // e nd date of  null for  now
  52                    
  53                    try  {
  54                             this.s tagingServ ice.stageR equest(sta geMessageC ontrol);
  55                             reques t.setReque stMsgCtrlI d(stageMes sageContro l.getId()) ;
  56                             this.d estination .convertAn dSend(requ est);
  57                    } ca tch (JmsEx ception jm se) {
  58                             stageM essageCont rol.setExt ractStatus (StageExtr actStatusT ype.ERROR) ;
  59                             stageM essageCont rol.setErr orMessage( jmse.getMe ssage());
  60                             this.s tagingServ ice.stageR equest(sta geMessageC ontrol);
  61                             respon se.setStat us(Service Response.E RROR);
  62                             respon se.setDesc ription(jm se.getMess age());
  63                             
  64                    }
  65  
  66                    retu rn respons e;
  67           }
  68  
  69           pu blic void  setDestina tion(JmsTe mplate des tination)  {
  70                    this .destinati on = desti nation;
  71           }
  72           
  73           pu blic void  setStaging Service(St agingServi ce staging Service) {
  74                    this .stagingSe rvice = st agingServi ce;
  75           }
  76   }