30. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 7/20/2018 12:56:41 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.

30.1 Files compared

# Location File Last Modified
1 CTT_Release_8_June_2018.zip\CTT_ISAAC\ISAAC\db-config-builder\src\test\java\test TestSourceUploadConfiguration.java Tue Jul 17 16:27:36 2018 UTC
2 CTT_Release_8_June_2018.zip\CTT_ISAAC\ISAAC\db-config-builder\src\test\java\test TestSourceUploadConfiguration.java Wed Jul 18 19:13:11 2018 UTC

30.2 Comparison summary

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

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

30.4 Active regular expressions

No regular expressions were active.

30.5 Comparison detail

  1   package te st;
  2  
  3   import jav a.io.File;
  4   import jav a.nio.file .Files;
  5   import jav a.nio.file .StandardO penOption;
  6   import jav a.util.Arr ayList;
  7   import gov .vha.isaac .ochre.api .util.Work Executors;
  8   import gov .vha.isaac .ochre.pom builder.Fi leUtil;
  9   import gov .vha.isaac .ochre.pom builder.Gi tPublish;
  10   import gov .vha.isaac .ochre.pom builder.co nverter.Su pportedCon verterType s;
  11   import gov .vha.isaac .ochre.pom builder.up load.SrcUp loadCreato r;
  12   import jav afx.beans. value.Chan geListener ;
  13   import jav afx.beans. value.Obse rvableValu e;
  14   import jav afx.concur rent.Task;
  15  
  16   public cla ss TestSou rceUploadC onfigurati on
  17   {
  18  
  19           pu blic stati c void mai n(String[]  args) thr ows Throwa ble
  20           {
  21                     String git TestURL =  "https:// DNS : PORT /git/r/jun k.git";
  22                    Stri ng gitUser name = "";
  23                    char [] gitPass word = "". toCharArra y();
  24                    
  25                     String art ifactRepos itory = "h ttps:// DNS : PORT /nexus/con tent/sites /ets_tooli ng_snapsho t/";
  26                    Stri ng reposit oryUsernam e = "";
  27                    Stri ng reposit oryPasswor d = "";
  28  
  29                    Syst em.setProp erty("java .awt.headl ess", "tru e");
  30                    
  31                    File  f = new F ile("testJ unk");
  32                    f.mk dir();
  33                    File s.write(ne w File(f,  "foo.txt") .toPath(),  "Hi there ".getBytes (), Standa rdOpenOpti on.WRITE,  StandardOp enOption.C REATE);
  34                    
  35                    Arra yList<File > files =  new ArrayL ist<>();
  36                    file s.add(new  File(f, "f oo.txt"));
  37                    
  38                    Syst em.out.pri ntln(GitPu blish.read Tags(gitTe stURL, git Username,  gitPasswor d));
  39                    
  40                    Task <String> t  = SrcUplo adCreator. createSrcU ploadConfi guration(S upportedCo nverterTyp es.SCT_EXT ENSION, "5 0.6", "us" , files, g itTestURL,  gitUserna me, gitPas sword, 
  41                                      artifact Repository , reposito ryUsername , reposito ryPassword );
  42                    
  43                    t.pr ogressProp erty().add Listener(n ew ChangeL istener<Nu mber>()
  44                    {
  45                             @Overr ide
  46                             public  void chan ged(Observ ableValue< ? extends  Number> ob servable,  Number old Value, Num ber newVal ue)
  47                             {
  48                                      System.o ut.println ("[Change]  Progress  " + newVal ue);
  49                             }
  50                    });
  51                    t.me ssagePrope rty().addL istener(ne w ChangeLi stener<Str ing>()
  52                    {
  53                             @Overr ide
  54                             public  void chan ged(Observ ableValue< ? extends  String> ob servable,  String old Value, Str ing newVal ue)
  55                             {
  56                                      System.o ut.println ("[Change]  Message "  + newValu e);
  57                             }
  58                    });
  59                    t.ti tlePropert y().addLis tener(new  ChangeList ener<Strin g>()
  60                    {
  61                             @Overr ide
  62                             public  void chan ged(Observ ableValue< ? extends  String> ob servable,  String old Value, Str ing newVal ue)
  63                             {
  64                                      System.o ut.println ("[Change]  Title " +  newValue) ;
  65                             }
  66                    });
  67                    
  68                    Work Executors. get().getE xecutor(). execute(t) ;
  69                    Syst em.out.pri ntln("Resu lt " + t.g et());
  70                    File Util.recur siveDelete (f);
  71           }
  72   }