/
Loading a Database with Sample 201604 Data

Loading a Database with Sample 201604 Data

Overview

Instructions on loading a testing database.

Details

  1. Follow the normal https://wiki.terminology.tools/display/UTS/Building+and+Deploying+in+Eclipse instructions
    1. Except at step 7 use the profile "reset-meta"

With that, you should be able to build and deploy a server.

NOTE: on certain unix environments MySQL table names are case sensitive and will need to be corrected (ask BAC if needed)

Mini Testing Insertions

Full data for insertions can be downloaded from S3

  • NOTE: for this, use the normal config.properties setup
  • Download the "full" testing data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir.zip 
  • Unzip this into c:/umlsserver/data-mini
    • This process will use the contents of the "inv" directory
  • Edit config.properties so that source.data.dir points to c:/umlsserver/data-mini
  • Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.

MiniTesting Release

  • NOTE: for this, use the normal config.properties setup
  • Download the "full" testing data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir.zip
  • Unzip this into c:/umlsserver/data-mini
    • This process will use the contents of the "mr" directory
  • Edit config.properties so that source.data.dir points to c:/umlsserver/data-mini
  • Copy the "bin" directory from config/prod-nci-meta/src/main/resources to your c:/umlsserver directory
  • If running on windows, make sure "cygwin.bin" property is properly configured in your config.properties (e.g. path to cygwin bin directory)
  • Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.

 

  • n/a

Mini Testing Insertions

Full data for insertions can be downloaded from S3

  • NOTE: for this, use the normal config.properties setup
  • Download the "full" testing data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir.zip 
  • Unzip this into c:/umlsserver/data
    • This process will use the contents of the "inv" directory
  • Edit config.properties so that source.data.dir points to c:/umlsserver/data
  • Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.

MiniTesting Release

  • NOTE: for this, use the normal config.properties setup
  • Download the "full" testing data - https://wci1.s3.amazonaws.com/NCI/NCI-srcDataDir.zip
  • Unzip this into c:/umlsserver/data
    • This process will use the contents of the "mr" directory
  • Edit config.properties so that source.data.dir points to c:/umlsserver/data
  • Run a server, and perform NCI, SNOMEDCT_US, or MTH insertion.