666. EPMO Open Source Coordination Office Redaction File Detail Report

Produced by Araxis Merge on 10/12/2018 4:04:42 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.

666.1 Files compared

# Location File Last Modified
1 Vetlink 2.0.zip\Vetlink 2.0\vetlink-services.zip\vetlink-services\VetLinkServices\src\main\resources\mongo-admin-data vetlinkCreateIndexes.sh Fri Aug 24 18:25:23 2018 UTC
2 Vetlink 2.0.zip\Vetlink 2.0\vetlink-services.zip\vetlink-services\VetLinkServices\src\main\resources\mongo-admin-data vetlinkCreateIndexes.sh Thu Oct 11 20:19:09 2018 UTC

666.2 Comparison summary

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

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

666.4 Active regular expressions

No regular expressions were active.

666.5 Comparison detail

  1   #!/bin/bas h
  2  
  3   typeset ho st=$1
  4   typeset po rt=$2
  5   typeset us er=$3
  6   typeset pa ss=$4
  7   typeset db =vetlink
  8  
  9   if [[ $# - ne 4 ]]; t hen
  10       echo " Usage: $0  host user  pass";
  11         echo "host  - server  ip for Mon go databas e, ex:  IP        ";
  12       echo " port - ser ver port f or Mongo d atabase, e x: 27017";
  13       echo " user - use rname for  database";
  14       echo " pass - pas sword for  database";
  15       exit;
  16   fi
  17  
  18   mongo --ss lAllowInva lidCertifi cates --ss l --host $ {host} --p ort ${port } -u ${use r} -p ${pa ss} --auth entication Database $ {db} <<-EN D_JS
  19       db = d b.getSibli ngDB("${db }")
  20       db.cre ateCollect ion("diagn osis")
  21       db.cre ateCollect ion("group s")
  22       db.cre ateCollect ion("posts ")
  23       db.cre ateCollect ion("profi le")
  24       db.dia gnosis.cre ateIndex(  { diagnosi sId : -1 } , { unique : true, na me: 'diagn osisIdUniq ueConstrai nt'} )
  25       db.gro ups.create Index( { n ame : -1 } , { unique : true, na me: 'group NameUnique Constraint '} )
  26       db.gro ups.create Index( { m embers : - 1 }, { nam e: 'groupM embers'} )
  27       db.pos ts.createI ndex( { gr oupId : -1  }, { uniq ue: false,  name: 'gr oupId'} )
  28       db.pos ts.createI ndex( { cr eatedDate  : -1 }, {e xpireAfter Seconds :  2592000} )
  29       db.pro file.creat eIndex( {  patientId  : -1 }, {  unique: tr ue, name:  'patientId UniqueCons traint'} )
  30       db.pro file.creat eIndex( {  userName :  -1 }, { u nique: tru e, name: ' userNameUn iqueConstr aint'} )
  31   END_JS