47. EPMO Open Source Coordination Office Redaction File Detail Report

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

47.1 Files compared

# Location File Last Modified
1 CTT_Release_8_June_2018.zip\CTT_ISAAC\metacontent-store\ISAAC\db-config-builder\src\test\java\test TestSourceUploadConfiguration.java Tue Jul 17 16:27:43 2018 UTC
2 CTT_Release_8_June_2018.zip\CTT_ISAAC\metacontent-store\ISAAC\db-config-builder\src\test\java\test TestSourceUploadConfiguration.java Wed Jul 18 20:33:56 2018 UTC

47.2 Comparison summary

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

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

47.4 Active regular expressions

No regular expressions were active.

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