Skip to content

CUAHSI archive architecture

Mike Dye edited this page Sep 29, 2017 · 8 revisions

The CUAHSI archive integration consists of the following elements:

  • Archive MVC
    • This defines which archive is selected along with a couple of configuration parameters such as user credentials as well as the frequency at which data are sent to the archive
    • Currently this is limited to CUAHSI
    • It also schedules cron jobs using the "Whenever" gem
    • Credential are securely stored stored in the config/archive.yml file
  • ArchiveJob MVC
    • This MVC acts a a job scheduler, tracking the status of which data need to be archived
    • It also tracks the success status of each attempted transmission
    • Jobs are created by the archive:create_jobs rake task (this is called by the cron job)
    • Data are sent to the archive by the archive:send_data rake task
  • Contact Info fields were added to the Profile (this is required by CUAHSI)
  • Several Controlled Vocabularies / Ontologies were integrated into the portal specifically to enable CUAHSI compatibility:
    • MeasuredProperties
    • SiteType
    • TopicCategory
    • Units
    • GeneralCategory
Clone this wiki locally