Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Apache ActiveMQ 5.4.x Installed (Note: Version 5.5.x may cause incompatibility errors) [See Procedures in Addendum for Instructions]
  • Gator1 Public Certificate Imported to the JRE Keystore [See Procedures in Addendum for Instructions]
  • People in VIVO harvested by PeopleSoft Harvester or People in VIVO with UFID’s.

...

  • Execute pre-harvest analytics [See addendum for example SPARQL query]
  • sudo bash image.sh
  • Wait for console output to state “Successfully Harvested Images” (This may take several minutes depending on the number of people in VIVO)
  • Check console output for Harvest Execution time.
  • Review images in VIVO web application
  • Review Harvester log file in /usr/share/vivo/harvester/example-scripts/example-images/logs/example-images.DATETIME.log the images to.
  • Execute post-harvest analytics [See addendum for example SPARQL query]
  • Review email-log . Individual users can be varified for the associated image by clicking on the URL provided in the email

...

  • In order to execute the image ingest with out activemq please follow the below instructions:
  • In the image.sh script comment the line:

    Panel

    #harvester-image -p $HARVESTER_INSTALL_DIR/example-scripts/example-images This files pull images from activemq

  • Create "images" directory in example-images and move the images to it with out any extensions i.e it should only contains images with just UFID's.(For example 11112222 instead of 11112222.jpeg)

...

  • ../example-images/
    • image.sh- is source directory for getting images.Its is populated from Gator one database using JMS, ActiveMQ
    • fullImages- contains full images required by ViVO
    • thumbnails -contains thumbnail Images required by VIVO
    • system.properties - contians ServerURL , UserName/Password , ActiveMQ queue Name.
    • backup - contains images that needs to be harvested in the next harvester run.
    • data - contains data that s used by the harvester
    • images - it’s the input to the image harvester.
    • logs - contains logs, of each harvester that is run
    • upload - contains images that needs to be uploaded in to VIVO. upload contains following sub directories
      • mainImages - contains full sized images of the people that are to be ingested in to VIVO
      • thumbnails - contains thumbnails of the people that are to be ingested in to VIVO
    • other configuration files that are used are:
      • diff-subtractions.config.xml
      • image-to-vivo.xsl
      • model.xml
      • raw-records.config.xml run-image.sh
      • xsltranslator.config.xml
      • harvested-data.model.xml
      • score-data.model.xml
      • translated-records.config.xml
      • vivo.model.xml
      • diff-additions.config.xml images
      • match-roles.config.xml
      • previous-harvest.model.xml
      • score-people.config.xml
      • ufids.txt
      • vivo.Override.xml

Analytics

  • Total number of people in VIVO
    **

    Panel

    SELECT count(?person)
    where
    {
    ?person rdf:type foaf:Person .
    }

  • Total number of people with UFID's in VIVO
    **

    Panel

    SELECT count(?URI)
    WHERE
    {
    ?URI rdf:type foaf:Person .
    ?URI ufVivo:ufid ?UFID .
    }

  • Total number of people with out UFID's in VIVO
    **

    Panel

    SELECT count(?u)
    WHERE
    {
    ?u rdf:type foaf:Person .
    OPTIONAL {?u ufVivo:ufid ?y . }
    FILTER (!bound(?y))
    }

...