Versions Compared

Key

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

...

Code Block
languagexml
<?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>https://fews-ut-ar-202201.avi.deltares.nl/deltares-archive-server/</catalogueUrl>
	<elasticSearchUrl>https://fews-ut-ar-202201.avi.deltares.nl/deltares-archive-server/elastic</elasticSearchUrl>
	<archiveDatabase>
		<archiveDatabaseUrl>mongodb://server:port/fewsarchive?authSource=admin</archiveDatabaseUrl>
		<user>myuser</user>
		<password>mypass</password>
		<pluginClass>nl.fews.archivedatabase.mongodb.MongoDbArchiveDatabase</pluginClass>
		<pluginFactoryMethod>create</pluginFactoryMethod>
	    <openDatabasePluginPanelBinDir>d:\mongdb-plugin\</openDatabasePluginPanelBinDir>
	</archiveDatabase>
</archives>


The archiveDatabaseUrl and the username and password are dependend on your own system setup. If you use the MongoDB-plugin then you should use the pluginClass and pluginFactoryMethod as shown in the example.

The binDir is optional. You can configure a custom directory to install the jar-files of the plugin in. If you dont configure a custom pluginDir then you should located the plugin-jar in the same directory as the FEWS-jars.

The plugin can be provided by Deltares on request.