Changeset 2115 for TI01-discovery/trunk


Ignore:
Timestamp:
06/02/07 17:25:23 (13 years ago)
Author:
mpritcha
Message:

Extra properties added for namespace URLs etc used by PresentAgent?.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI01-discovery/trunk/ws-Discovery2/src/ndg/services/discovery/ServiceProperties.java

    r1803 r2115  
    1212        public ServiceProperties() 
    1313        { 
    14                 this.properties.setProperty("xmlrpc.uri", "http://glue.badc.rl.ac.uk:8080/exist/xmlrpc"); 
    15                 this.properties.setProperty("xmlrpc.username","*****"); 
    16                 this.properties.setProperty("xmlrpc.password","*****"); 
    17                 this.properties.setProperty("jdbc.uri","jdbc:postgresql://glue.badc.rl.ac.uk/ndg_spatial"); 
    18                 this.properties.setProperty("jdbc.username","*****"); 
    19                 this.properties.setProperty("jdbc.password","*****"); 
     14                properties.setProperty("xmlrpc.uri", "http://glue.badc.rl.ac.uk:8080/exist/xmlrpc"); 
     15                properties.setProperty("xmlrpc.username","*****"); 
     16                properties.setProperty("xmlrpc.password","*****"); 
     17                properties.setProperty("jdbc.uri","jdbc:postgresql://glue.badc.rl.ac.uk/ndg_spatial"); 
     18                properties.setProperty("jdbc.username","postgres"); 
     19                properties.setProperty("jdbc.password","postgresDB"); 
     20 
     21                properties.setProperty("namespace.DIF", "http://gcmd.gsfc.nasa.gov/Aboutus/xml/dif/"); 
     22                properties.setProperty("namespace.DC","http://www.openarchives.org/OAI/2.0/oai_dc/"); 
     23                properties.setProperty("namespace.MDIP", "http://www.dassh.ac.uk"); 
     24                properties.setProperty("namespace.moles", "http://ndg.nerc.ac.uk/moles"); 
     25                 
     26                properties.setProperty("rootElement.DIF", "DIF"); 
     27                properties.setProperty("rootElement.DC","dc"); 
     28                properties.setProperty("rootElement.MDIP", "Metadata"); 
     29                properties.setProperty("rootElement.moles", "dgMetadata"); 
     30 
     31                properties.setProperty("namespacePrefix.DIF", ""); 
     32                properties.setProperty("namespacePrefix.DC","oai_dc"); 
     33                properties.setProperty("namespacePrefix.MDIP", "mdip"); 
     34                properties.setProperty("namespacePrefix.moles", "moles"); 
     35 
    2036        } 
    2137 
Note: See TracChangeset for help on using the changeset viewer.