Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: first draft complete

...

This tutorial demonstrates how to create a very simple connection between the OODT File Manager and SIS.  The connection is made by outputting an RSS feed of data from the File Manager via the CAS REST API and configuring SIS to read in this RSS data.

Please note, this demonstration is very much a work-in-progress!  It represents the first steps in making a connection between OODT and SIS.  Work is ongoing and captured by issue OODT-402.  As work continues it is hoped that a more formal, elegant and robust connection between OODT and SIS will be defined.  This page will be updated accordingly to reflect the latest developments.

In the meantime, if you spot any typos, mistakes or feel that there are much better ways of doing things, please feel free to comment or update the wiki, send messages to the mailing lists or post to the OODT-402 ticket!  Your comments will always be much appreciated!

...

This tutorial assumes that you already have the OODT File Manager, OODT CAS File Manager REST API and SIS webapp installed and running on your machine.

...

Code Block
./filemgr-client --url http://localhost:9000 --operation --ingestProduct \
--productName geodata.txt --productStructure Flat \
--productTypeName GenericFile \
--metadataFile file:///tmp/geodata.txt.met \
--refs file:///tmp/geodata.txt

...

File Manager REST API Webapp Configuration

Add the following tag definitions to the ‘rssconf.xml’ configuration file for the CAS File Manager REST API webapp.  By default, ‘rssconf.xml’ is located in the WEB-INF/classes directory of the webapp.  The new tag definitions should be inserted between the <cas:rssconf> … </cas:rssconf> tags.

...

2) Navigate to ‘http://<host>/<webapp>/viewRecent?channel=ALL’.  Where <host> is the host location for Tomcat and <webapp> is the directory of your CAS File Manager REST API webapp.  For example,  ‘’.

...

SIS Webapp Configuration

Add the URL used in the CAS File Manager REST API to the ‘sis_location_config.xml’ file for the SIS webapp.  By default, this is located in the WEB-INF/classes directory of the SIS webapp.  Remove all of the other RSS URLs from the file.  After editing the file, it should look similar to the following:

...

Wiki Markup
Restart Tomcat to ensure that the changes to the configuration file are detected.&nbsp; \[Note: If you have previously run the ‘demo.jsp’ SIS webapp demonstration page, it may be necessary to clear out the stored data from the webapp.&nbsp; This can be done by deleting the folders ‘geodata’ and ‘qtree’ from the main sisSIS webapp directory inbetween stopping and starting Tomcat.&nbsp; The folders will be recreated by the webapp when the next query is run.\]

Running The Demo

Open To demonstrate the connection we'll use the 'demo.jsp' demo from the SIS web application.  Open a web browser and navigate to http://<host>/<webapp>/demo.jsp, where <host> is the Tomcat location and <webapp> is the SIS webapp folder, for example: ‘http://localhost:8080/sis/demo.jsp’.

...