62. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 4/27/2018 2:59:09 PM 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.

62.1 Files compared

# Location File Last Modified
1 v2.0_Sprint_15_Build_5.zip\v2.0_Sprint_15_Build_5\Unredacted\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\controller Application.java Tue Apr 24 14:49:54 2018 UTC
2 v2.0_Sprint_15_Build_5..zip\v2.0_Sprint_15_Build_5\Unredacted\ARS_Backend\ars_app\src\main\java\gov\va\med\ars\controller Application.java Thu Apr 26 14:57:38 2018 UTC

62.2 Comparison summary

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

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

62.4 Active regular expressions

No regular expressions were active.

62.5 Comparison detail

  1   /*package  gov.va.med .ars.contr oller;
  2  
  3   import org .slf4j.Log ger;
  4   import org .slf4j.Log gerFactory ;
  5   import org .springfra mework.bea ns.factory .annotatio n.Autowire d;
  6   import org .springfra mework.con text.annot ation.Comp onentScan;
  7  
  8   import gov .va.med.do main.ars.C laimSubmis sion;
  9  
  10  
  11   @Component Scan
  12   public cla ss Applica tion {
  13  
  14       privat e static L ogger log  = LoggerFa ctory.getL ogger(Appl ication.cl ass);
  15       privat e static f inal Strin g BREAK =  "<br/>";
  16       
  17       //@Aut owired
  18       //priv ate static  EmailServ ice emailS ervice;
  19  
  20       public  static vo id main(St ring[] arg s) throws  Exception  {
  21          run (null, "") ;
  22       }
  23  
  24  
  25       public  static vo id run(Cla imSubmissi on claimSu bmission,  String to)  throws Ex ception {
  26           lo g.info("Sp ring Mail  - Sending  Simple Ema il with Ja vaMailSend er Example ");
  27  
  28           Ma il mail =  new Mail() ;
  29             mail.setFr om(" PII ");
  30           ma il.setTo(t o);
  31           ma il.setSubj ect("ARS S ubmission  " + claimS ubmission. getSubmiss ionid() +  " Update") ;
  32           St ring email BodyBuild  = buildEma ilBody(cla imSubmissi on);
  33           ma il.setCont ent(emailB odyBuild);
  34           Em ailService  emailServ ice = new  EmailServi ce();
  35           em ailService .sendSimpl eMessage(m ail);
  36       }
  37       
  38       public  static St ring build EmailBody( ClaimSubmi ssion clai mSubmissio n) {
  39           
  40           St ringBuffer  emailBody Buffer = n ew StringB uffer();
  41           St ring email Body="The  submission  " + claim Submission .getSubmis sionid() +  " for the  following  claim " +  claimSubm ission.get Trn02fppsC laimId() +  " has bee n updated  to " + cla imSubmissi on.getSubm issionStat us();
  42           em ailBodyBuf fer.append ("Hello,") ;
  43           em ailBodyBuf fer.append (BREAK);
  44           em ailBodyBuf fer.append (BREAK);
  45           em ailBodyBuf fer.append (emailBody );
  46           em ailBodyBuf fer.append (BREAK);
  47           em ailBodyBuf fer.append (BREAK);
  48           em ailBodyBuf fer.append ("Thanks," );
  49           em ailBodyBuf fer.append (BREAK);
  50           em ailBodyBuf fer.append ("ARS Robo tic Progra m");
  51           em ailBodyBuf fer.append (BREAK);
  52           em ailBodyBuf fer.append (BREAK);
  53             emailBodyB uffer.appe nd("<a hre f='https:/ / URL : PORT '>ARS Logi n in</a>") ;
  54           re turn email BodyBuffer .toString( );
  55       }
  56   }*/