You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

Overview

Resources for training.

Topics Covered

  • Drip feed mojo and data source
  • Wrapper script installation and use
  • Manually running drip feed (no script)
  • Wiring a cron job

Video

Script

Following is a script for the attached video.

Briefly describe the drip feed:

Wrapper script:  Show contents of ~/bin/loadDelta.csh and describe sequence

  • Tomcat server shut down: explain this is necessary to prevent indexing issues
  • Delete current delta files
    • Note the version requirements here (e.g. 1.20-SNAPSHOT).  This must be changed every release cycle.
  • Get the current delta files and unzip them
    • Note the version requirements here (e.g. 1.20-SNAPSHOT).  This must be changed every release cycle.
  • Run the TerminologyRF2DeltaLoader mojo
  • Remove and regenerate SNOMEDCT tree positions
  • Recompute workflow
    • Note the refset ids passed as argument
  • Restart the tomcat server.

Manually obtaining data and running drip feed

  • Reference obtaining data from start of video
  • Use the same process described in the wrapper script, except don't use the delete data/get data steps.  Process is then:
    • Shut down server.
    • Run the TerminologyRF2DeltaLoader with inputDir set to the location of your files
    • Remove and regenerate SNOMEDCT tree positions
    • Recompute workflow
    • Restart tomcat server

Wiring to cron job:

  • crontab:  program used to install, remove, or list the current cronjobs
  • Demonstrate crontab -l, crontab -e
  • Note MAILTO and column headers, direct to online documentation

 

 

 

 

 

 

  • n/a
  • No labels