Changes between Version 41 and Version 42 of Software/MSI/ConfigurationNeptune


Ignore:
Timestamp:
03/07/09 14:13:04 (10 years ago)
Author:
sdonegan
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Software/MSI/ConfigurationNeptune

    v41 v42  
    199199Passwords can be found in the Secrets box. 
    200200 
     201=== Discovery NDG URL redirection service === 
     202 
     203The NDG redirection service redirects links to the original URL, once the original URL has been replaced during discovery ingestion with the relevant details.  Before the required link is redirected details on the link and associated dataset are recorded within a logging database as well as a counter incremented in the original database for the relevant dataset. 
     204 
     205A converted redirected URL looks like this: 
     206 
     207http://ndg3beta.badc.rl.ac.uk/URL_redirect_NDG3/ndgURLredirect/redirect?url=http%3A//www.neodc.rl.ac.uk&docID=neodc.nerc.ac.uk%3ADIF%3Adataent_11924879127625221&docTitle=NCAVEO%20field%20experiment%20data 
     208 
     209and redirects the link to the original specified url at http://www.neodc.rl.ac.uk/ .  Dataset title and unique id are also encoded so as to allow easy dissemination of which datasets produce the most traffic. 
     210 
     211The NDG redirection service endpoint is: http://ndg3beta.badc.rl.ac.uk/URL_redirect_NDG3/ndgURLredirect/redirect and requires the addition of 3 parameters to allow parsing and update of the database: 
     212 
     213url, docID & docTitle.  These need to be encoded using UTF-8 so they can be parsed correctly by the service. 
     214 
     215The service is available as [http://ndg.nerc.ac.uk/dist/ndgRedirect-1.0.0dev_r5460-py2.5.egg egg] which can be run within a paster buildouts session (you will need to unpack service.ini as well as config files for both the url tracking database and the main discovery database - not in the egg - contact steve.donegan@stfc.ac.uk).  Dependancies etc as required are detailed in the configs below 
     216 
     217Buildout script to run paster on 8081: 
     218 
     219TBC 
     220 
     221Run as mod_wsgi script with buildout 
     222 
     223TBC 
     224 
     225 
     226 
    201227=== COWS === 
    202228There is a virtualenv based python under /usr/local/cows_virtualenv