...
Resources for training.
Topics Covered
- Drip feed Prerequisites mojo and dependenciesdata source
- Wrapper script installation and use
- Manually running drip feed (no script)
- Wiring a cron jobAlternatives for using Maven
Video
...
Following is a script for the attached video.
Briefly describe the drip feed:
- Mojos: Show the TerminologyRF2DeltaLoader
- Explain this is configured for SNOMEDCT, i.e.
...
Open a browser and direct it to the landing page for the application
...
- dpnTypeId, dpnrefsetId
- Drip feeds for other terminologies will need custom handling
- Data source:
- Either obtain automatically through maven
- Download from https://mgr.servers.aceworkspace.net/apps/ihtsdo-archiva/repository/all/org/ihtsdo/intl/release/process/wb-release-process/
- Explain forcing log in and refresh using non-functional link
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
...
References/Links
- n/a