Versions Compared

Key

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

...

Below an example of the content an Archives.xml configuration file:

Code Block
xml
xml
<?xml version="1.0" encoding="UTF-8"?>
<archives xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/archives.xsd">
	<catalogueUrl>http://localhost:7080/deltares-archive-server/catalogue</catalogueUrl>
	<fileServerUrl>http://localhost:8081/thredds/fileServer/Archive</fileServerUrl>
</archives>

 

The only configuration needed in the Archives.xml is the location of the catalogue (the seamless integration uses the elastic search catalogue and not the Geonetwork catalogue). In addition the url of the fileserver at which the data is available should be configured.

To test if the url for the catalogue is correct you can paste the url in your browser. If the config is correct you should see a response simular to the one below.

Code Block
xml
xml
{
  "status" : 200,
  "name" : "Cameron Hodge",
  "version" : {
    "number" : "1.3.2",
    "build_hash" : "dee175dbe2f254f3f26992f5d7591939aaefd12f",
    "build_timestamp" : "2014-08-13T14:29:30Z",
    "build_snapshot" : false,
    "lucene_version" : "4.9"
  },
  "tagline" : "You Know, for Search"
}

 

To test if the fileServerUrl is correct you should append /catalog.html to the url and paste this url in your browser. If the url is correct you should see a list of the files and directories in the root of your data folder in the archive.