947. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/3/2017 11:16:06 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.

947.1 Files compared

# Location File Last Modified
1 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features-arch\old_ehmp_features_ruby\steps\helper QueryCDS.rb Tue Dec 15 14:05:18 2015 UTC
2 ehmp.zip\ehmp\ehmp\product\tests\acceptance-tests\features-arch\old_ehmp_features_ruby\steps\helper QueryCDS.rb Mon Oct 2 20:09:56 2017 UTC

947.2 Comparison summary

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

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

947.4 Active regular expressions

No regular expressions were active.

947.5 Comparison detail

  1   path = Fil e.expand_p ath '..',  __FILE__
  2   $LOAD_PATH .unshift p ath unless  $LOAD_PAT H.include? (path)
  3   require 'D efaultHmpL ogin.rb'
  4  
  5   class Quer yCDS
  6     def init ialize(cli entname, d omain, icn )
  7       @path  = String.n ew(Default Login.fhir _url)
  8         @path.conc at("/repos itories. URL         /fpds/")
  9       @path. concat(dom ain)
  10       @path. concat("/" )
  11       @numbe r_paramete rs = 0
  12       add_pa rameter("c lientName" , clientNa me)
  13       add_pa rameter("n ationalId" , icn)
  14       add_pa rameter("t emplateId" , "Generic Observatio nRead1")
  15       add_pa rameter("f ilterId",  "GENERIC_V ISTA_LIST_ DATA_FILTE R")
  16     end
  17     
  18     def add_ parameter( param, val ue)
  19       if @nu mber_param eters == 0
  20         @pat h.concat(" ?")
  21       else
  22         @pat h.concat(" &")
  23       end
  24       @numbe r_paramete rs = @numb er_paramet ers + 1
  25       @path. concat(par am)
  26       @path. concat("=" )
  27       @path. concat(val ue)
  28     end
  29  
  30     def path
  31       return  @path
  32     end
  33   end # clas s
  34  
  35   if __FILE_ _ == $PROG RAM_NAME
  36     p QueryC DS.new("on e", "1").p ath
  37     p QueryC DS.new("tw o", "2", " true").pat h
  38     p QueryC DS.new("th ree", "3",  "false"). path
  39     
  40     test = Q ueryCDS.ne w("test",  "1")
  41     test.add _parameter ("filter",  "like('ca tegoryName ','Patholo gy')")
  42     p test.p ath
  43   end